Skip to main content

Can I handle Issue with Analytics Plugin detected within the plugin?

Answered

Comments

1 comment

  • Sergey Yuldashev
    • Network Optix team

    Hi Vikram!

    Unfortunately SDK does not provide a plugin a way to detect if some frames were skipped.

    The current flow is like this:

    1. Server pushes the frame F0 to the plugin and waits for the metadata back
    2. In the meantime the camera keeps generating the video
    3. Server is accumulating those frames into the internal buffer while waiting for the metadata for frame F0
    4. At some point if the buffer overflow happens(limit is 100 frames per device agent), server will start dropping new frames unless buffer starts to decrease

     

    So saying server's dropping the frames randomly would not be completely correct.

    I see 2 options here for you:

    1. Indirectly track which frames were skipped by following the timestamps using the "expected delay" in between of each frame, since you know the framerate of the video stream
    2. Take all the incoming frames right away and skip those on the plugin side implementing similar mechanism but with internal sequencing and lower buffer size
    0

Please sign in to leave a comment.