--- Begin Message ---
I saw this conversation and even though I am not involved in this issue, it
reminded me of a problem I had a few weeks back. Maybe this is related.
The point about different threads might be worth lingering on, because it looks
like you are using some RTSP server class that uses live555's RTSPServer class
as a member (m_rtspServer). So could it be that by any chance you are somewhere
putting 'taskScheduler().doEventLoop' in a thread (since this function does not
return)? So you are basically calling addServerMediaSession etc. from a
different thread after all? This COULD be the source of issues, but this is all
conjecture on my part.
By the way, the problem I had was that I was providing streams with my RTSP
server on an IP camera but the user had the option to re-configure the hardware
encoding. If that happens I stop the RTSP server (by setting the watch variable
and joining the thread) and remove the streams (by calling
'deleteServerMediaSession') and then add the new streams and start again. At
first I removed the streams first and stopped the server second which could
lead to a crash if some client creates a new connection in just the right
moment (this was a very nasty timing problem and reproducing this was hard). I
just shrugged it off as me using live555 wrong and fixed the order in which I
do things, but maybe I should have reported if after all.
Sorry if this info is completely useless for the case at hand.
----- Original Message -----
From: "Ross Finlayson" <[email protected]>
To: "LIVE555 Streaming Media, development & use" <[email protected]>
Sent: Wednesday, August 14, 2024 6:51:11 AM
Subject: Re: [Live-devel] Live555 Proxy add/remove frequently
Unfortunately I have not been able to reproduce this issue.
Could you try running your proxy server under valgrind:
cd live; make clean; ./genMakefiles linux-gdb; make
valgrind your-proxy-server-application
and email us the output if you see the crash.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel
--- End Message ---
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel