kbumsik / opus-media-recorder

MediaRecorder polyfill for Opus recording using WebAssembly
http://kbumsik.io/opus-media-recorder/
Other
312 stars 39 forks source link

Safari: Strong background noise in OGG #24

Open Ajaxy opened 4 years ago

Ajaxy commented 4 years ago

Hi there. Thanks for this polyfill, it's great!

However, in Safari there is strong background noise in audio recorded with audio/ogg;codecs=opus.

It goes well with polyfill in Chrome (and with native one in Firefox). Is there a chance to fix it somehow?

Also, the demo does not work in Safari, because webkitAudioContext should be used there instead of AudioContext.

Thanks!

kbumsik commented 4 years ago

Hi, sorry for the long delay. If you are still interested in this issue, could you tell me if the affected OS is macOS? Because I am using iOS iPhone and iPad but I don't experience the noise.

Ajaxy commented 4 years ago

Hi! It only affects macOS. Fine on iOS for me too.

kbumsik commented 4 years ago

Thanks for the quick response. It's so weird that iOS and macOS Safari have different behavior. Unfortunately I don't have any macOS devices to test and debug right now. I will try it with my friend's macbook in a couple of weeks but I don't guarantee.

At least I got a good excuse to borrow/steal my friend's leftover macbook air :D

Ajaxy commented 4 years ago

Ok, thanks. I ended up with opus-recorder from npm so far.