NVR/RTSP URL Formatting

From Luminys WIKI

RTSP URL Formatting

Description

This tutorial will cover the formatting of RTSP links for Luminys devices.

URL Formatting:

rtsp://USER:PASS@IPADDRESS:PORT/video/livemedia?Ch=1&Streamtype=0

The following parameters of the above link must be modified to match your situation:

USER: Device username.
PASS: Device password.
IPADDRESS: Device IP Address. Be sure to utilize the correct IP based on access (local IP vs public).
PORT: RTSP port value. Note that the RTSP port set in the recorder may not be the same as the RTSP port used for outside connections. If you are using a public IP address and aren't sure which port to use, reach out to your network admin.
1: The channel number you wish to link to.
0: The stream type. 0 is used for main stream, 1 is used for sub stream.

Example 1: rtsp://admin:Admin123@192.168.1.101:554/video/livemedia?Ch=1&Streamtype=0
Example 2: rtsp://IPADDRESS:PORT/video/livemedia?Ch=1&Streamtype=0

Example 2 is used for connections which can be authenticated client side, or for more secure URLs. Note that if the client end does not prompt for a username or password, you must embed the credentials in the URL.