Its a tricky task. Its for live speech 2 text. The packets need to be sent to IBM. But none of these services can read the raw packets. They need to be decoded and wrapped properly.
One support said to take 2 bytes out of the Opus packet which is the header. But it still couldn’t be read. Because it needs to be in a webm/ogg container. Decoding through ffmpeg works. It needs something done with the bytes but Im still not sure what. If I can take in the raw AAC from RTMP FLV and encode to ogg opus that would be good. Or have a usable Opus output from the transcoder.
Wowza is doing something internally with the aac packets as I can see undocumented java utils