Pion WebRTC v3.0.0-beta.9 Release Notes

Release Date: 2020-10-20 // 5 months ago

Previous changes from v2.2.0

  • ๐Ÿš€ After 5 months of work (and lots of distraction) the Pion team is excited to announce the release of v2.2.0!
    ๐Ÿš€ This release includes.

    ๐Ÿ†• New Features

    ๐ŸŽ DataChannel Performance Improvements

    ๐ŸŽ Thanks to hard work by @enobufs Datachannels have gotten a huge performance improvement. In some cases you will see a 16x improvement in throughput. You can read more about his fantastic work here

    ๐Ÿ‘ Extend SettingEngine to support SFU use cases

    ๐Ÿ— Pion WebRTC is seeing lots of usage in building SFUs. To support this the SettingEngine has been extended to add even more options. You now have the following flags you can configure

    • ๐Ÿ‘ SetEphemeralUDPPortRange You can limit the range of UDP ports used to support restrictive networks
    • SetInterfaceFilter You can exclude some interfaces from being used.
    • SetNAT1To1IPs Allows you to set a static IP to replace all host candidates. Useful if you are behind a DNAT, and don't want to make a STUN request for each PeerConnection.
    • ๐Ÿ”ง SetNetworkTypes You can blacklist TCP, UDP, IPv4 or IPv6. Useful if you know certain configurations will never work.
    • SetLite Enables ICE lite, a minimal version of the ICE protocol. Reduces complexity in situations where full ICE isn't needed like a publicly routeable SFU.

    Thank you @seppo0010, @AeroNotix, @enobufs and @trivigy for your work on this

    ๐Ÿ‘ TCP TURN Support

    ๐Ÿ‘ Pion WebRTC now supports creating allocations via UDP, TCP and TLS. Implemented by @enobufs

    ๐Ÿ‘ PCM Support

    ๐Ÿ‘ Pion WebRTC now supports sending and receiving PCM.

    Renegotiation

    ๐Ÿšš You can now Add/Remove tracks at anytime, and renegotiate! We have add a new minimal example called play-from-disk-renegotation that demonstrates this behavior. This example allows you to play a video back from disk multiple times, and you can stop the individual instances at any time!

    โž• Add IVFReader

    We now have a Go implementation of an .ivf Demuxer. This allows users to easily playback files from disk. Pion also provides an IVFWriter, so you could easily save a file to disk and play it back later. Implemented by @justinokamoto

    ๐Ÿ‘ VP9 Support

    You can now send and receive VP9. Implemented by @at-wat

    ๐Ÿš€ Next Release

    ๐Ÿ›  The next release will contain lots of bugfixes and other improvements, but the general goals for the next 6 months are.

    ๐Ÿ‘ Better Stats

    ๐Ÿš€ Pion WebRTC is seeing lots of usage for load testing and measuring WebRTC servers. We are going to work on implement as many webrtc-stats as possible, after that we are going to explore building a framework on top of the PeerConnection API that makes load testing easier. We also want to make it easier to measure things in production, have an application that is easy to build deploy to production that can measure how your service is behaving will help a lot of users.

    ๐Ÿ‘ Better Media

    0๏ธโƒฃ Pion WebRTC lacks a in-tree JitterBuffer and Congestion Control. Users like ion right now have to implement it themselves. In the future Pion WebRTC will allow users to pass their own implementations (because they know their needs best), but provide some default implementations.

    ๐Ÿ‘ Better Performance

    ๐Ÿ‘ท We are going to start measuring allocations, create real benchmarks and working on getting them better. We then need to add these benchmarks to CI and make sure they never regress.