[webrtc-pc] Pull Request: Define how to create RTCRtpSender/Receiver/Transceiver and let addTrack use them

adam-be has just submitted a new pull request for 
https://github.com/w3c/webrtc-pc:

== Define how to create RTCRtpSender/Receiver/Transceiver and let 
addTrack use them ==
Fixes: #369

This change adds steps to:
* create an RTCRtpSender with a track and streams
* create an RTCRtpReceiver with a kind (and id)
* create an RTCRtpTransceiver with a sender and a receiver

addTrack() uses these steps to create a new RTCRtpTransceiver (with a 
sender) if no existing sender could be matched. It also adds some text
 about configuring a matched sender (transceiver). The steps above can
 easily be extended to support the remote media case as well, for 
example by adding an mid "argument" to the 'create an 
RTCRtpTransceiver' steps.

Rendered preview: 
http://rawgit.com/adam-be/webrtc-pc/create-rtp-stuff/webrtc.html#dom-rtcpeerconnection-addtrack

See https://github.com/w3c/webrtc-pc/pull/702

Received on Tuesday, 14 June 2016 07:04:58 UTC