[Live-devel] Cleanly close RTSP Server

Kevin Bailey kevin at pudle.io
Tue Feb 19 10:53:07 PST 2019


My particular use case has my program started and stopped rapidly in short
periods of time. But I can't start and stop it like this if I can't quickly
re-bind to the rtsp port. Maybe this doesn't have anything to do with my
clean up code? Is it related to this:
https://live-devel.live555.narkive.com/0XXB7m6u/rtsp-server-socket-bind-error
?

On Tue, Feb 19, 2019 at 10:49 AM Ross Finlayson <finlayson at live555.com>
wrote:

> In general, you can clean up by deleting things in the reverse order from
> which they were created.
>
> But why don’t you just call “exit()”?  Why do you need to keep using the
> process after you’ve gotten rid of the RTSP server?
>
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20190219/1b44f35b/attachment.html>


More information about the live-devel mailing list