RecordRTC Audio into Ogg Chrome
See original GitHub issueHi !
First thanks a lot for all the work done.
When I use RecordRTC demo in Chrome (v 43.0.2357.81 - 64bits) with Audio into OGG selected, the downloaded file is in WAV format.
Is that normal ? Is it possible to record audio in OGG with Chrome ?
I tried to set the options like this :
var options = {
mimeType : 'audio/ogg',
bitsPerSecond: 128000
};
But this is not working…
Regards
Issue Analytics
- State:
- Created 8 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Record as Ogg using MediaRecorder in Chrome
However, here are some libraries that help you record to ... be submitted to DialogFlow, since it requires Opus audio to have a...
Read more >Problems with RecordRTC ogg files to Audacity - Moodle.org
I downloaded my user's online submission audio files from Chrome and FF: the file types are ostensibly .ogg but actually, they're WebM. Thanks ......
Read more >Audio+Video+Screen Recording using RecordRTC
The audio is distorted exactly after 30 seconds in Mac chrome browser alone. I am using the below parameters to start the recording....
Read more >RecordRTC: Home
RecordRTC is a server-less (entire client-side) JavaScript library can be used to record WebRTC audio/video media streams. It supports cross-browser ...
Read more >Record to an Audio File using HTML5 and JS - nick's blog
Example. Here is the "simplest" way to record, play and download audio in Chrome (this also works in Firefox but ogg format is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Regarding CODECS:
PS: H.264 coming soon.Regarding CONTAINER_FORMATS,
audio/webm,video/webm,video/webm;codecs=vp8andvideo/webm;codecs=vp9audio/webm,audio/ogg,video/webm,video/mp4andvideo/webm;codecs=vp8Regarding BITRATES:
So you’ll always get
audio/webmin Chrome rather thanaudio/ogg. You can change the file-extension (mp3/ogg) or file-type (audio/mp3 or audio/ogg) however Audio_RAW_DATA headers will be usingaudio/webmNowadays both Chrome+Firefox are accepting
audioBitsPerSecond,videoBitsPerSecondas well asbitsPerSecondoptional values (as 2nd-parameter over MediaRecorder API).Tested on
Windows 10 + Chrome 55 and Firefox 50
Media Stream options
type: “audio”
As a workaround change that part in RecordRTC.js
Firefox will record in audio/ogg Chrome will record in audio/webm
Pull request
How many previous version we want to support in this lib? Chrome 46, 47-48, 49… ? I think it’s better to check for MediaRecorder type support than specific version of Chrome like version 49 in isMediaRecorderCompatible(). ref: https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/isTypeSupported