getusermedia

HTML5 & getUserMedia - Record Audio & Save to Web Server after Certain Time

跟風遠走 提交于 2019-12-17 18:05:13
问题 I'm having some difficulties with getUserMedia with HTML5 whilst developing my web page. This is the first time I've tried to implement this to record a users audio input. Flash is not an option for this project as it has to be used on mobile devices too. I come here to see if anyone has experience with and knows how to implement an HTML5 with getUserMedia to record a users microphone for a certain amount of time (done with a session in PHP) and then saves and sends the audio file to a web

reprompt for permissions with getUserMedia() after initial denial

房东的猫 提交于 2019-12-17 15:32:14
问题 How do we go about requesting camera/microphone access with getUserMedia() after being denied once? I'm working with getUserMedia to access the user's camera and pipe the data to a canvas. That bit all works fine. In testing, I hit deny once. At this point in Chrome and Firefox, any subsequent requests with getUserMedia() default to the denied state. We obviously don't want to annoy the hell out of our users by requesting permissions for camera/microphone on every page load after being denied

Can I use some sort of local storage as a temporary holding place for getUserMedia for near-RTC?

梦想的初衷 提交于 2019-12-17 13:22:19
问题 I have a use case that doesn't exactly require real time communication, but as close as I can get it to make sure my users don't have to wait forever uploading a file after the fact. Our site allows users to record video and audio that we then store on our server. I moved from flash, because flash, to a WebRTC implementation with a Kurento media server. This works super well with high quality internet connections but is relatively lacking for users with poor connectivity. I was thinking if I

getUserMedia() in chrome 47 without using https

青春壹個敷衍的年華 提交于 2019-12-17 04:28:39
问题 In chrome version 47 they force you to use https to be allow using getUserMedia(). Unfortunately, I can't use https in my whole web, I only use it in the login rest (It a SPA - single page app). So, the address to the web is without https, only the login rest uses ssl. I use this repo with very little changes: https://github.com/Jmlevick/html-recorder My question is if is there any way to use audio recorder in my web app and keep my web address with http and not https? what ideas do you have

Failure to record audio while using webkitSpeechRecognition on Android Chrome [closed]

社会主义新天地 提交于 2019-12-13 21:07:57
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . In Chrome I'm recording audio while running speech recognition. The recording is using AudioRecorder which internally calls getUserMedia . The speech recognition is using webkitSpeechRecognition . On the desktop (Win7 + latest Chrome) it works perfectly. On Android (also latest Chrome) I get an "either or"

Display getUserMediaStream live video with media stream extensions (MSE)

心不动则不痛 提交于 2019-12-13 12:05:53
问题 I am trying to display a MediaStream taken from a webcam using getUserMedia, and to relay it to a remote peer using whatever mechanism possible for it to be played (as an experiment). I am not using webRTC directly as I want control over the raw data. The issue I encounter is that my video element displays nothing, and I don't get any errors back. I am using Chrome Version 51.0.2704.103 (64-bit) on Elementary OS (Ubuntu 14.04 based linux OS). As a sidenote, if I record all the blobs into an

node-webrtc access camera and mic with speaker for webrtc video chat app

我与影子孤独终老i 提交于 2019-12-13 03:41:25
问题 I want to know how to access camera and mic for WebRTC app to stream video and add speaker for audio coming from remote peer. const videoSource = new RTCVideoSource(); const videoTrack = videoSource.createTrack(); const audioSource = new RTCAudioSource() const audioTrack = audioSource.createTrack(); pc.addTrack(videoTrack) pc.addTrack(audioTrack) here my code but not working. please help. 来源: https://stackoverflow.com/questions/56058724/node-webrtc-access-camera-and-mic-with-speaker-for

detecting support for getUserMedia on Android browser fails

左心房为你撑大大i 提交于 2019-12-12 21:47:40
问题 I have a problem when detecting support for getUserMedia. I am using Android 4.2.2. The problem is that the android browser acts as if it have support for getUserMedia but when using it, I neither get a call to the success function nor the fail function. Code below: function onCameraFail(e){ alert("Failed getting media"); } if (navigator.webkitGetUserMedia) { alert("getMedia supported"); navigator.webkitGetUserMedia({video:true}, function (stream) { alert("Got media"); }, onCameraFail); alert

getUserMedia permission dialog disappears in FireFox

久未见 提交于 2019-12-12 19:36:30
问题 When I access getUserMedia, a permission dialog pops up and my website waits until the user either accepts or blocks the request. That part works in Chrome 47. However, in FireFox 43, (at least), when the dialog is visible, the user can click anywhere else and it will disappear and getUserMedia's callback will never be invoked. Then the user can't give permission and my site is stuck waiting. And it is pretty easy to click somewhere else, too, so I'm anticipating lots of "the microphone doesn

URL.createObjectURL for audio blob gives TypeError in Firefox

自古美人都是妖i 提交于 2019-12-12 17:25:54
问题 I'm trying to create a Object URL from an audio blob created from getUserMedia . The code works within Chrome, but there are problems in Firefox. The error: When I call stopAudioRecorder() it stops at audio_player.src = URL.createObjectURL(audio_blob); TypeError: Argument 1 is not valid for any of the 2-argument overloads of URL.createObjectURL. Code: var stopAudioRecorder = function(audio_recorder) { var audio_blob, audio_player, new_recording, save_button; audio_recorder.stopRecording();