[Live-devel] [PATCH] Register response callback prior sending RTSP command

2020-12-09 Thread Lionel Koenig
When sending RTSP command from another thread than the event loop (it is actually unsupported see: http://www.live555.com/liveMedia/faq.html#threads), the response of the command might arrive prior the handler callback is registered. When that happen, the handler will never be called even if the re

Re: [Live-devel] [PATCH] Register response callback prior sending RTSP command

2020-12-09 Thread Ross Finlayson
OK, so let me get this straight: You are doing something (calling LIVE555 code (beyond just “triggerEvent()”) from a thread outside the event loop) that you know is ‘unsupported’, and which you (should) also know could produce many race conditions that may cause your application to fail in unpre