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

Status Page

REST API Direct Download is Slow

Answered

Comments

5 comments

  • Anton Babinov
    • Network Optix team

    Hello Mickey,

    are you referring to video export option in the desktop GUI versus /media or /hls API call? Depending on how you call API methods it could trigger video transcoding/resizing which might explain slower downloading.

    Could you please provide API request examples which you use for your download?

    0
  • Permanently deleted user

    Anton Babinov Here is an example of the URL used to call the Direct Download method:

    https://xxxx:yyyy@zzzz/hls/AC-CC-8E-DD-BE-B1.mkv?pos=2021-02-24T21:05:38&duration=30

    Thanks for the help!

    0
  • Anton Babinov
    • Network Optix team

    @... at the moment /hls API isn't optimised well and in some cases it could take longer for the server to prepare the content. We're aware of this issue and we're hoping to solve it in future releases. In a meantime, we introduced new parameters to /media API which you can use for direct download. You can test it by installing 4.1 January patch:

    In-Client Upgrade:

    Build Number:   32405
    Password:   h985lc

    You should be able to use API request like this:

    https://xxxx:yyyy@zzzz/media/AC-CC-8E-DD-BE-B1.mkv?pos=2021-02-24T21:05:38&duration=30

     

    0
  • Permanently deleted user

    Anton Babinov This is so much better. Thank you!

    Is that API call downloading high quality video, or is there an additional argument for that?

    0
  • Anton Babinov
    • Network Optix team

    Yes, you can use additional query parameters like stream or resolution in your request, please refer to full API reference at https://<server IP>:7001:/static/api.xml

    0

Please sign in to leave a comment.