> On Feb 22, 2021, at 10:02 AM, Idan Freiberg <i...@tokagroup.com> wrote: > > Hi Ross, > > Thanks for your help. > > I'll try to better explain the situation: RTSP clients will access my RTSP > reverse proxy server after some network NAT will translate their rtsp address > into my proxy address. i.e. rtsp://<real-backend-server-ip>/... will be NAT > translated into my proxy server ip. However the RTSP URL will still contain > the original backend server IP. I want to use the real backend server IP for > connecting to the real backend RTSP server from the proxy. Moreover, multiple > server might have the same URI suffix(i.e. /video_stream1) so I don't want to > ask for a different URI in the proxy. > > I hope it's more clear now.
Yes. The best way to get the URL that’s in each request would be to reimplement the various “handleCmd_*()” member functions in your subclass of “RTSPServer”, as I noted in my earlier email. Ross Finlayson Live Networks, Inc. http://www.live555.com/ _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel