Video clip is generating from secondary stream mistakenly.
AnsweredHi.
I found out that HTTP Streaming endpoint sometimes gives me a video clip from secondary stream.
Is there a way to avoid it?
-
Hello Makoto,
Could you please specify the exact URL of the API you are using?
0 -
Hi Andrey Terentyev.
I'm using the endpoint: http://<user>:<password>@<ipAddress>:<port>/media.mp4?pos=<pos>&endPos=<endPos>
This endpoint usually gives me video clip from recording data(primary stream) however, when trying to retrieve video from a time zone close to the current time, it somtimes gives me video clip from secondary stream.
Is there a way avoid it?
Kind Regards,
Makoto Ogata.
0 -
Hi,
it somtimes gives me video clip from secondary stream.
The primary and secondary streams are formed with different paces. In this case, it most probably means that the primary stream had not yet been formed to be transferred and the secondary stream had been transferred instead.
0 -
Hi Andrey Terentyev.
Thank you for your response.
I understand the situation.
0 -
is it possible that in this specific case the requested pos and endPos are such that there is no primary stream at the archive for those POSes? For example, the recording mode is HQ on motion and LQ always.
?
0 -
Yes, what you're describing might be a possible root cause, as well.
0
Please sign in to leave a comment.
Comments
6 comments