-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not working on safari too #8
Comments
Can you provide any demonstration? |
emmm, i receive opus by websocket. i decode opus to pcm by wasm. i use pcm-player play the pcm data, it is fine in chrome. it not working in safari. I feel that Safari can only call the flush interface once, and it will not play the sound for many calls. It is called many times when it is live, so it can not play. |
well, Safari has a buggy implementation of web audio. Though so far I remember it was fine when sampleRate > 22050 |
ok, thanks, my pcm sampleRate is 44100, you can test. |
I have just do some work with Safari several weeks ago ,And here's some experience:
other experience I've come up with can be found in websocket pcm webaudio experience |
If you find a solution, I will appreciate PR. Don't need to post anything else. |
the lib can not play in safari.
sampleRate 44100
live stream by webscocket
The text was updated successfully, but these errors were encountered: