Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagejs
themeRDark
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
languagejs
themeRDark
{
    ...,
    "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
themeRDark
codecs=red,opus,...

Receiving stream metrics only

...