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

Status Page

support for camera footage archiving

Answered

Comments

4 comments

  • Official comment
    Norman
    • Network Optix team

    Hi Sebastian,

    Can you elaborate a bit more about what you mean? 

    1. Do you mean adding the archive from another source to the Nx Media Server? 
      If this is the case, this can be done in two ways. Add it as a Virtual Camera or add the data+metadata from another Nx server and re-index this data. 
    2. The size of the storage is the limitation, the Nx server does not have any limitations. You can add as many petabytes as you like to the server. 
  • Permanently deleted user

    Hi Norman,

    0
  • Norman
    • Network Optix team

    Hi Sebastian,

    I assume you can do this with the /ec2/recordedTimePeriods API section, but I will transfer this topic to the Developers forum so our team can provide you a better answer. 

    0
  • Nx Support

    Hi Sebastian,

    I am not sure if that's still actual, but in case if it is:

    There is a periodsType parameter that you can use with /ec2/recordedTimePeriods request which Norman had already mentioned before.

    A request with periodsType=1 will provide you with the motion chunks that were recorded within the specified time interval. If you need more details on the /ec2/recordedTimePeriods you can refer to Mediaserver's built-in API help page: http://<server_url>/static/index.html#/developers/api/ec2/recordedTimePeriods.

    So, if you you want to see the list of motion chunks that were recorded between 1PM and 2 PM on the 7th of May, you need the following request:

    /ec2/recordedTimePeriods?cameraId=<camera_UUID>&startTime=2020-05-07T13%3A00%3A00.000&endTime=2020-05-07T14%3A00%3A00.000&periodsType=1

    A resulting JSON will contain an array of corresponding periods with startTimeMs and durationMs shown for every period.

    As for playing, one of the options you can use is HTTP streaming:

    http://<server_url>/media/<cameraId>.<format>?pos=<startTimeMs>&endPos=<startTimeMs + durationMs>

    Refer to built-in documentation for details:

    http://<server_url>/static/index.html#/developers/api/media/<cameraId>.<format>

    Hope this is helpful.

     

    Regards,

    Maxim Podstrechny,

    Networkoptix, QA Engineer.

     

    0

Please sign in to leave a comment.