Skip to content
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

#4 Add Opus File Decoding #10

Merged
merged 10 commits into from
Dec 27, 2019
Merged

#4 Add Opus File Decoding #10

merged 10 commits into from
Dec 27, 2019

Conversation

anthumchris
Copy link
Owner

@anthumchris anthumchris commented Dec 27, 2019

Adds an example for using WebAssembly to decode an Opus file and play with the Web Audio API. Both the WAV and Opus examples can be compared. Connection speeds are currently limited at 2mbps. While the Opus file is smaller, the playback start latency ("playback waiting") is slightly longer because the Opus headers must be read first. Despite this, Opus would have huge advantages at slower speeds (tested with 2G speeds like 72kbps)

closes #4, closes #9

@anthumchris anthumchris merged commit 1ef61f0 into master Dec 27, 2019
@anthumchris anthumchris deleted the opus branch December 27, 2019 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert the same .wav,But the decode buffer information is inconsistent。 Add Opus decoding support
1 participant