[webrtc-pc] Custom id/label for tracks

mparis has just created a new issue for 
https://github.com/w3c/webrtc-pc:

== Custom id/label for tracks ==
Hello,
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]

Refs
[1] 
http://w3c.github.io/webrtc-pc/#processing-remote-mediastreamtracks
[2] 
https://w3c.github.io/mediacapture-main/#widl-MediaStreamTrack-label
[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