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

Decoding opus stream receiving from camera stream. #11

Closed
kuldeepmore opened this issue Apr 10, 2020 · 1 comment
Closed

Decoding opus stream receiving from camera stream. #11

kuldeepmore opened this issue Apr 10, 2020 · 1 comment

Comments

@kuldeepmore
Copy link

I am using this opus-stream-decoder for decoding opus stream packets receiving from IP camera camera. But it is not able to decode it and giving error as follows.

Error: Could not enqueue bytes for decoding. You may also have invalid Ogg Opus file. 3 opus-stream-decoder.js:1:20337
ERROR: Cannot enqueue 237 bytes, overflows by 113. Used: 65412/65536, OggOpusFile discovered: false. Try reducing chunk or decode before enqueuing more opus-stream-decoder.js:1:14651

I am receiving opus packet on web socket and giving it to opus-stream-decoder.
I have attached the test.html I am using to this issue you check it.
test.zip
P

@anthumchris
Copy link
Owner

This decoder only works with full, complete OpusFiles. Will not work with Opus packets that are not encapsulated in Ogg.

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

No branches or pull requests

2 participants