RTSP playback through API
AnsweredDear sir/madam,
In the server API its written that its possible to retrieve live and recorded video, through the API. But after checking the API documentation I only found out how to retrieve live video through the API. By any chance is it also possible to retrieve recorded video through the video API?
Thanks in advance!
-
Hi @...,
If you check the server API, you'll notice the pos parameter. With this pos parameter you can determine the start time and start playing back with this API command.
For example for RTSP:

If you want to download a piece of the archive, you can use the HTTP parameters. You use the pos parameter to determine the start position, and you can use the endPos parameter to determine the end position. Also, you can use the pos parameter to determine the start position and the duration parameter to determine the length in seconds of the footage you want to download.

And there is also a Direct Download option, which enable you to set the pos parameter for the start position and the duration parameter to determine the length in seconds of the footage you want to download.
0 -
Hello Norman Graafsma,
Thanks for the quick and detailed response. Just tested it and it seems to work perfectly, thanks! At first the parameters table of the RTSP streaming function didn't show. So I just thought it didn't support any parameters. Have a nice day~
0
Please sign in to leave a comment.
Comments
2 comments