WebRTC samples createOffer() output

This page tests the createOffer() method. It creates a peer connection, then prints out the SDP generated by createOffer(), with the number of desired audio MediaStreamTracks and the checked constraints. Currently, only audio tracks can be added, as there is no programmatic way to generate video tracks. (Web Audio is used to generate the audio tracks.)

1
View source on GitHub