curl --location -g --request GET '/api/task' \
--header 'Authorization: Bearer '{
"code": 0,
"data": {
"tasks": [
{
"app_id": "57kqh621",
"bitrate": 0,
"business_id": "xxx",
"height": 0,
"input": "rtsp://192.168.1.64/streaming/channels/1",
"mode": "video",
"osd": {
"border_size": 4,
"display_box": true,
"display_name": true,
"display_track": false,
"font_size": 12
},
"output": "rtmp://xxx.com/live/livestream?secret=2eb9fcac3a894af",
"report": {
"httpurl": "http://192.168.1.100:10042/aivis_event",
"mqtt": {
"broker_host": "120.26.78.16",
"broker_port": 1883,
"client_id": "aivis_reporter",
"password": "123",
"qos": 0,
"ssl": false,
"topic": "/aivis_event",
"username": "abc"
}
},
"task_id": "1720145117_1",
"width": 1280
}
]
},
"msg": "ok"
}