...
If there is no audio track in the stream, audioCodec
will not be displayed.
Audio redundancy statistics displaying
Since build 5.2.2066 audio redundency statistics may be displayed by request
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/stream/find HTTP/1.1
Host: localhost:8081
Content-Type: application/json
{
"name":"stream1",
"published":true,
"display":["red"]
} |
A published stream statistics example
Code Block | ||||
---|---|---|---|---|
| ||||
{
...,
"name": "stream1",
...,
"red": {
"output": {
"totalRedundantBytes": 0,
"totalRedundantPackets": 0
},
"input": {
"totalRedundantBytes": 862151,
"usedRedundantBytes": 24115,
"totalRedundantPackets": 24633,
"usedRedundantPackets": 689
}
}
} |
Where:
- totalRedundantBytes - total redundant bytes count
- usedRedundantBytes - used redundant bytes count
- totalRedundantPackets - total redundant packets count
- usedRedundantPackets - used redundant packets count
The statistics shows non-null values when audio redundancy support (RED) is enabled
Code Block | ||
---|---|---|
| ||
codecs=red,opus,... |
Receiving stream metrics only
...