[Live-devel] client port number at proxy server
Ross Finlayson
finlayson at live555.com
Fri May 29 22:34:05 PDT 2015
> In my situation, I have multiple cameras with a unique ip address and port number, but the remaining url could be the same as another camera. When using the proxy server I can register both back-end urls but not at different ports (because only one port is used when creating the RTSPServerWithREGISTERProxying object).
I’m not sure I understand what you’re referring to here, but I suspect that you may be confused about which port numbers are used where. The proxy server’s port number is the port number that 'front-end clients use when communicating with the proxy server. However, the port number that’s used by the ‘back-end’ stream is the one that’s mentioned (either implicitly or explicitly) in the “rtsp://“ URL that you register with the proxy server. (By default, this port number - if it’s not included explicitly in the “rtsp://“ URL - is 554, but if can be any other port number.) Or alternatively, if you use the ‘REGISTER’ mechanism asking to reuse the TCP connection, then the ‘back-end’ stream’s port number will be whatever ephemeral port number was used to receive the ‘REGISTER’ command . In either case, this port number (which can be different for different ‘back-end’ streams) is completely independent of whatever port number is used by the proxy server.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/ <http://www.live555.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20150529/759b5210/attachment.html>
More information about the live-devel
mailing list