bvibber / ogv.js

JavaScript media player using Ogg/Vorbis/Theora/Opus/WebM libs compiled with Emscripten

Home Page:https://brooke.vibber.net/misc/ogv.js/demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Opus sounds distorted in Safari (iOS)

peracc opened this issue · comments

Good evening.
I used this library in my React project for a while, but now I'm facing a problem.
The problem occurs in Safari on iOS (haven't tested on Mac due to lack). I have some voice recordings (in .opus format) which are "croacking" when a word in the record ends (for ex. word "hello" sounds "hell.." and then it just croaks like something is wrong with the speaker). The problem occurs not only while playing via speaker, but via airpods too.

Tried updating to v 1.7.0 and public source files, but with no luck.

Okay, the problem wasn't really with the ogv.js, the problem was with the nosleep.js.
Still, the audio on any device sounds a bit distorted, kinda 'metallic'

(I'll keep an eye out when doing fixes on the audio layer. Could be an issue with resampling if the output device is set at 44.1 kHz)