| Name | Description |
|---|---|
| stat::context.open_time_msec | time to initialize a file or a stream before decoding |
| stat::path | a path to a file or a stream |
| stat::buffer.audio | duration of currently buffered audio data |
| stat::buffer_details.audio | a detailed description of audio buffer (index of a buffered segment etc) |
| stat::kbps_avg_audio | an average bitrate of a decoded audio in kb/s |
| stat::kbps_avg | an average bitrate of a decoded stream (both video and audio) in kb/s |
| stat::buffer.video | a duration of currently buffered video data |
| stat::buffer_details.video | a detailed description of video buffer (index of a buffered segment etc) |
| stat::kbps_avg_video | an average bitrate of a decoded video in kb/s |
| stat::v_read | time to read video data (average time to read video data, maximal FPS available for reading, minimal and maximal intervals for reading the data) |
| stat::v_decode |
information about decoding video data (average time to decode video data, maximal FPS available for reading, minimal and maximal intervals for decoding the data, etc.) For example: |
| stat::v_format | pixel format of the input video |
| stat::v_convert | performance of frame conversion (average interval, max, and min values) |
| stat::v_total | the total timing for video processing (read, decode, and convert together) |
| stat::a_read | time to read audio data (average time to read the data, maximal FPS available for reading, minimal and maximal intervals for reading the data) |
| stat::a_pts_sync | an interval to synchronize audio with the current frame in msec |
| stat::a_start | a start time of the currently decoded audio segment |
| stat::a_len | a duration of currently buffered audio data |
| stat::a_total | the total time to process audio data |
| stat::a_removed | amount of removed audio data (when a buffer starts BEFORE a frame time) |
| stat::frame_get | time to get a frame from the object (average, min, and max intervals) |
| stat::buffer.frames | amount of buffered frames |
All above statistics can be reached from MFile object by using file:: prefix in MPlatform SDK.
SRT peer IP address
When receiving an SRT stream, you can read the connected remote peer's IP address from splitter::current::stat::srt.peer_ip. In listener mode, this is the address of the accepted peer sending the stream, rather than the local address used to listen for connections.
SRT connection statistics use a separate property path from the stat:: entries in the table above. Query the value after the SRT connection has been established, while normal stream reading is active.
MFormats: MFReader
For an MFReader instance that is already receiving the stream:
string peerIp;
m_objMFReader.PropsGet("splitter::current::stat::srt.peer_ip", out peerIp);
MPlatform: MFile
For an MFile instance that is already playing the stream, add the file:: prefix:
string peerIp;
m_objMFile.PropsGet("file::splitter::current::stat::srt.peer_ip", out peerIp);
Handling an unavailable value
Treat a missing or empty value as an unavailable peer address. The value can be unavailable before a peer connects, after the connection is closed or a disconnection is detected, or when the installed SDK build or SRT backend does not expose this statistic. Read it again after reconnection instead of displaying a previously cached address.
The address identifies the remote network endpoint visible to the receiver. If the sender connects through NAT, it may differ from the sender computer's local IP address.
See SRT streaming for connection setup and the complete SRT statistics property paths.
Still have questions?
Tell us what didn’t work or what you’d like clarified.