CSS 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:
HTTP
or HTTPS
server, whose address is configured as the callback address in the template to receive the callback, must be able to receive the request and respond normally.
Configuration Item | Description |
---|---|
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. |
If the template is associated, you need to unassociate it before you can delete it. For more information, please see Unassociating a Callback Template.
Was this page helpful?