zello-channel-api icon indicating copy to clipboard operation
zello-channel-api copied to clipboard

Need some help in decoding the binary audio stream

Open ayush-pradhan-bit opened this issue 2 years ago • 2 comments

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 avatar Jun 08 '22 08:06 ayush-pradhan-bit

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.

ayush-pradhan-bit avatar Jun 30 '22 20:06 ayush-pradhan-bit

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.

ihorserba avatar Jun 30 '22 21:06 ihorserba