StreamSessionStatistics
@Serializable
Immutable, on-demand transport statistics for bitrate adaptation. Rates are bits/second. Byte accounting differs by transport: RTMP is socket-stream bytes (including RTMP handshake/protocol; RTMPS plaintext before TLS), SRT includes its native protocol overhead, RTC counts RTP bytes before SRTP (not ICE/DTLS). Missing measurements are null, not zero. A zero measurement is a measured idle/empty state. Receiver feedback is the latest remote report, not a local sampling-interval measurement.
Constructors
Link copied to clipboard
constructor(timestampNanos: Long, totalBytesSent: Long, totalBytesReceived: Long, sendBitrate: Double, receiveBitrate: Double, queuedSendBytes: Long? = null, transportLayer: String? = null, capture: StreamCaptureStatistics? = null, encoding: StreamEncodingStatistics? = null, roundTripTimeMillis: Double? = null, roundTripTimeAgeMillis: Long? = null, estimatedAvailableBitrate: Long? = null, totalPacketsSent: Long? = null, totalPacketsReceived: Long? = null, totalPacketsLostOnSend: Long? = null, totalPacketsLostOnReceive: Long? = null, totalPacketsRetransmitted: Long? = null, sendBufferDurationMillis: Double? = null, videoPacketsLost: Long? = null, videoPacketLossFraction: Double? = null, videoJitterMillis: Double? = null, receiverReportAgeMillis: Long? = null, estimatedAvailableBitrateAgeMillis: Long? = null)
Properties
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
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
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
Link copied to clipboard
Link copied to clipboard