liveVideo
POST
/v2/openapi/video/live9.26 Added parameter nodeValue, optional live streaming node
Request
Body Params application/json
deviceId
string | null
required
deviceId
channelId
integer | null
required
channelId
start with 1
>= 1
bitstreamType
integer | null
optional
Video stream 0: Main stream 1: Sub-stream Default main stream
nodeValue
string | null
optional
The name of the streaming server for the live stream or the default one if it is not passed The value of this parameter can be obtained through the /v2/audio/nodes interface
Example
{
"deviceId": "string",
"channelId": 1,
"bitstreamType": 0,
"nodeValue": "string"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
code
integer | null
optional
data
string | null
optional
msg
string | null
optional
Example
{
"code": 0,
"data": "",
"msg": ""
}
Last modified: 1 个月前