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
0 answers

Facial recognition with props in PHP lagging when changing props

I found a facial recognition library with props but wanted for it to be able to change props that you use instead of only one prop. I put the function of face.html inside a onclick function where you send the src and it will make the camera with…
jhdj
  • 631
  • 1
  • 14
  • 26
0
votes
1 answer

getUserMedia permission denied after clicking the "allow" button

I'm trying to use the navigator.getUserMedia() and as expected on my webpage (or for example https://apprtc.appspot.com/) I'm asked to allow or deny access to my webcam/microphone. But after I click "allow" nothing happens and on my log I can…
calude
  • 333
  • 2
  • 9
0
votes
1 answer

How do I play a video file after selecting a video on my iPhone via getUserMedia in mobile Safari?

To anyone who can help, I'm at my wit's end and can't figure out how to play a tmp video file from my iphone. I'm using getUserMedia and I can save the file to my database and play it after upload. However, I'd like to preview a video before…
0
votes
1 answer

can we store LocalMediaStream locally?

in WebRTC , getUserMedia() gives you a MediaStreamObject - LocalMediaStream. HTML5ROCKS has a tutorial in which you can relay the camera. Is it possible to store the LocalMediaStream in localstorage & then pass on the raw bytearray data to the…
fineTuneFork
  • 683
  • 7
  • 21
-1
votes
1 answer

MediaRecorder.start() failing without errors on Ios Chrome and Safari. Working on desktop chrome / ff

I have a mobile website that takes a few pictures (environment cam) and records a short video (user cam). On desktop, everything works fine. On mobile, the camera feed is shown on both chrome and Safari. Taking pictures also works, but when I try to…
Martijn Deleij
  • 91
  • 1
  • 16
-1
votes
2 answers

How to call a Jquery function in Ajax callback

I have Two different file I am calling a jquery Function which is created in my File2.js from file1.php #file1.php In my first file I am calling a Jquery Function in ajax
Deepak pal
  • 61
  • 8
-1
votes
1 answer

Record (and stop) an already running Webcam/Media Stream

I’ve created a minimal WebRTC test site that is able to request the user’s webcam/audio stream, to record it, and to playback the recording after it has been stopped. Demo: https://output.jsbin.com/tabosipefo/ Edit1:…
Kalaschnik
  • 769
  • 1
  • 7
  • 21
-1
votes
1 answer

wait on async fuction +

I want to get the last deviceId. Please try the following code on a smartphone. https://www.ofima.ch/file1.html Inside the function "getConnectedDevices" the variable deviceId ok. But outside is returned a promise and not the variable deviceId. How…
mrezzonico
  • 21
  • 3
-1
votes
3 answers

How to change the value of a variable using input field?

I have created a wordpress website. I want to extract each user's data using php through his/her id. I have created this code;
Axmed nuur
  • 117
  • 2
  • 16
-1
votes
1 answer

getUserMedia throws "Use of undefined constant..."

I've recently migrated my website to PHP 7.3. There is an input box where I allow the user to upload a picture using their media device. Since upgrading, I get a few "Use of undefined constant..." errors. Here is the PHP code: function…
-1
votes
1 answer

DOMException when calling getUserMedia using React

I am building a web application for mobile. I am trying to access the camera using getUserMedia in google chrome. My application is built in react and i am having issues when trying this, giving me the following error. Error: DOMException import…
Kay
  • 17,906
  • 63
  • 162
  • 270
-1
votes
1 answer

Video stream is paused in iOS Safari 11 WebRTC/getUserMedia when in background?

It appears that Safari 11 on iOS will pause the video capturing during a WebRTC session when the browser/tab is moved into the background; meaning the remote client will just see a black image unless the video capturing browser tab is currently in…
deceze
  • 510,633
  • 85
  • 743
  • 889
-1
votes
1 answer

cordova-plugin-crosswalk-webview and I'm getting navigator.getUserMedia is not a function

I am developing an ionic WebRTC app using cordova-plugin-crosswalk-webview and I'm getting navigator.getUserMedia is not a function when running on the android device any idea why? navigator.getUserMedia({audio: true, video: true}, …
Hdia Saad
  • 1
  • 2
-1
votes
1 answer

Get back video format after

Is there way to get the video from webcamera (getUserMedia), pass it to canvas, make some effects with this video and get back in video format (mp4 for example)? I'm looking for a way to be done on client side only. And also it should be a real time…
-1
votes
2 answers

Ring Buffer - Web Audio API

I want to make an application that stores (since opened) the last 2 or 3 seconds from the current moment (until is closed). Is it possible with any of this…
1 2 3
73
74