[Live-devel] PATCH RTSP KeepAlive Support.
Ross Finlayson
finlayson at live555.com
Sat Mar 18 18:38:27 PST 2006
>4: I didn't really understood how to use the livemedia taskscheduler,
>so i just use a VLC thread.
Arggh! No! You can't do this. Any concurrent activity that uses
the LIVE555 code must be scheduled within the LIVE555 event loop -
not run in a separate thread. See
<http://www.live555.com/liveMedia/faq.html#threads>.
Scheduling a periodic task through the LIVE555 event loop is quite
straightforward - use "TaskScheduler::scheduleDelayedTask()". For a
simple example of this, see line 958 (& following) in
"testProgs/playCommon.cpp". (This is used to implement periodic QOS
measurements in "openRTSP".)
Ross Finlayson
Live Networks, Inc. (LIVE555.COM)
<http://www.live555.com/>
More information about the live-devel
mailing list