Closed Bug 1238904 Opened 8 years ago Closed 8 years ago

Unable to access devices after GUM request for screen share

Categories

(Core :: WebRTC, defect)

44 Branch
x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1224766

People

(Reporter: balwant.bisht, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:44.0) Gecko/20100101 Firefox/44.0
Build ID: 20160104162232

Steps to reproduce:

1) Access screen using GUM and select "not now" in Firefox screen selection dialog
2) Try to access camera & microphone using GUM

Test Code

<video id="video1" height="120" width="160" autoplay></video>
<video id="video2" height="120" width="160" autoplay></video><br>
<button onclick="start()">Start SS!</button><div id="div"></div>
<button onclick="start2()">Start Devices!</button><div id="div"></div>
<script src="https://webrtc.github.io/adapter/adapter-latest.js"></script>
<script>

var gUM = constraints => navigator.mediaDevices.getUserMedia(constraints);

var start = () => gUM({ video: { mediaSource: "screen" } })
  .then(stream => (video1.srcObject = stream))
  .catch(e => log(e));

var start2 = () => gUM({ video: true, audio:true})
  .then(stream => (video2.srcObject = stream))
  .catch(e => log(e));

var log = msg => div.innerHTML += "<br>" + msg;
</script>



Actual results:

GUM returning the following error while accessing camera & microphone

"NotFoundError: The object can not be found here."


Expected results:

Firefox should display Camera & Microphone selection dialog
Version: 43 Branch → 44 Branch
OS: Unspecified → Mac OS X
Hardware: Unspecified → x86_64
jib: is this related to a bug we recently fixed with multiple GUM requests?
Flags: needinfo?(jib)
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Flags: needinfo?(jib)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.