[Live-devel] Problems with Streaming of AMR

Ross Finlayson finlayson at live555.com
Fri Nov 10 11:20:02 PST 2006


>I still have a small problem: I have noticed regular cracks when
>streaming AMR over RTP. I tracked it down to a timestamp problem. As I
>understand it, I have to increase the fPresentationTime by 20 ms for
>every frame, because AMR_NB and AMR_WB contain 20 ms of sound data. Is
>that right?

I don't know - are you talking about the sender or the receiver? 
Anyway, at the sender end, your source object (i.e., from your FFMPEG 
encoder) must generate accurate presentation times (and assign them 
to the "fPresentationTime" member variable when implementing 
"doGetNextFrame()".  That's true, in general, for every type of data 
source.
-- 

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


More information about the live-devel mailing list