[Live-devel] Calling doGetNextFrame

Ross Finlayson finlayson at live555.com
Mon Apr 9 10:21:03 PDT 2007


>How can I control the calls of doGetNextFrame ?. To be more specific 
>I want to stream live video with 20 fps. As in my doGetNextFrame I'm 
>dilevering one frame at a time so I want doGetNextFrame to be called 
>20 times per second.
>Is this possible ?

Yes - this is exactly the purpose of the "fDurationInMicroseconds" 
member variable.  If you set this to 50000 - before calling 
"FramedSource::afterGetting()", then "doGetNextFrame()" will be 
called (from "MultiFramedRTPSink") 50 ms apart.
-- 

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


More information about the live-devel mailing list