Re: [Live-devel] HLSProxy

2021-08-11 Thread Ross Finlayson
OK, try one more thing: Move the call to: Medium::close(transportStream); after the call to: Medium::close(session); but before the call to: Medium::close(rtspClient); If this doesn’t work, then just don’t call "Medium::close(transportStream)” at all. But I don’t care; y

Re: [Live-devel] HLSProxy

2021-08-11 Thread Andrey Shvyrkin
Try moving the call to Medium::close(transportStream); after the call to Medium::close(rtspClient); Then the fInputSource variable is not valid in FramedFilter::doStopGettingFrames and the process crashes in the MPEG2TransportStreamFromESSource destructor. On 11.08.2021 14:23

Re: [Live-devel] HLSProxy

2021-08-11 Thread Ross Finlayson
> On Aug 11, 2021, at 4:15 AM, Andrey Shvyrkin wrote: > > Thanks for answers. > > I'm using > EventTrigger to exit the event loop at any point in time by changing the > value of the watch variable. And then I use the previously presented code to > close the session and free memory. In theo

Re: [Live-devel] HLSProxy

2021-08-11 Thread Andrey Shvyrkin
Thanks for answers. I'm using/EventTrigger/ to exit the event loop at any point in time by changing the value of the watch variable. And then I use the previously presented code to close the session and free memory. In theory, I should free the memory used by the/MPEG2TransportStreamFromESSou