Playback Cache Success Callback
Purpose:
For cloud classroom-type playback videos, once the offline cache content of the playback video is successfully generated, a callback notification will be sent to the configured interface address.
Details:
After setting the interface address, if the offline cache file of the playback video is successfully generated, the live streaming system will submit the relevant parameters to the user-defined callback interface via GET method for notification, e.g., http://abc.com/test.do?vid=8205ac89d37e05513c5cb49dcb5f2705_8&zipSize=24016232&zipUrl=//liveimages.videocc.net/ppt/8205ac89d37e05513c5cb49dcb5f2705.zip&origin=auto&sign=f9b45f4a063b3ae312db66b03f9e0fdb&videoId=e529178318&channelId=286500×tamp=1568819519570
| Parameter Name | Type | Description |
|---|---|---|
| channelId | int | Channel ID |
| vid | string | Video ID |
| zipUrl | string | URL of the offline compressed package, without protocol header, e.g., //liveimages.videocc.net/ppt/8205ac89d37e05513c5cb49dcb5f2705.zip |
| zipSize | long | Size of the offline compressed package, in bytes |
| videoId | string | Unique ID for the transferred playback |
| fileId | string | File ID of the recorded video corresponding to the playback video |
| timestamp | long | 13-digit timestamp |
| sign | String | Encrypted string for verification, generated by the rule md5(AppSecret+timestamp), where AppSecret is the secret key of the live streaming system |
| origin | String | Recording source of the recorded video corresponding to the playback video. manual - cloud recording, auto - automatic recording, merge - merge, clip - clip |
How to Set
Prerequisite: The account must have the offline cache feature enabled. If this feature is not enabled, the offline cache callback URL will not appear in the callback settings.

Method 1: Set via the Backend
Log in to the account - Click [Development Settings] - Click [Callback Settings] - Find the playback generation callback URL Note: The submitted interface address must start with http:// or https://
