Package-level declarations

Types

Link copied to clipboard
data class AuthPayload(val peerId: String)
Link copied to clipboard
data class ConsumerPeerIdValue(val producerId: String? = "", val peerId: String? = "")
Link copied to clipboard
@Serializable
data class ConsumerStatistics(val consumerId: String? = "", val peerId: String? = "", val producerId: String? = "", val videoStats: List<InboundVideoStreamStats> = emptyList(), val audioStats: List<InboundAudioStreamStats> = emptyList())
Link copied to clipboard
data class DataThroughputTestResults(val rtt: Long, val backendRtt: Long, val throughput: Long)
Link copied to clipboard
Link copied to clipboard
@Serializable(with = GeoLocationAsStringSerializer::class)
data class GeoLocation(val latitude: Double?, val longitude: Double?)
Link copied to clipboard
data class IceCandidatePairStats(val bytesReceived: Double?, val bytesSent: Double?, val currentRoundTripTime: Double?, val totalRoundTripTime: Double?, val availableOutgoingBitrate: Double?, val availableIncomingBitrate: Double?)
Link copied to clipboard
@Serializable
data class IceConnectivity(val host: Boolean?, val relay: Boolean?, val reflexive: Boolean?)
Link copied to clipboard
@Serializable
data class InboundAudioStreamStats(val audioLevel: Double?, val concealedSamples: Double?, val concealmentEvents: Double?, val jitterBufferDelay: Double?, val jitterBufferEmittedCount: Double?, val totalAudioEnergy: Double?, val totalSamplesDuration: Double?, val totalSamplesReceived: Double?, val bytesReceived: Double?, val packetsReceived: Double?, val packetsLost: Double?, val jitter: Double?, val nackCount: Double?)
Link copied to clipboard
@Serializable
data class InboundVideoStreamStats(val framesDecoded: Double?, val keyFramesDecoded: Double?, val framesReceived: Double?, val decoderImplementation: String?, val frameHeight: Double?, val frameWidth: Double?, val droppedFrames: Double?, val frameRateMean: Double?, val framesDropped: Double?, val framesPerSecond: Double?, val firCount: Double?, val bytesReceived: Double?, val packetsReceived: Double?, val packetsLost: Double?, val jitter: Double?, val nackCount: Double?)
Link copied to clipboard
@Serializable
data class IPDetails(val ip: String? = null, val city: String? = null, val region: String? = null, val country: String? = null, val location: GeoLocation? = null, val org: String? = null, val postal: String? = null, val timezone: String? = null)
Link copied to clipboard
@Serializable
data class NetworkInformation(val ipDetails: IPDetails?, val location: GeoLocation?, val turnConnectivity: Boolean?, val effectiveNetworkType: String?, val connectivity: IceConnectivity?, val throughput: Long?, val fractionLoss: Long?, val rtt: Long?, val jitter: Long?, val backendRtt: Long?)
Link copied to clipboard
@Serializable
data class NetworkQualityInformation(val connectivity: IceConnectivity?, val throughput: Long?, val fractionLoss: Long?, val rtt: Long?, val jitter: Long?, val backendRtt: Long?)
Link copied to clipboard
@Serializable
data class OutboundAudioStreamStats(val bytesSent: Double?, val packetsSent: Double?, val retransmittedBytesSent: Double?, val retransmittedPacketsSent: Double?, var remoteData: RemoteInboundStreamStats?, val nackCount: Double?)
Link copied to clipboard
@Serializable
data class OutboundVideoStreamStats(val hugeFramesSent: Double?, val pliCount: Double?, val qpSum: Double?, val framesEncoded: Double?, val framesSent: Double?, val keyFramesEncoded: Double?, val encoderImplementation: String?, val qualityLimitationReason: String?, val qualityLimitationResolutionChanges: Double?, val totalEncodeTime: Double?, val totalPacketSendDelay: Double?, val frameHeight: Double?, val frameWidth: Double?, val droppedFrames: Double?, val frameRateMean: Double?, val framesDropped: Double?, val framesPerSecond: Double?, val firCount: Double?, val bytesSent: Double?, val packetsSent: Double?, val retransmittedBytesSent: Double?, val retransmittedPacketsSent: Double?, var remoteData: RemoteInboundStreamStats?, val nackCount: Double?)
Link copied to clipboard
data class OverallConsumerStatsValue(var totalVideoPacketReceived: Double?, var totalAudioPacketReceived: Double?)
Link copied to clipboard
data class ParsedConsumerStats(val inboundVideoRtpId: MutableList<String> = mutableListOf(), val inboundAudioRtpId: MutableList<String> = mutableListOf())
Link copied to clipboard
data class ParsedIceCandidate(val type: String, val protocol: String, val address: String)
Link copied to clipboard
data class ParsedProducerStats(val outboundVideoRtpId: MutableList<String> = mutableListOf(), val outboundAudioRtpId: MutableList<String> = mutableListOf())
Link copied to clipboard
data class ParsedRTCStats(var transport: WebRtcTransportStats? = null, var candidatePair: IceCandidatePairStats? = null, val outboundVideoRtp: MutableMap<String, OutboundVideoStreamStats> = mutableMapOf(), val inboundVideoRtp: MutableMap<String, InboundVideoStreamStats> = mutableMapOf(), val outboundAudioRtp: MutableMap<String, OutboundAudioStreamStats> = mutableMapOf(), val inboundAudioRtp: MutableMap<String, InboundAudioStreamStats> = mutableMapOf(), val remoteInboundRtp: MutableMap<String, RemoteInboundStreamStats> = mutableMapOf(), val producerStreamMap: MutableMap<ProducerId, ParsedProducerStats> = mutableMapOf(), val consumerStreamMap: MutableMap<ConsumerId, ParsedConsumerStats> = mutableMapOf(), var staleProducerStreamMap: Boolean = false, var staleConsumerStreamMap: Boolean = false)
Link copied to clipboard
data class ProcessedStatsReport(val transportReport: TransportStatistics, var producerReport: List<ProducerStatistics>?, var consumerReport: List<ConsumerStatistics>?)
Link copied to clipboard
@Serializable
data class ProducerStatistics(val producerId: String = "", val videoStats: List<OutboundVideoStreamStats> = emptyList(), val audioStats: List<OutboundAudioStreamStats> = emptyList())
Link copied to clipboard
@Serializable
data class RemoteInboundStreamStats(val jitter: Double?, val fractionLost: Double?, val roundTripTime: Double?, val roundTripTimeMeasurements: Double?, val totalRoundTripTime: Double?, val packetsLost: Double?, val localId: String?)
Link copied to clipboard
Link copied to clipboard
typealias RTCIceRole = String
Link copied to clipboard
data class RttStats(val rtt: Long, val backendRtt: Long)
Link copied to clipboard
@Serializable
data class SQSPacketStructure(val payload: EventChunk, val peerId: String)
Link copied to clipboard
data class TestResult(val connectivity: Boolean)
Link copied to clipboard
data class ThroughputInformation(val throughput: Long, val fractionLoss: Long, val rtt: Long, val jitter: Long, val backendRtt: Long?)
Link copied to clipboard
@Serializable
data class WebRtcTransportStats(var bytesReceived: Double?, var bytesSent: Double?, var roundTripTime: Double?, var totalRoundTripTime: Double?, var availableOutgoingBitrate: Double?, val availableIncomingBitrate: Double?, var dtlsCipher: String?, var dtlsState: RTCDtlsTransportState?, var iceRole: RTCIceRole?, var packetsReceived: Double?, var packetsSent: Double?)