Questions tagged [getusermedia]

Access to media data streams--webcam video, microphone audio--from browser Javascript. Abbreviated gUM

getUserMedia provides access to data streams from media devices such as webcams and microphones. It is used from Javascript running in a user's web browser. It supports the development of front-end web application code for capturing media.

Support varies from browser to browser and device to device. See CanIUse.com for up-to-date information.

getUserMedia forms part of browser-resident WebRTC support (see ). It can be used by itself without establishing WebRTC connections.

getUserMedia is often abbreviated gUM. It's often used in conjunction with MediaRecorder; see .

Further references:

See also:

1098 questions
0
votes
1 answer

Will Windows 10 store applications support getUserMedia()?

Will Windows 10 store applications support getUserMedia() ? I'm currently trying to create a Windows 8.1 application with JavaScript and HTML5 and it does not support the function. Thanks!
Stephen Collins
  • 426
  • 5
  • 15
0
votes
3 answers

How can I add candidate to peerConnection.addIceCandidate() while create a offer

I want to make voice calling with nodejs and webrtc.When I call to other user then getting error'ICE failed, see about:webrtc for more details'. The HTML just contains a button that calls offer(). I can confirm the offer and SessionDescriptions are…
Pardeep Beniwal
  • 63
  • 2
  • 10
0
votes
1 answer

Trying to access webcam in html5: Firefox works, Chrome and Opera don't

I'm trying to access my webcam through javascript. When I use the following minimal example below, I would expect to see at least a popup, asking for permission to access the webcam. This works on Firefox, but not on Chrome or Opera (all latest…
RocketNuts
  • 9,958
  • 11
  • 47
  • 88
0
votes
0 answers

getUserMedia not working on local machine

I am trying to implement getUserMedia to use webcam. But the code is not working in local machine. I have checked it on chrome 43 on Firefox 31. In Firefox, it is prompting request to share and after sharing in console log it is showing a message…
Pranav
  • 446
  • 2
  • 6
0
votes
0 answers

getUserMedia Not working when inside a function

Why is this code not working: videoCallButton.onclick = function() {navigator.getUserMedia(mediaConstraints, handleUserMedia, handleUserMediaError); }; but this one It is: videoCallButton.onclick = navigator.getUserMedia( mediaConstraints,…
0
votes
1 answer

HTML Image Capture and embed image into page - getUserMedia fallback

I'm working on a site that utilizes the getUserMedia to access the user's webcam and display it in the page. For browsers/devices that don't support getUserMedia, I'd like to have an option where the user can take a picture and upload it into the…
iluvpinkerton
  • 3,058
  • 3
  • 14
  • 17
0
votes
1 answer

WebRTC Chrome Camera constraints

I am trying to set the getusermedia video constraints like setting min/max frame-rates and resolutions etc... in my peer.js webrtc application which is a simple peer to peer chat application. I have being trying to integrate it into my application…
WebRTC83
  • 5
  • 4
0
votes
1 answer

navigator.getUserMedia mutes (partially) the other sounds of the computer

navigator.getUserMedia mutes (partially) the other sounds of the computer. What can I do to make it not happen? Some additional parameter?
lukaszpolowczyk
  • 605
  • 1
  • 7
  • 27
0
votes
1 answer

HTML5 getUserMedia is not streaming

I wrote a navigator.getUserMedia() script but it isnt working right. I reused nearly the same lines of code in another test and there it worked. The problem is, that actually the camera is turned on (after given permission) but the stream isnt…
Genmais
  • 1,099
  • 2
  • 9
  • 14
0
votes
1 answer

getUserMedia() not working when loaded with Ajax

Executing navigator.getUserMedia() by regular browser load (not ajax) works fine: