[Live-devel] HLSProxy

Ross Finlayson finlayson at live555.com
Wed Aug 11 04:23:37 PDT 2021



> On Aug 11, 2021, at 4:15 AM, Andrey Shvyrkin <ashvyrkin at gosniias.ru> 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 theory, I should free the memory used by the MPEG2TransportStreamFromESSource variable before closing the session, but in this case, when Medium::close is called to close the session, the application crashes in the RTCPInstance destructor

Try moving the call to 
	Medium::close(transportStream);
after the call to 
	Medium::close(rtspClient);

(Or just call exit() :-)


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the live-devel mailing list