Closed Bug 1263511 Opened 9 years ago Closed 9 years ago

MediaStreamTrack.label is always an empty string and never the source label

Categories

(Core :: WebRTC, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 866513

People

(Reporter: adam, Unassigned)

Details

In Chrome the label of the MediaStreamTrack is the same as the label of the source eg. "Internal microphone" or "External USB Webcam". In Firefox however this value is always an empty string. I see that in the spec they say: "User Agents may label audio and video sources (e.g., "Internal microphone" or "External USB Webcam"). The MediaStreamTrack.label attribute must return the label of the object's corresponding source, if any. If the corresponding source has or had no label, the attribute must instead return the empty string." https://www.w3.org/TR/mediacapture-streams/#dom-mediastreamtrack-label Do you plan on implementing this in Firefox or is there some other way to determine which device was selected by the user?
This was fixed in Firefox 46.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.