PublishVideoStatsSampler

class PublishVideoStatsSampler(val SAMPLE_DURATION: Double, val trackId: String, val rid: String?, val ssrc: String, val source: String = "regular")

Constructors

Link copied to clipboard
fun PublishVideoStatsSampler(SAMPLE_DURATION: Double, trackId: String, rid: String?, ssrc: String, source: String = "regular")

Functions

Link copied to clipboard
fun add(jitter: Double, packetLoss: Int, roundTripTime: Double)
fun add(width: Int?, height: Int?, qualityReasons: QualityLimitationReasons, availableOutgoingBitrate: Double, fps: Int, trackId: String, bitRate: Double, totalPacketSendDelay: Double, packetsSent: Long, timestamp: Double)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun shouldSample(currentTimeStamp: Double, isForceSample: Boolean = false): Boolean

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var packetsSent: Long = 0
Link copied to clipboard
Link copied to clipboard
val rid: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard