[Live-devel] Calling doGetNextFrame from doEventLoop
Salick
salick at videocells.com
Sun Apr 9 09:57:54 PDT 2006
My question is how do I get the source objects from inside the doEventLoop()
function?
-----Original Message-----
From: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Sunday, April 09, 2006 5:18 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Calling doGetNextFrame from doEventLoop
>Suppose I have to sources (audio and video) and I set the watch variable to
>signal of new audio or video frames available.
>
>How can I call the doGextNextFrame of each one of my sources (separately)
>from the doEventLoop()?
I'm not sure I understand the question. How do you call
"doGetNextFrame()" on a source object? Just do it.
If you do this, however, your "doGetNextFrame()" code should also
begin with a statement like:
if (!isCurrentlyAwaitingData()) return;
to ensure that data is delivered to a client only when data is
actually being asked for.
Ross Finlayson
Live Networks, Inc. (LIVE555.COM)
<http://www.live555.com/>
_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
More information about the live-devel
mailing list