MediaStreamRecorder icon indicating copy to clipboard operation
MediaStreamRecorder copied to clipboard

Optimizing Audio for Chrome with OGG

Open yogaboy opened this issue 8 years ago • 0 comments

I've played with recording components for media streams and found that when taking audio samples into a Blob with Chrome I was able to define this blob with 'audio/ogg' instead of 'audio/wav' and it magically converted the source wave data to OGG and greatly improved the compression for uploading audio clips.

I'm not sure as I need to dig into the code here more, but wonder if this is a possible enhancement to the project. For me it was a massive improvement in overall file size and made my solution viable.

Happy to dig into code and contribute if desired.

yogaboy avatar Aug 29 '16 15:08 yogaboy