I am attempting to stream AAC audio (from an encoder) using live555 libraries through a Darwin Streaming Server.

A reminder once again: You don't need to use a separate 'Darwin' server. We have our own RTSP server implementation which you could use instead.

However...

I think I have configured everything properly, but I get the error 'MPEG4GenericRTPSource Warning

Why are you creating a "RTPSource" at all?? "RTPSource" objects are used to *receive* RTP streams. Because you are transmitting a RTP stream, not eceiving one, you use a "RTPSnk" - specifically, in this case a "MPEG4GenericRTPSink".

audioSink = SimpleRTPSink::createNew(*env, &rtpGroupsockAudio, 97, 44100, "audio", "mpeg4-generic", 2);

Don't use a "SimpleRTPSink", instead use a "MPEG4GenericRTPSink"; that was specifically designed for streaming AAC audio. Pass "audio" as the "sdpMediaTypeString" parameter, and "AAC-hbr" as the "mpeg4Mode" parameter.

(Once again, if you'd used our RTSP server implementation, then a lot of this work would already be done for you.)


        Ross Finlayson
        Live Networks, Inc. (LIVE555.COM)
        <http://www.live555.com/>

_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to