...
Configuration Article | CA-20201130-TP-16 VDG Sense | Setup | Plugins | RTSP Server |
|
Table of Contents |
---|
Real Time Streaming Protocol (RTSP)
The RTSP protocol is an open protocol which facilitates the transfer of audio and video over an IP network. In order to make Sense video available through RTSP, the RTSP plugin is required. This plugin can supply live and on-demand video through an RTSP interface for up to 32 devices simultaneously. Usage of this plugin requires an API License and a minimum of one Sense management server to be available within the network.
Info |
---|
In VDG Sense 2.7.2 the simultaneously RTSP streams have been increased to 128 |
Functionality
When the plugin is active, an RTSP stream can be initiated from several media players through a customized URL. The arguments within this URL sets the way in which the video is transmitted.
...
Whether to do or do not transcode is identified by the server using a 0 (do not) or 1 (do) value. The video’s height and width are given in pixels.
URI | Type | Description |
---|---|---|
transcode | Boolean (0|1) | If set to 1, image will be transcoded |
bandwidth | Integer (Kb/s) | Set the maximum bandwidth |
width | Integer (pixel) | Video width in pixels |
height | Integer (pixel) | Video height in pixels |
quality | Integer (percentage) | Quality of the RTSP stream (default 70) |
fittopanel | Boolean (0|1) | Add black bars if requested image height/width does not correspond with video resolution |
Examples
Transcode stream url:
rtsp://<address>/<server-id>?device=<device-id>&width=320&height=240&transcode=1
The width, height and transcode parameters are send to the server, the server determines the correct stream, based on the dual stream setting for the max panel width. The stream is transcoded to a JPEG stream with the requested width and height, but it keeps the original aspect-ratio.Transcoding over limited bandwidth url:
rtsp://<address>/<server-id>?device=<device-id>&width=320&height=240&transcode=1&bandwidth=32
The stream is transcoded to half the requested width and height, balanced over the limited bandwidth, and keeps the original aspect-ratio.
The resulting frame-rate will differ and be irregular compared to the original frame-rate, due to the load-balancing.