Direct Download /hls/<cameraId>.<format>
AnsweredThe description mentions high and low quality options for the download. Is there a description for what is considered high and low quality? What is the default setting if quality is not specified? What values are used if specified, 0 & 1?
-
Official comment
Hello Paul,
"hi" and "lo" parameters in case of Direct Download stand for the native resolutions of the Primary(Hi-Res) and Secondary(Low-Res) streams as you see those in Nx Desktop Client.
The usage of those parameters is simple enough, they should just be put to the query without any values:
/hls/<cameraId>.<format>?hi - will return high-resolution video.
/hls/<cameraId>.<format>?lo - will return high-resolution video
-
Thank you so much Sergey. Much appreciated for the quick response. One other question on this subject. What is the default Hi or Lo?
Thanks Again!
Paul
0 -
Hi Paul,
Server will try to download the highest resolution possible by default.
Consider the following situation - camera recording is set to "Low-Res + Motion" mode. Which means that High-resolution video will be available only for the moments when the motion is detected in the Region Of Interest. The rest of a timeline is available only in low resolution.
For example, you send a request with parameters ?pos=1589270000000&duration=100000 and there is a motion at the moment of 1589270050000, you will get a "mixed" video - with first part in low-res and the second part in high-res.
0
Please sign in to leave a comment.
Comments
3 comments