I'm creating a GstRTSPServer, and associating a service i.e. port to it using GstRtspServer.RTSPServer.set_service()
. Now I want to destroy or kill the server so as to free the port, but without exiting my main application, so that port can be reused. How can I do the same without exiting my main application.
P.S.: I referred to Free Desktop Docs but couldn't find a method for the same. I'm using python bindings for the same.
Please suggest.