The URL for accessing the live stream can be found by querying the camera type. The platform supports several protocols for video streaming. Protocols vary depending on camera access:
...
Code Block | ||
---|---|---|
| ||
{ "data": { "camera": { "stream_profiles": [ { "stream_profile_id": 120846, "width": 800, "height": 450 }, { "stream_profile_id": 120850, "width": 1920, "height": 1080 } ] } } } |
In Postman example - Get live stream URL / getStreamProfileID
Example - get RTSP URL:
The next query gets the RTSP and URL for the currently generated RTSP stream:
...
Code Block | ||
---|---|---|
| ||
{ "data": { "camera": { "live_view": { "remote": { "rtsp": { "url": "rtsp://nvhs10.survilla.net:2554/nvhs10~1600421245~9469bb1a2b831031456ef9c4abc182573d7a86a9f305f54df18621a9484d6134" } } } } } } |
In Postman example - Get live stream URL / getLiveStreamURL
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
If you want to test RTSP stream you can use VLC player - just copy link from response, press CTRL+N (Windows, Linux) / Command + N (macOS) and add your streaming URL. Note that the link to the stream is valid for 30 seconds. |
...