[Live-devel] RTSP Proxy Server Front End URL Customization

HAN Hao han.hao at stengg.com
Thu Sep 5 00:55:56 PDT 2019


> Thank you! For that situation, I am able to see the accepted connection. May I know whether there are any ways to know if the accepted IP Address has terminated or lost that connection? 

>Yes, the “ClientConnection” object (or, in this case, the subclass object “RTSPServer::RTSPClientConnection”) will be destroyed if/when the connection is closed.  So the destructor will be called in that case.

So sorry for my ignorance, may I know which object do I look at? The RTSPServer::RTSPClientConnection seems to have hundreds of subclass objects and I can't identify the correct subclass object to see whether the connection is still alive.

 At the same time, may I also ask whether it is possible to set the RTSP Proxy Server to use the same port? When multiple instances of RTSP Proxy Server is hosted, the first proxy server does not show the port number(i.e xxx.xxx.xxx.xxx/proxyStream). From the second proxy server onwards, the RTSP URL becomes ( xxx.xxx.xxx.xxx:xxxx/proxyStream). Are there any ways to always host the RTSP Proxy Server using xxx.xxx.xxx.xxx/proxyStream after I defined a conditional statement for the streamName?

Regards,
Han Hao



More information about the live-devel mailing list