[vlc-devel] [PATCH] Handle GET_PARAMETER keepalive responses during PAUSE
Ross Finlayson
finlayson at live555.com
Thu Jun 25 21:15:07 CEST 2015
> As I understand it (see parallel conversation) the other threads need to post in event callback requests using TriggerEvent() (which is the single exception to the same-thread rule) so the event loop calls our handler from the live555 thread.
Yes, or if you have some other thread-safe asynchronous messaging mechanism that you'd prefer to use instead, you could use that.
> The additional wrinkle is that Ross recommends we share the UsageEnvironment and TaskScheduler across multiple RTSP streams, although a middle way could be to keep an independent 'env' and 'scheduler' for each demux as we do now.
Yes, if you wish, you could have separate (non-interacting) LIVE555 threads (each with their own “UsageEnvironment” and “TaskScheduler” objects) for each RTSP stream. I just wanted to make it clear that it’s not necessary to do that; instead, a single LIVE555 event loop thread is sufficient.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20150625/6d481408/attachment.html>
More information about the vlc-devel
mailing list