[Live-devel] Problems with Streaming of AMR

Ross Finlayson finlayson at live555.com
Mon Oct 30 10:54:12 PST 2006


>Is there something special I have to consider when using AMR?

Yes, when delivering data to an "AMRAudioRTPSink":
1/ The input source must be an "AMRAudioSource" (usually a subclass 
of this), and
2/ Each input frame must include the 1-byte AMR header (at the 
beginning).  If I recall correctly, the FFMPEG AMR encoding software 
doesn't include this header, by default.

In any case, I suggest looking at the "wis-streamer" code: 
<http://www.live555.com/wis-streamer/>, because it includes a 
software AMR audio encoder (using the FFMPEG code).
-- 

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


More information about the live-devel mailing list