Comments (4)
also share some hacks in firefox to prevent g/c cut the recording:
navigator.getUserMedia({audio: true},
function (stream) {
// by set the stream as global variable
// will stop firefox cut the recording...
window.__FIREFOX_HACK_RECORDER_JS__ = stream
// ...
},
function (error) {
// ...
}
)
such as:
diff --git a/example_simple_exportwav.html b/example_simple_exportwav.html
index f2ab89d..f3a36b4 100644
--- a/example_simple_exportwav.html
+++ b/example_simple_exportwav.html
@@ -34,6 +34,7 @@
var recorder;
function startUserMedia(stream) {
+ window.__FIREFOX_HACK_RECORDER_JS__ = stream;
var input = audio_context.createMediaStreamSource(stream);
__log('Media stream created.');
from recorderjs.
For the g/c problem I just dropped the "var" declaration on the input in the startUserMedia function (making it global). I don't think that was intended to be locally scoped? Could be an issue in more than just firefox.
from recorderjs.
indeed that's a firefox bug, this is just a work around =]
from recorderjs.
any update on this? (nearly 1 year since issue was opened)
from recorderjs.
Related Issues (20)
- How can I get the blob file (i.e recorder voice) to send the server HOT 11
- Can I stop a recording depending on when the user has stopped speaking (Auto pause detection) HOT 4
- Uncaught ReferenceError: s is not defined HOT 2
- It doesn't work in window7 chrome 71.0.3578.98 HOT 11
- I had the same problem,Can you show your code?I fix this bug
- WAV is too large. Is there any other type supported? HOT 4
- How to implement this into a non-nodejs frontend HOT 1
- Recording Content with Frequencies > 15000 Hz
- 500 error
- trying to record 30min of voice on my Android app and I get a 29min57s recording HOT 2
- After using microphone, <audio> playback is not emitted through the loudspeaker on iOS Safari
- Distortion when recording continuous sounds
- Limiting to One audio recording
- Link to forks is a flash installer scam site HOT 5
- Start/Stop Sharing button is not triggered in Screen Sharing VideoJs-record in Angular 10
- The ScriptProcessorNode is deprecated. Use AudioWorkletNode instead HOT 4
- Want to downgrade quality of audio(Overall Bit rate) from 512kbps to 256 kbps in .wav format
- Recorder is not defined issue i'm getting HOT 1
- Audio signal drops in audio recording using webaudioapi and recorder.js
- Link to popular forks is serving malware :( HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recorderjs.