Skip to content

Example Request: Unwrapped opus packets to webserver #1013

Answered by pschatzmann
elshnkhll asked this question in Q&A
Discussion options

You must be logged in to vote

I don't quite understand why you report this as a bug, so I convert it into a discussion and I don't see any reason why this should not be possible.

Just read the Codec documentation provided in the Wiki and have a look at the corresponding examples and test cases. Usually you would encode PCM data, but if you already have Opus packets, I guess you could use the OggContainerEncoder or OggContainerOutput class to wrap them into Ogg and write the data into a QueuStream. This would then serve as data source for the AudioServer.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by pschatzmann
Comment options

You must be logged in to vote
1 reply
@pschatzmann
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1012 on October 07, 2023 20:27.