Skip to main content
POST
/
camera
/
live
Get Live Stream Info
curl --request POST \
  --url https://apigw.bienport.com/api/camera/live \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'OrganizationId: <organizationid>' \
  --data '
{
  "resourceId": 123,
  "organizationId": 123,
  "subAccountToken": "St_*****"
}
'
[
  {
    "hls": "<string>",
    "streamId": 123,
    "status": "<string>",
    "liveToken": "<string>"
  }
]

Headers

Authorization
string
required

Access Token

OrganizationId
string
required

Organization ID

Body

application/json

getLiveStreamUrlRequest

Get Live Stream Url Request

resourceId
integer<int64>

Resource ID

organizationId
integer<int64>

Organization ID

subAccountToken
string

Sub-Account Token

Example:

"St_*****"

Response

Live Stream Info request model.

hls
string

Live stream hls access address

streamId
integer<int32>

Stream Type

status
string

Status

liveToken
string

Live Token