Gagravarr / VorbisJava

A library for working with Ogg Vorbis files
Apache License 2.0
126 stars 26 forks source link

Opus packet into Ogg container for streaming #47

Open danrossi opened 1 year ago

danrossi commented 1 year ago

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.

danrossi commented 1 year ago

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 ?