Callback Configuration

Last updated: 2020-07-06 14:44:07

    LVB supports the live streaming callback feature. You can create and configure a callback template in the console, set an address to receive the callback of a triggering event, and associate the template with a push domain name. After the successful association, if an event configured in the template triggers the callback during a live streaming, Tencent Cloud will actively send a request to the customer server which is responsible for the response. After verification, a JSON packet of the callback can be obtained through the path corresponding to the event.
    This document describes how to create, modify and delete a callback template in the console.

    You can create a callback template in the following ways:

    Notes

    Creating a Callback Template

    1. Log in to the LVB Console.
    2. Select Feature Template > Callback Configuration on the left sidebar.
    3. Click + to create a callback template, enter configuration information in the pop-up window, and click Save.
      Configuration ItemDescription
      Template Name Name of the callback template. It contains only letters, digits, underscores, and dashes, with a length of up to 30 characters.
      Template Description Description of the callback template. It contains only letters, digits, underscores, and dashes, with a length of up to 100 characters.
      Callback Key Custom callback key.
      It contains only letters and digits with a length of up to 32 characters. For more information, please see Event Message Notification.
      Push Callback Enter an address starting with `http`, `https`, etc. to receive the push callback.
      Interruption Callback Enter an address starting with `http`, `https`, etc. to receive the interruption callback.
      Recording Callback Enter an address starting with `http`, `https`, etc. to receive the recording callback.
      Screencapture Callback Enter an address starting with `http`, `https`, etc. to receive the screencapture callback.
      Porn Detection Callback Enter an address starting with `http`, `https`, etc. to receive the porn detection callback.

    Modifying a Template

    1. Select Feature Template > Callback Configuration.
    2. Find the desired callback template that you have created, and click Edit on the right to modify template information.
    3. Click Save.

    Deleting a Template

    If the template is associated, you need to unassociate it before you can delete it. For more information, please see Unassociating a Callback Template.

    1. Select Feature Template > Callback Configuration.
    2. Find the desired callback template that you have created, and click the deletion icon at the top.
    3. In the pop-up window, click OK to confirm the deletion.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help