On this page, you will find documentation on working with live stream statistics using the SRT protocol.
Callaba SRT Statistics provides a wide range of real-time data about the network node. This data can be used to monitor the state of the live stream and track any erroneous behavior.
This module in Callaba is implemented using Data Streaming messages, a real-time data processing approach. It differs from traditional batch processing, where data is collected, stored, and processed in batches. In streaming processing, data is continuously processed as it arrives.
To obtain statistical data about your SRT streams, you can establish a connection via WebSocket:
SRT active streams and event log live demo
To view a code example for receiving messages via WebSocket, open any of the examples listed above in your IDE.
There are two types of messages you can subscribe to in order to receive up-to-date statistics.
For more details on each statistical property, you can refer to the SRT protocol documentation at the provided link.
SRT socket statistics docs by Haivision