> On Jan 12, 2021, at 7:39 PM, Ross Finlayson wrote:
>
> Because your use case seems reasonable, I think the best solution is for us
> to update the code so that “lookupServerMediaSession()” is an asynchronous
> operation (taking a ‘callback’ parameter that will get called when the the
> loo
> And now I still have a possible option: implementing a event-pool
> "TaskScheduler". But I worry whether this is feasible, since the whole
> library is designed basing on event-driven with one thread.
No, this won’t work; LIVE555 application code must be single-threaded.
Because your use case
Note that "GenericMediaServer::lookupServerMediaSession” is part of the library
code, and thus is not meant to be modified. Instead, you should subclass
“RTSPServer”, and reimplement the virtual function “lookupServerMediaSession” in
your subclass. (This is what we did for the “DynamicRTSPSer
> On Jan 11, 2021, at 5:56 PM, Mit Shan wrote:
>
> I want to achieve the following function in live555 RTSP server:
>
> (a). Block for some time in the method
> "GenericMediaServer::lookupServerMediaSession"
Note that "GenericMediaServer::lookupServerMediaSession” is part of the library
cod