[webrtc-pc] addTrack needs to match media types

ekr has just created a new issue for https://github.com/w3c/webrtc-pc:

== addTrack needs to match media types ==
The current text says
"If an RTCRtpSender exists in connection's set of senders that has 
never been used to send (the corresponding media description has 
always had a direction of recvonly or inactive), then set that 
sender's track to track and return the sender.

Doing so will cause future calls to createOffer and createAnswer to 
mark the corresponding media description as sendrecv or sendonly, as 
defined in [JSEP]."

However, you can't addTrack() an audio track to a video transceiver

Please view or discuss this issue at 
https://github.com/w3c/webrtc-pc/issues/607 using your GitHub account

Received on Friday, 29 April 2016 16:51:40 UTC