Gagravarr/VorbisJava

Opus packet into Ogg container for streaming

Opened this issue · 1 comments

Is there a way to get opus packet data, wrap into an ogg container then capture the byte array for sending to another service ? No files written. There is only tests and examples for writing file output. I'm needing to get the byte array packet per opus frame, wrap into ogg then send to a service.

I've tried writing to an opus file but playback skips. So not sure what else it needs.

Is there an easy way to mux an Opus packet byte into Ogg container. This project seems file based but I need to wrap live bytes and get the byte array output from it ?