Ksenos' built-in RTSP server is used to send video streams to other programs or devices. The connection is made by using an RTSP URL. Connection uses IPv4 address.
Make sure you have at least one user with access to desired cameras before the next steps.
1. Enable RTSP server
- Go to Menu > Settings > Connections > RTSP server
- Check Enable RTSP connections to this recorder
- Check Require authentication
- After any changes to RTSP server settings, click Restart the RTSP server
2. Find RTSP URL for desired camera
- Go to Menu > Settings > Cameras > [camera name]
- Copy the address from RTSP URL based on UUID
Alternatively, you can use the RTSP URL based on camera number.
- At this point you can already connect to the camera by an URL like this:
3. Add parameters to URL for more control
You can change the settings of the stream with different parameters.
- live: If 'true', sends the stream received from the camera without transcoding. The other parameters will be ignored if this one is set to 'true'. This parameter will not work with multiplexed stream. This parameter should always be used to minimize server load, if no other parameters are used.
- showTime: If 'true', adds a timestamp to the top of the image
- timeColor: The color of the drawn time as an RGB hexadecimal value without a # character. The default value is ffffff, which means white.
- width: The width of the image in pixels. The default value is the width of the original video.
- height: The height of the image in pixels. The default value is the height of the original video.
- time: The time in ISO 8601 standard format (without - and : characters), from which to start the video playback (if there are recordings on that particular time). The playback begins from the current time by default.
- fps: Tells how many images the server sends per second. The default value is 25.
- quality: Affects the quality of the stream. Value of 100 is best. The default value is 50.
Here's an example with parameters in use:
When you want video from several cameras multiplexed into one stream, the URL is like this: