[Live-devel] ] isCurrentlyAwaitingData

Kevin Bailey kevin at pudle.io
Thu Feb 7 14:46:58 PST 2019


I don't call "getNextFrame()" or "doGetNextFrame()" anywhere in my code...
where is it being called from?

On Thu, Feb 7, 2019 at 2:45 PM Ross Finlayson <finlayson at live555.com> wrote:

> 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/
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20190207/8029680f/attachment.html>


More information about the live-devel mailing list