[vlc-devel] [PATCH] Handle GET_PARAMETER keepalive responses during PAUSE

Ross Finlayson finlayson at live555.com
Thu Jun 25 17:39:20 CEST 2015


>> That’s why your “live555.cpp” code is so complex.  I urge you to (sometime in the future) restructure this code - as noted above - to use a single thread that does nothing but run inside “doEventLoop()”.  This would simplify it considerably.
> 
> Well, that's possible for a rainy day project...  Is it allowed for application threads to call sendXxx() methods

No!  Only the LIVE555 thread can call these LIVE555 functions.

> , or (as your FAQ suggests) does everything have to go through a triggered event, in which the handler (which presumably we have to write?) calls sendXxx() in the doEventLoop() thread?  If the latter that adds a shedload of complexity - there are 7 different sendXxx() calls in 20-odd places, and we would only have a (void *) to pass parameters with…

Well, that’s why C/C++ has these language types called ‘struct’s, in which you can put as many parameters as you wish :-)

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/dad2563d/attachment.html>


More information about the vlc-devel mailing list