Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Prior to version 15, Asterisk had no explicit interface for streams and simply had a single pipe that frames are written to and read from. The negotiated formats are scoped to the entire channel as a result. Interfaces that needed to manipulate media had to inject themselves into this single pipe and had to take special care to not manipulate frames they do not need to. This same pipe also carries control frames and other signaling related operations.  The result was a very loose stream implementation.  For Asterisk 15, the stream concept has been codified with a new set of capabilities designed specifically for manipulating streams and stream topologies that can be used by any channel driver.


To simplify configuration for users a new option, webrtc, has been created which controls configuration options that are required for WebRTC. If the webrtc option is set to "yes" then all options required for WebRTC are enabled. This does still require that DTLS certificates be manually created and configured.

BUNDLE support has been added which improves call setup time. BUNDLE allows multiple streams (for example audio and video) to use the same underlying transport. Since in WebRTC a transport has to go through ICE negotiation and DTLS negotiation this reduces each of those to only happening once. If additional streams are added to a call this also removes the need to do ICE negotiation and DTLS negotiation allowing the media to flow immediately.

Bundled pjproject

Starting with Asterisk 15, the bundled version of pjproject will be used by default.  To use an external (or no) pjproject, add the --without-pjproject-bundled option to your ./configure command line.  Some enhancements were made to the download process to make it easier to use the bundled pjproject on a build machine with no internet access.  See PJSIP-pjproject for more information.