{ "cn": 388, "fn": 1, "deviceid": " ", "GPUType": " ", "channel": " ", "streamtype": "true" }
curl --location --request POST '/api/Livestream/Live' \ --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6ImFkbWluIiwibmJmIjoxNzIzMDgyNzA3LCJleHAiOjE3MjMwODk5MDcsImlhdCI6MTcyMzA4MjcwNywiaXNzIjoiQkEiLCJhdWQiOiJhcGkifQ.uf_zGbs0fahwNbsYWGN5-5koElui8paGLRdJB7vfX-8' \ --header 'Content-Type: application/json' \ --data-raw '{ "cn": 388, "fn": 1, "deviceid": " ", "GPUType": " ", "channel": " ", "streamtype": "true" }'
{ "code": 0,//状态码 0表示成功 -1表示失败 "message": "操作成功", //描述信息 "data": { "guid": "186",//设备ID "url": "http://127.0.0.1:801/live/186.live.mp4", //MP4地址 "rtspurl": "rtsp://127.0.0.1:556/live/186", //rtsp流地址 "hlsurl": "http://127.0.0.1:801/live/186/hls.m3u8", //hls流地址 "channel": "90-2" //设备号-通道号 } }