-
Hi Pedro. Which metrics can I obtain from the library? For example, are packet loss, bandwidth, RTT, frame rate available for monitoring streaming performance? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello, You can obtain all that info mentioned about stream except RTT. abstract fun hasCongestion(): Boolean
abstract fun getCacheSize(): Int
abstract fun getItemsInCache(): Int
abstract fun getSentAudioFrames(): Long
abstract fun getSentVideoFrames(): Long
abstract fun getDroppedAudioFrames(): Long
abstract fun getDroppedVideoFrames(): Long Using callbacks of ConnectChecker you can get the bandwidth from: fun onNewBitrate(bitrate: Long) About fps, you can get fps using setFpsListener method and listening the callback provided (this fps include dropped frames). I'm not sure if calculate RTT in java sockets is possible (normally do a ping could work but the server can disable a ping request). If you know a way I can implement it. |
Beta Was this translation helpful? Give feedback.
Hello,
You can obtain all that info mentioned about stream except RTT.
From StreamClient (getStreamClient method) class you can obtain this info:
Using callbacks of ConnectChecker you can get the bandwidth from:
About fps, you can get fps using setFpsListener method and listening the callback provided (this fps include dropped frames).
I'm not sure if calculate RTT in java so…