...
Parameter | Description |
---|---|
mediaSessionId | WebRTC media session Id |
videoRate | Video bitrate, bps |
fps | FPS |
nack | NACK packets count |
pli | PLI queries count |
lostPackets | Lost packets count |
width | Picture width |
height | Picture height |
Stream availability checking
To check if a stream is available on the server, client should send availableStream
message
Code Block | ||||
---|---|---|---|---|
| ||||
[
{
"mediaSessionId": "2f693140-7d54-11eb-91fe-1fd0fb28f180",
"name": "test"
}
] |
Message parameters
Parameter | Description |
---|---|
mediaSessionId | WebRTC media session Id |
name | Stream name |
The server will respond with availableStream
message
Code Block | ||||
---|---|---|---|---|
| ||||
[
{
"status": "false",
"info": "Restricted access",
"id": "2f693140-7d54-11eb-91fe-1fd0fb28f180"
}
] |
Message parameters
Parameter | Description |
---|---|
status | true if stream is available false if stream is not available |
info | The unavailability reason phrase |
id | WebRTC media session Id |
The unavailability reason phrase is supported since build 5.2.911