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

The uniqueness of track IDs?

From: Henrik Boström <hbos@google.com>
Date: Tue, 3 Oct 2017 10:14:27 +0200
Message-ID: <CAEbRw2wekWQJgSLshL2e0St0HpYhju2BjFJ7X8FnDVV1qA_jjg@mail.gmail.com>
To: public-webrtc@w3.org
When setting a remote description containing audio and video tracks with
the same ID, what is the expected behavior?
Is this OK, and you have two tracks with the same ID, or should it be

I've previously realized IDs aren't unique in the sense that you can add,
remove, and then add again with the same ID and end up with multiple track
or stream objects with the same ID, but I had thought that amongst streams
and tracks currently in-use the IDs would be unique.

Should the audio and video track IDs be considered separate domains? Or
should I simply make no assumptions about the uniqueness of track IDs?

I'm investigating a crash related to audio and video having the same ID.
Received on Tuesday, 3 October 2017 08:14:50 UTC

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