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

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