The Event callback service notifys your server of real-time audio and video service events in the form of HTTP/HTTPS requests. The Event callback service integrates some events in the Room Event and Media Event groups. You can fill in the callback configuration information on the Tencent RTC console by following the instructions below. After the configuration is complete, you can receive the callback event notification. Preconditions
1. Go to the Tencent RTC Console > Applications. click on Manage in the row of the target application whose callback configuration needs to be modified, to enter the Configuration page. 2. Select Advanced Features from the project sidebar on the left, and within Callbacks configuration, you can set up the callback configuration details.
Set the callback key and URL
1. Click in the upper right corner of the callback Configuration TAB to edit.
2. Set the callback key (optional) based on service requirements.
3. Enter a callback URL based on service requirements (required):
Media event callback: Start/stop push video data, start/stop push audio data, start/stop push auxiliary route data and other event notifications. More callback event descriptions. Recording callback: It is used to call back events related to the on-cloud recording function, and supports event notification of the start and exit of the on-cloud recording module, the start of the cloud recording upload module, and the end of the upload. More callback event descriptions. Note:
Callback URL Protocol header: HTTP, HTTPS, and can contain only the following characters: a-z, A-Z, 0-9, -, _, and? , %, =, #,., /, and + contain a maximum of 2083 characters.
4. Click Confirm to successfully set the callback URL.
Was this page helpful?