How to enable file transcoding notification?

What is the use of file transcoding notification?

If you enable this option, The notification will send every minute after the file get transcoded. The notification are send to the URL that you provided in console as a json raw post data format.

How to enable file transcoding notification?

  1. Login to StreamFast dashboard.
  2. Move to Zones and select HTTP or VoD push zone.
  3. Click the manage button nearest to your Push zone ID.
  4. On the redirected page, Click the CDN resource option.
  5. Scroll down the page and find the option “File Transcoding Notification (Web Hook)”
  6.  Provide a valid URL in the column. The notifications are sent to this URL.(eg: http(s)://yourdomain.com/notify)
  7. Click the save button.

How can I implement in PHP?

The PHP implementation, you can use this syntax

<?php
class Books {
    /* Member variables */
    var $price;
    var $title;
    /* Member functions */
    function setPrice($par) {
        $this->price = $par;
    }
    function getPrice() {
        echo $this->price . "";
    }
    function setTitle($par) {
        $this->title = $par;
    }
    function getTitle() {
        echo $this->title . " ";
    }
}
?>

Related articles