recording

Ask for microphone on onclick event

徘徊边缘 提交于 2019-12-06 04:31:07
问题 The other day I stumbled upon with this example of a Javascript audio recorder: http://webaudiodemos.appspot.com/AudioRecorder/index.html Which I ended up using for implementing my own. The problem I'm having is that in this file: var audioContext = new webkitAudioContext(); var audioInput = null, realAudioInput = null, inputPoint = null, audioRecorder = null; var rafID = null; var analyserContext = null; var canvasWidth, canvasHeight; var recIndex = 0; /* TODO: - offer mono option - "Monitor

Use getusermedia media devices in reactJS to record audio

对着背影说爱祢 提交于 2019-12-05 19:08:56
Hi all I try to implement getUserMedia in my reactJS application to record audio. I struggle to link my mediaRecorder this.state object to the state changement, and make the media devices API get the function I need to provide my application. When I click on "start the record" on my view, my console return me : TypeError: this.state.mediaRecorder.start is not a function 48 | startRecord() { 49 | 50 | 51 | this.setState({mediaRecorder: this.state.mediaRecorder.start()}); 52 | alert("start record function started =, mediaRecorder state : " + this.state.mediaRecorder.state) 53 | console.log( this

How to save blob url data in a directory

狂风中的少年 提交于 2019-12-05 06:46:41
问题 I am working on the audio record. Now I want to save that recorded audio in our local directly. When I record audio it is returning blob URL like: blob: http://example.com/7737-4454545-545445. When I hit this URL it plays recorded audio. Now I am sending that blob URL from js to PHP script to save your local directory but it is not working. How can I do that? 回答1: Blob URL lifetime is linked to document which created Blob URL from Blob or File object. Blob URL cannot be posted to server as

Accessing the output video while recording

半城伤御伤魂 提交于 2019-12-05 05:28:09
问题 In short, I'm looking for a way to get the byte stream from the camera while recording video. The aim is to continuously record while saving certain portions of the current recording without stopping the actual recording process to access the output file. Is this even possible, or will I need to actually stop the recording and save it for it be playable? I've seen projects and open source library's that allow live streaming from the camera to a server via a local socket and the

Store and retreieve blob from sqllite database for android

一个人想着一个人 提交于 2019-12-04 20:20:15
I need to know to define blob data type in eclipse. I am developing an app for android and i want to save image and a recording in database. I know have to use blob as the data type. My question is how do i define it in the class and the DBhandler class. Can someone provide me help with codes. Blob is used to save byte array in sqlite. To convert a bitmap to byte array use following code: Bitmap image = BitmapFactory.decodeResource(getResources(), R.drawable.thumbnail); ByteArrayOutputStream out = new ByteArrayOutputStream(); image.compress(Bitmap.CompressFormat.PNG, 100, out); byte[] buffer

Audio recording with HTML5

拜拜、爱过 提交于 2019-12-04 15:48:32
I'm trying to implement audio recording in a website. Basically the user should be able to press a button and speak something into the microphone. The recorded audio should then be sent to the server for further processing. I realise that you can do this with Flash, but for now I'm trying to avoid that. I found several resources on the internet about it (i.e. link ) but as it seems, this functionality is not widly supported yet. I experienced differences betweet the used browser and between the used operating system. For instance, the Chrome Browser doesn't seem to access any microphone on

Ask for microphone on onclick event

淺唱寂寞╮ 提交于 2019-12-04 10:03:10
The other day I stumbled upon with this example of a Javascript audio recorder: http://webaudiodemos.appspot.com/AudioRecorder/index.html Which I ended up using for implementing my own. The problem I'm having is that in this file: var audioContext = new webkitAudioContext(); var audioInput = null, realAudioInput = null, inputPoint = null, audioRecorder = null; var rafID = null; var analyserContext = null; var canvasWidth, canvasHeight; var recIndex = 0; /* TODO: - offer mono option - "Monitor input" switch */ function saveAudio() { audioRecorder.exportWAV( doneEncoding ); } function drawWave(

When to use “Follow Redirects” & “Redirect Automatically” while recording with jmeter.

梦想与她 提交于 2019-12-04 01:32:08
I want to know the difference between Follow Redirects and Redirect Automatically while recording with Jmeter. Also what effect will both these have when used with Retrieve all Embedded Resources from HTML Jmeter PerfTest Redirect automatically , will not consider redirect as a separate request where as Follow redirects will consider each redirection as a separate request. This difference can be visualized in the Listener (View Results Tree). If Retrieve all Embedded Resources from HTML is checked, it will give you Page Load Time , since apart from response time it will keep on calculating the

Accessing the output video while recording

让人想犯罪 __ 提交于 2019-12-03 20:26:12
In short, I'm looking for a way to get the byte stream from the camera while recording video. The aim is to continuously record while saving certain portions of the current recording without stopping the actual recording process to access the output file. Is this even possible, or will I need to actually stop the recording and save it for it be playable? I've seen projects and open source library's that allow live streaming from the camera to a server via a local socket and the ParcelFileDescriptor class, so I assume (maybe incorrectly) that the recorder byte stream must be accessible somehow.

Extract/Record Audio from HLS stream (video) while playing iOS

一笑奈何 提交于 2019-12-03 10:29:51
问题 I am playing HLS streams using AVPlayer. And I also need to record these streams as user presses record button. The approach I am using is to record audio and video separately then at the end merge these file to make the final video. And It is successful with remote mp4 files. But now for the HLS (.m3u8) files I am able to record the video using AVAssetWriter but having problems with audio recording. I am using MTAudioProccessingTap to process the raw audio data and write it to a file. I