> On Aug 11, 2021, at 4:15 AM, Andrey Shvyrkin <ashvyr...@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/
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel