[Webkit-unassigned] [Bug 132855] New: [MediaStream] getUserMedia throws DomException always

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 13 00:03:09 PDT 2014


           Summary: [MediaStream] getUserMedia throws DomException always
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: praveen.j at samsung.com

<!DOCTYPE html>
        function getUserMedia(dictionary, callback) {
          try {
            navigator.webkitGetUserMedia(dictionary, callback, error);
              } catch (e) {
            alert('webkitGetUserMedia threw exception :' + e);

        function error() {
                      alert("webkitGetUserMedia threw error");

        function sourceCallback(sources) {
                      alert('got sources' + sources[0].sourceId);

        function gotStream(stream) {
          // Disable the audio track => should mute output.
          var audioTracks = stream.getAudioTracks();


        getUserMedia({audio:true}, gotStream);


Above test content will always throw Domexception with "NotSupportedError" message. However, the same case works fine when it is run as a layout test case.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list