[Live-devel] rtsp server scale.

Ross Finlayson finlayson at live555.com
Sun Nov 21 22:53:55 PST 2010


>if rtsp client request scale = 0.5.
>
>my rtsp server must slow down the send speed by using 
>fDurationInMicroseconds /= m_scale;
>
>what other should i do.should i change the pts?and the duration?

Yes.  "fDurationInMicroseconds" merely tells the downstream object 
("RTPSink") how often to request new data.  It's the 
"fPresentationTime" value that tells the receiving client when to 
play each frame.  Therefore, if you change the scale, you'll need to 
set the "fPresentationTime" values as appropriate.
-- 

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


More information about the live-devel mailing list