W3C home > Mailing lists > Public > public-webrtc@w3.org > May 2016

[webrtc-pc] Custom id/label for tracks

From: Miguel París via GitHub <sysbot+gh@w3.org>
Date: Tue, 10 May 2016 12:18:15 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-153992300-1462882694-sysbot+gh@w3.org>
mparis has just created a new issue for 

== Custom id/label for tracks ==
I think that it would be quite interesting allow  the app can add a 
custom id or label to tracks, and that this info is exposed in the SDP
 to create the track of the RtpReceiver of the remote peer instead of 
doing the step 4.4 in [1]

The idea is that apart from the MSID (that is usually an UUID without 
any meaning) the app can add useful info about this track, as for 
example: "front_camera", "back_camera", "screen_share", 
"laptop_microphone", etc.

I see that in the Media Capture description the MediaStreamTrack 
object has a _label_ attribute [2] that almost match with my idea, the
 only problem is that it is readonly, so it cannot be customizable by 
the app.

In addition, I exposed the same problem in discuss-webrtc [3]

[3] https://groups.google.com/forum/#!topic/discuss-webrtc/5ZNpqvZHn9E

Please view or discuss this issue at 
https://github.com/w3c/webrtc-pc/issues/628 using your GitHub account
Received on Tuesday, 10 May 2016 12:18:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:16 UTC