[Live-devel] AAC Streaming Via Darwin

Harms, Tyler Jacob (S&T-Student) tjhk99 at mst.edu
Tue Sep 23 20:22:04 PDT 2008


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

I think I have configured everything properly, but I get the error 'MPEG4GenericRTPSource Warning: Unknown or unsupported "mode":(null)'. when attempting to stream the audio. My understanding is that the "mode" variable in MPEG4GenericRTPSource is set on creation, and the only place I see it created is from within the MediaSubsession creation, where fMode is passed to the new MPEG4GenericRTPSource. Unfortunately, I don't see any way to initialize fMode without using an SDP file, which is counter to what we are attempting to do with Darwin.

What method should be used to set this variable? Can I do it on initialization of the SimpleRTPSink? My audio RTP sink is set up as follows (in a larger context, this is a modification of the testMPEG4VideoToDarwin example):

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

Thanks,
-Tyler


More information about the live-devel mailing list