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

Need some help in decoding the binary audio stream #188

Open
ayush-pradhan-bit opened this issue Jun 8, 2022 · 2 comments
Open

Need some help in decoding the binary audio stream #188

ayush-pradhan-bit opened this issue Jun 8, 2022 · 2 comments

Comments

@ayush-pradhan-bit
Copy link

I have written the code to receive audio from a client in the same channel. However, the data are in Binary.
I have attached a text file containing the Binary.
data.txt

Is there any suggestion to convert the Binary into Opus stream.

@ayush-pradhan-bit
Copy link
Author

I went through previous issues and found the solution for the extra 9 bytes which needs to be stripped off to get the opus audio. However, is there any python file to do so. There is a dedicated JS SDK for it but unfortunately I am working with python or c language.

@ihorserba
Copy link
Collaborator

Hi @ayush-pradhan-bit !

There is the python application for streaming an ogg-encapsulated opus stream to a Zello channel.

You can investigate how it constructs outgoing packets and implement the reverse logic in order to parse incoming packets.

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