I have a question about the openRTSP. In the end of the function
startPlayingStreams, there is :
// Watch for incoming packets (if desired):
checkForPacketArrival(NULL);
checkInterPacketGaps(NULL);
My question is whether the video or audio packets haved been
rececived here.
The first time that these functions are called, no RTP (audio or
video) packets will have been received yet (because the event loop
hasn't yet started; see below). Notice, though, that each of these
functions - at the very end of their code - reschedules another call
to itself, from the event loop, after a short delay. I.e., each of
these functions gets called periodically.
If the packets are received here, then what is
the difference between the role of the function
startPlayingStreams and the function taskScheduler().doEventLoop()
in reveiving the packets.
No incoming packets actually get handled until "doEventLoop()" is
called (because the arrival of each incoming packet is handled as an
'event' from within the event loop).
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel