Obseron's 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 > System > 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 (ID).
Alternatively, you can use RTSP URL (camera number). - At this point you can already connect to the camera by an URL like this:
rtsp://[username]:[password]@[ip]:[port]/[camerauuid]
For example:
rtsp://john:johnspassword@192.168.0.41:8554/9bdc3a0d-7f93-4e2f-8bd2-c8625b5235eea
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:
rtsp://[username]:[password]@[ip]:[port]/[camerauuid]?showTime=true&timeColor=00ff00&width=1270&height=720&time=20140119T111407Z&fps=10&quality=80
Multiplexed stream
When you want video from several cameras multiplexed into one stream, the URL is like this:
rtsp://[username]:[password]@[ip]:[port]/?cameras=[camera1uuid],[camera2uuid],[camera3uuid]&showTime=true&timeColor=00ff00&width=1270&height=720&time=20140119T111407Z
Comments
0 comments
Please sign in to leave a comment.