Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

Video clip is generating from secondary stream mistakenly.

Answered

Comments

6 comments

  • Andrey Terentyev
    • Network Optix team

    Hello Makoto,

    Could you please specify the exact URL of the API you are using?

    0
  • Makoto Ogata

    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
  • Andrey Terentyev
    • Network Optix team

    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
  • Makoto Ogata

    Hi Andrey Terentyev.

    Thank you for your response.

    I understand the situation.

    0
  • Sergey Bystrov

    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
  • Andrey Terentyev
    • Network Optix team

    Sergey Bystrov ,

    Yes, what you're describing might be a possible root cause, as well.

    0

Please sign in to leave a comment.