[Webkit-unassigned] [Bug 175760] New: Audio track from getUserMedia has empty label

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 20 21:58:56 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=175760

            Bug ID: 175760
           Summary: Audio track from getUserMedia has empty label
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Macintosh
                OS: macOS 10.12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aiham at tokbox.com

Audio tracks retrieved via getUserMedia have an empty label.


Run this:

  navigator.mediaDevices.getUserMedia({ audio: true, video: true })
    .then(stream => console.log(stream.getTracks().map(track => track.label)))

Expectation: ["Built-in Microphone", "FaceTime HD Camera"]
Actual result: ["", "FaceTime HD Camera"]



My devices all have labels.

When I run this:

  navigator.mediaDevices.enumerateDevices()
    .then(devices => console.log(devices.map(device => device.label)));

I get: ["Built-in Microphone", "Built-in Output", "FaceTime HD Camera"]



Observed while using:
  macOS Sierra 10.12.6 (16G29)
  Release 37 (Safari 11.1, WebKit 12605.1.2)
  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/605.1.2 (KHTML, like Gecko) Version/11.1 Safari/605.1.2

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170821/a8d4bb0e/attachment-0001.html>


More information about the webkit-unassigned mailing list