SubscribeVideoStatsSampler

class SubscribeVideoStatsSampler(val SAMPLE_DURATION: Double, val trackId: String, val ssrc: String)

Constructors

Link copied to clipboard
fun SubscribeVideoStatsSampler(SAMPLE_DURATION: Double, trackId: String, ssrc: String)

Functions

Link copied to clipboard
fun add(videoEstimatedPlayoutTimestamp: Double, peer: HMSPeer?, getAudioStats: (String) -> RTCStats?)
fun add(pauseCount: Long, freezeCount: Long, totalPausesDuration: Double, totalFreezesDuration: Double)
fun add(framesReceived: Int, framesDropped: Long, framesDecoded: Long, pliCount: Number, nackCount: Number, frameWidth: Number, frameHeight: Number, jitterBufferEmittedCount: Number, jitterBufferDelay: Double)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun shouldSample(currentTimeStamp: Double, forcePublish: Boolean = false): Boolean

Properties

Link copied to clipboard
Link copied to clipboard
var framesDecoded: Float = 0.0f
Link copied to clipboard
var framesDropped: Float = 0.0f
Link copied to clipboard
var framesReceived: Float = 0.0f
Link copied to clipboard
var freezeCount: Int = 0
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var nackCount: Int = 0
Link copied to clipboard
var pauseCount: Int = 0
Link copied to clipboard
var plicount: Int = 0
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard