Versions Compared

Key

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

...

The interval cannot be set less than 1 second, the default value will be used in such case.

Incoming stream statistics

Since build 5.2.1257 a certain incoming stream statistics can be collected

Code Block
languagebash
themeRDark
curl -s "http://localhost:8081/?action=stat&format=json&groups=transcoding_stats" | jq '.[].transcoding_video_full_info'

The statistics is available in JSON format only and includes the following parameters

Code Block
languagejs
themeRDark
{
  "test": {
    "codec": "H264",
    "queueSize": 0,
    "distributors": {
      ...
    },
    "minDeltaArrivalTime": 1,
    "maxDeltaArrivalTime": 62,
    ...,
    "streamDelay": 38
  }
}
  • stream name
  • codec - publishing codec
  • queueSize - decoding queue size
  • distributors - subscribers statistics
  • minDeltaArrivalTime - a minimal time between two subsequent packets receiving, ms
  • maxDeltaArrivalTime - a maximal time between two subsequent packets receiving, ms
  • streamDelay - stream delay, ms

Packets receiving time statistics is collected on time interval set by the following parameter in milliseconds

Code Block
themeRDark
media_processor_incoming_stat_window=30000