[Live-devel] Cleanly close RTSP Server

Kevin Bailey kevin at advantaacomputer.com
Tue Feb 19 10:03:16 PST 2019


Hi all, in the code for testProgs/testOnDemandRTSPServer.cpp there is no
code specified that should be used to clean up the RTSP server
cleanly. testProgs/testRTSPClient.cpp actually does specify some code to
clean up the program RTSP client.

I have tried adding "Medium::close" and an "eventLoopWatchVariable" to
"doEventLoop" which does seem to exit the event loop successfully. But the
Medium::close does not seem to be good enough to fully unbind the UDP port
because if I run the program again right after closing it out there is an
error binding to the UDP port again.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20190219/1e69a1b5/attachment.html>


More information about the live-devel mailing list