42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"code": 100000,
|
|
"msg": "success",
|
|
"request_id": "server-request-example",
|
|
"server_time": "2026-11-06T10:00:00.000+08:00",
|
|
"data": {
|
|
"session_id": "live-session-001",
|
|
"client_session_id": "22222222-2222-4222-8222-222222222222",
|
|
"task_id": 501,
|
|
"execution_id": "execution-001",
|
|
"expires_at": "2026-11-06T10:40:00.000+08:00",
|
|
"next_refresh_at": "2026-11-06T10:00:30.000+08:00",
|
|
"sources": [
|
|
{
|
|
"role": "dock",
|
|
"source_id": "dock-source-001",
|
|
"state": "ready",
|
|
"reason": null,
|
|
"provider": "volc",
|
|
"credentials": {
|
|
"app_id": "EXAMPLE_APP_ID",
|
|
"room_id": "EXAMPLE_DOCK_ROOM",
|
|
"user_id": "EXAMPLE_VIEWER_ID",
|
|
"token": "EXAMPLE_RTC_TOKEN",
|
|
"expires_at": "2026-11-06T10:40:00.000+08:00"
|
|
}
|
|
},
|
|
{
|
|
"role": "drone",
|
|
"source_id": null,
|
|
"state": "pending",
|
|
"reason": {
|
|
"code": "DRONE_SOURCE_PENDING",
|
|
"message": "等待无人机直播源"
|
|
},
|
|
"provider": "volc",
|
|
"credentials": null
|
|
}
|
|
]
|
|
}
|
|
}
|