[Live-devel] Two quick questions ( 1) OutputPacketBuffer and fDurationInMicroseconds 2) skipping frames in doGetNextFrame() )

Ross Finlayson finlayson at live555.com
Wed May 27 01:56:16 PDT 2009


>is fDurationInMicroseconds, inside doGetNextFrame() of a MySource, 
>ignored until the buffer is filled (so it has no effect if I set it 
>to a value different than 0) ?

It (and all the other parameters) are ignored until 
"FramedSource::afterGetting()" is called.


>which is the best way to "skip" frames, when calling doGetNextFrame() ?

Just don't call "FramedSource::afterGetting()" for frames that you 
want to skip.
-- 

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


More information about the live-devel mailing list