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

[webrtc-pc] What happens if you set a remote description with two tracks with the same ID?

From: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
Date: Mon, 26 Jun 2017 14:55:26 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-238570111-1498488924-sysbot+gh@w3.org>
taylor-b has just created a new issue for https://github.com/w3c/webrtc-pc:

== What happens if you set a remote description with two tracks with the same ID? ==
This is possible even without SDP munging today:

```
sender1 = pc.addTrack(trackA);
// Do offer/answer.
sender1.replaceTrack(trackB);  // Still uses ID "A"; replaceTrack doesn't affect signaling.
sender2 = pc.addTrack(trackA);
```

Why would you do this? I don't know. But what should happen on the remote side? Do you get two tracks with ID "A"?

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1424 using your GitHub account
Received on Monday, 26 June 2017 14:55:32 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:51 UTC