Location
Last updated
Last updated
To minimize the end-to-end latency between the Client SDK and the media node in the network, the physically closest media node is provided. To achieve this, the media node registers its external IP and latitude/longitude information with the VDN upon initial startup.
When a new stream is requested, the Client SDK sends the SRA (Server Reflexive Address) information to the session node, and the session node records the latitude/longitude information by looking it up in the region table.
The location between the device and the media node is determined using the Haversine Formula, and the closest value is selected.