> I'm trying to stream Opus-encoded live audio via live555 from my server and 
> I'm a bit lost in how to implement that.

Fortunately the RTP payload format for Opus audio is very simple - so you can 
use the existing “SimpleRTPSink” class for this - without modification.

When you are creating your “RTPSink” (subclass) object, just call:
        SimpleRTPSink::createNew(envir(), rtpGroupsock, 
rtpPayloadTypeIfDynamic, 48000, "audio", "OPUS", 2, False);
(The reason for the final ‘False’ is that only one Opus ‘packet’ is allowed in 
each RTP packet.)


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to