W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > April 2017

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

From: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
Date: Tue, 18 Apr 2017 22:42:26 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-295005539-1492555345-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:40 UTC