-
Notifications
You must be signed in to change notification settings - Fork 1
Record audio from microphone #13
Comments
@cvan yep, we can save static files to Firebase too :) @brianchirls I'd use https://github.com/mido22/recordOpus or https://github.com/muaz-khan/RecordRTC/ |
I'd also check out https://webaudiodemos.appspot.com/AudioRecorder/index.html |
@cvan FYI opus playback doesn't work in Safari or (I think?) Edge/IE. And it's broken in Chrome until at least mid-march release of v57. https://bugs.chromium.org/p/chromium/issues/detail?id=482934 |
I actually didn't know that Opus isn't supported in Safari. It seems Edge is supported. Hmm, what exactly in https://bugs.chromium.org/p/chromium/issues/detail?id=482934 affects Opus playback? I've seen Opus work in Chromium; do you have examples that don't work? |
@cvan The problem with Chrome is that you can't play Opus using Web Audio API - only in an |
Yikes, that's quite a big bug, especially considering that Chromium doesn't support a whole bunch of proprietary codecs. |
- Set up module for recording audio and all events - Set up microphone - Record to memory
getUserMedia
(newMediaDevices
API)@cvan do you know if we can save these to the Firebase account? Or do we need another server we can upload to?
@cvan Do you know if there's a server somewhere that can re-encode these files to AAC, vorbis and/or Opus? I'm not sure if we can reliably do that on the client without messing with a massive emscripten module.
The text was updated successfully, but these errors were encountered: