[Live-devel] Which framer for AAC?

Ross Finlayson finlayson at live.com
Mon Aug 30 11:06:24 PDT 2004


At 07:20 AM 8/30/04, you wrote:
>To stream mpeg4 video, there are MPEG4VideoStreamDiscreteFramer or 
>MPEG4VideoStreamFramer that can be used from a ByteStreamFilterSource.
>
>In case of AAC (using MPEG4GenericRTPSink), which framer class should be used?

There currently isn't a 'framer' class for AAC audio.  If, however, your 
input source produces discrete AAC frames - i.e., each call to 
"getNextFrame()" on the input source delivers a single, complete AAC frame 
- then you won't need a separate 'framer' class.

If, however, your input AAC source delivers a byte source, then you will 
need a write your own 'framer' class to parse this into frames.  I suggest 
using the existing code for "testMPEG1or2AudioStreamFramer" as a model.


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>



More information about the live-devel mailing list