Use category callbacks
    • PDF

    Use category callbacks

    • PDF

    Article Summary

    VOD Station provides a callback feature for checking the status of encoding requests.
    You can use the callback feature by entering the Callback Endpoint in the notificationUrl field when creating categories or adding category files.

    Callback dispatch data

    If notificationUrl is registered, the following types of data are transferred to the configured notificationUrl whenever a status change event occurs during encoding in VOD Station. (Request HTTP POST)

    Callback is sent individually for each encodingOptionId.
    (Example: if 3 encodingOptions are set in a category, a callback is sent for each encodingOption status change)

    Field nameTypeDescription
    categoryIdIntegerEncoding category ID
    categoryNameStringEncoding category name
    encodingOptionIdIntegerEncoding option ID
    fileIdIntegerInput file ID
    filePathStringInput file path
    outputTypeStringOutput encoding option name
    statusStringEncoding status of the input file

    Example of HTTP body sending callbacks

    {  
      "categoryId":10268,  
      "categoryName":"callback-test",  
      "encodingOptionId":3,  
      "fileId":10808,  
      "filePath":"/.../Guide720_AVC_HD_1Pass_30fps.mp4",  
      "outputType":"AVC_HD_1Pass_30fps",  
      "status":"RUNNING"  
    }  
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.