Event Type | Parameter Value |
Relay | event_type = 314 |
Parameter | Type | Description |
appId | int | User APPID |
callback_event | string | Callback event type |
source_urls | string | Pull source URLs |
to_url | string | Push destination URL |
stream_id | string | Live stream name |
task_id | string | Task ID |
event_time | string | Event timestamp, for example: 1712893433 |
Parameter | Type | Description |
task_start_time | int | Task start timestamp, in milliseconds |
url | string | Source URL of the current pull task |
index | string | Index of the list for on-demand files |
duration | int | Duration of an on-demand file, in seconds |
task_exit_time | int | Task stop timestamp, in milliseconds |
code | string | Task stop error code |
message | string | Task stop error message |
{"appid": 4,"callback_event": "TaskStart","event_type": 314,"interface": "general_callback","msg": "{\\"task_start_time\\":0}","product_name": "pullpush","source_urls": "[\\"http://yourURL.cn/live/normal_230753472*****21162358-upload-45eb/playlist.m3u8\\"]\\n","stream_id": "testvod","task_id": "118148","to_url": "rtmp://xxx.livepush.myqcloud.com/live/testvod"}
{"appid": 4,"callback_event": "VodSourceFileStart","callback_url": "http://you.callback.url","event_type": 314,"interface": "general_callback","msg": "{\\"url\\":\\"http://remit-tx-ugcpub.douyucdn2.cn/live/normal_466247620*****3100448-upload-216b/playlist.m3u8\\",\\"index\\":0,\\"duration\\":14920}","product_name": "pullpush","source_urls": "[\\"http://yourURL.cn/live/normal_466247620*****3100448-upload-216b/playlist.m3u8\\"]\\n","stream_id": "testvod","task_id": "118145","to_url": "rtmp://xxx.livepush.myqcloud.com/live/testvod"}
{"appid": 4,"callback_event": "VodSourceFileFinish","callback_url": "http://you.callback.url","event_type": 314,"interface": "general_callback","msg": "{\\"url\\":\\"http://yourURL.cn/live/normal_466247620*****3100448-upload-216b/playlist.m3u8\\",\\"index\\":0,\\"duration\\":14920}","product_name": "pullpush","source_urls": "[\\"http://yourURL.cn/live/normal_466247620*****3100448-upload-216b/playlist.m3u8\\"]\\n","stream_id": "testvod","task_id": "118145","to_url": "rtmp://xxx.livepush.myqcloud.com/live/testvod"}
{"appid": 4,"callback_event": "TaskExit","event_type": 314,"interface": "general_callback","msg": "{\\"message\\":\\"write packet error.\\",\\"code\\":-22,\\"task_exit_time\\":0}","product_name": "pullpush","source_urls": "[\\"http://yourURL.cn/live/normal_230753472*****21162358-upload-4\\"]\\n"}
TaskStart
- Callback of the task start event > VodSourceFileStart
- Callback of the on-demand file’s start > VodSourceFileFinish
- Callback of the on-demand file’s end.TaskStart
and VodSourceFileStart
callbacks.
Was this page helpful?