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

Status Page

Need a REST API Method to get the simultaneous transcoding sessions limit value

Answered

Comments

4 comments

  • Sergey Yuldashev
    • Network Optix team

    Hello Anirban,

    The default transcoding session limit is 2 per server. Every server has embedded counter for that.

    As soon as the limit is reached, the user will get "Too many transcoding threads" error message in the JSON response body on trying to call the video stream.

    In other words, the feature you want already exists and it's just a part of the common functionality.

    One more thing, feel free to check out the /api/metrics call that will return a lot of technical information from the server including number of the active transcoding sessions.

    0
  • Andrey Terentyev
    • Network Optix team

    Hello Anirban,

    Here you can find an article on how to change transcoding session limit.

    https://support.networkoptix.com/hc/en-us/articles/360039303534-Modify-the-limit-on-simultaneous-transcoding-sessions

    0
  • Permanently deleted user

    Hello Sergey,

    Thanks for all those API information. It really helps me.

    I have checked the API method "/api/metrics" and just like you mentioned, I have found the following JSON object:

    "transcoders": {
    "description": "Amount of video transcoding threads",
    "value": 0
    }

    I also would like to share that I have just noticed another method "/api/systemSettings" which gives me the exact value of the "maxWebMTranscoders" parameter. I was wondering can I consider the value of "maxWebMTranscoders" parameter as the simultaneous transcoding session limit value of a specific Nx Server. Below I also have mentioned a sample URL for the systemSettings:

    https://<system_id>.relay.vmsproxy.com/api/systemSettings?auth={<authentication_hash>}


    Hello Andrey,

    Thanks for the link. I already check the article and also mentioned in my post. The article is really helpful. I came to know the concept of simultaneous transcoding session limit from this article.

    0
  • Permanently deleted user

    Hello, I was wondering if there is any update on my last query.

     

    0

Please sign in to leave a comment.