Re: [webrtc-pc] example 13: getReceivers semantics

> So in the common case of both sides doing addStream/Track/Transceiver before connecting, neither stream.id nor track.id will match anymore, right?

Calling `addTrack` on both sides before connecting is very different than calling `addTransceiver` on both sides. If you call `addTransceiver` on both sides before creating an offer, you'd end up with two offer/answer exchanges and two m= sections.

But otherwise, you're right. `track.id` wouldn't match the SDP, though `stream.id` would (if we're talking about the stream created from the SRD call and fired in the `"track"` event).



-- 
GitHub Notification of comment by taylor-b
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1128#issuecomment-295005539 using your GitHub account

Received on Tuesday, 18 April 2017 22:42:34 UTC