[Live-devel] ] isCurrentlyAwaitingData
Ross Finlayson
finlayson at live555.com
Thu Feb 7 14:21:39 PST 2019
In LIVE555 applications, a “FramedSource” (subclass) object can be read from (using “getNextFrame()”) only once at a time. In other words, you can’t have two or more objects reading from a single “FramedSource” (subclass) object at the same time. Nor can a single object read from a single “FramedSource” (subclass) object a second time, before the first read has completed.
The “isCurrentlyAwaitingData()” function returns true if (and only if) the object is currently being read from. You can use this function to check whether or not it’s OK to call “getNextFrame()” (or its virtual function implementation “doGetNextFrame()”).
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list