As a general answer the shortest route from the Client to the Server with the target Camera is always used. And a route of any length is supported.
Scenario 1 - Client has direct network access to Server hosting target Camera.
- Client connects to Server on same Local Area Network.
- Client connects via Internet to Server that is port-forwarded.
Information Flow: Camera → Server → Client
Scenario 2 - Client does not have direct network access to Server hosting target camera.
- A system has multiple Servers and only one Server has Internet Access and Client is connecting over the Internet.
Information Flow: Camera → Server2 (not accessible via Internet, but accessible to Server1) → Server1(accessible via Internet) → Client