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

SimpleWebRTC: consume video when peer machine has no webcam and microphone

I am using SimpleWebRTC to create a video chat room application. One of the requirements is, a peer machine that has no microphone and webcam, should atleast be able to hear and see the video of other peers. Is it possible to do? I tried this using…
0
votes
1 answer

What is the reason getUserMedia has the same id and label

I am playing with getUserMedia. Code is super simple: navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia; var video = $('#video')[0]; navigator.getUserMedia({ audio:…
Salvador Dali
  • 214,103
  • 147
  • 703
  • 753
0
votes
1 answer

GetUserMedia Callback Undefined

I am new to JavaScript and I am trying to make an online audio recorder using the getUserMedia API. The problem that I am having is that whenever I try to call navigator.getUserMedia, I am getting an error that the success callback function is…
0
votes
0 answers

Is there a (scalable) way to live stream audio and video captured using getUserMedia?

I know there is WebRTC for peer to peer streaming, but It wouldn't scale well when lots of users join the same room. So is it possible to capture user media and send it the server that broadcasts it to other participants in the room ? ( or any other…
badanomaly
  • 93
  • 1
  • 2
  • 5
0
votes
1 answer

how to synchronized getUserMedia callbacks in a Singleton

I'm using a Singleton to get an audio recorder but getUserMedia is asynchronous and I must wait the callbacks end to return the recorder object. It's probably not a good choice to mix synchronous and asynchronous but I don't see how I can do because…
samidarko
  • 590
  • 7
  • 20
0
votes
1 answer

Is WebRTC GetUserMedia() broken in Firefox 28?

On this HTML5Rocks WebRTC Demo page If i open any of the demos in firefox or chrome i get this error: getUserMedia() not supported in your browser When i check: http://caniuse.com/stream It should be working from Chrome 21+ and FF 17+ Interestingly…
deweydb
  • 2,238
  • 2
  • 30
  • 37
0
votes
1 answer

How to Reduce wav File-size created by Recorder.js

I am using recorder.js to upload user's audio files on our server. This is working in chrome and firefox both..But our audio file will be around 1 minute and for 1 minute audio file its generating approx 8 MB file which is too large to upload on…
aagrawal
  • 45
  • 7
0
votes
1 answer

no remote video if localstream has no video webrtc

I'm currently experiencing a problem that a client who has audio but no video can't receive the remote clients video (even though the remote client is capturing both audio and video). Video and audio constraints are set to true on both clients. The…
0
votes
2 answers

WebRTC: Cannot do Peer to Peer connection. Browser Does not ask to Grant permission for Microphone/ Webcam

I am trying to make a 2 person video calling application using WebRTC. The code seems to be bug free, the only problem I am having is that the browser is not asking a prompt to allow for access to Webcam and Mic. I have hosted the website here and…
FlyingAura
  • 1,541
  • 5
  • 26
  • 41
0
votes
1 answer

RecordRTC isn't working perfectly

I would like to dive into WebRTC, particular audio recording. So I tried this DEMO and the first problem arose: when I record in the latest Google Chrome I always hear a high-pitched buzzing sound in the background which is very annoying and…
Retador
  • 223
  • 1
  • 3
  • 11
0
votes
1 answer

Improve performance in converting video blob to gif

I have a program(Here) that converts a video blob into a gif using getusermedia. To take advantage of library (GIFEncoder) that let's me convert canvas frames into frames of a gif, I am first drawing the vide blob to the canvas using ctx.drawImage…
bren
  • 4,176
  • 3
  • 28
  • 43
0
votes
1 answer

HTML5 getUserMedia() for multiple microphones

Is there any way that we can use getUserMedia() of HTML5 to take audio input from a specific microphone, and not just the default one?
wrahool
  • 1,101
  • 4
  • 18
  • 42
0
votes
0 answers

Disable back button or set back button to close app on android

Hi I am making a program that uses Google chrome to open my android camera. i need to know how to close the chrome completely when the user presses the back button or else disable the use of the back button when on chrome. this is my code. I would…
0
votes
1 answer

How to setup sequential independent recordings with webAudio-API

No problems to record the microphone, connect the analyzer for a nice vu-meter, re-sample the massive amount of data to something we can handle (8Khz, Mono) using 'xaudio.js' from the speex.js lib and to wrap it into an appropriate WAV…
0
votes
2 answers

Can I use webrtc in TideSDK?

I want to use latest HTML5 features in my Tidesdk app like getusermedia, webrtc etc for screen sharing and sip calling? can anyone help regarding this? or any idea how can we do this?
Akhilesh Singh
  • 173
  • 1
  • 8