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

Status Page

Partial metadata updates.

Answered

Comments

1 comment

  • Andrey Terentyev
    • Network Optix team

    Hello Ivan,

    Regarding 1.
    You don't need to wait. You can send metadata asynchronously, just setting a proper timestamp. However there are several limitations.
    - In order the metadata to be displayed in live stream the delay must not be more than 2 seconds.
    - The Server writes metadata to separate track in the resulting .mkv file. The buffer size limit is 5 seconds. In order the metadata to be displayed during video playback the delay must not exceed this limit of 5 seconds.

    Regarding 2.
    On accepting the metadata packet (i.e. a pointer to IMetadataPacket, of which IObjectMetadataPacket is a descendant), the Server puts it into the buffer with the limit of 5 seconds, then writes video to the archive. The metadata is written to the .mkv file to the separate track. This limit is introduced for reducing memory consumption.
    At the same moment the Server writes some index data related to the timestamp to the metadata DB, for searching.
    If the metadata packet is delayed for more than 5 seconds, it is being written to another .mkv chunk, content of which might not necessarily correlate to the metadata. The metadata track will still store valid timestamp, but will not be displayed during playback. In this case the metadata should be still searchable, thanks to indexes in the DB.

    0

Please sign in to leave a comment.