RtcpMessage

@Serializable
@SerialName(value = "RtcpMessage")
data class RtcpMessage : BaseMessage(source)

Represents a message containing RTCP data.

This data class encapsulates various RTCP parameters including call information, media directions, jitter, packet count, and more.

Since

1.0.0

Author

Dominik Ridjic

Throws

Types

Link copied to clipboard
class Builder : ProguardKeep

Builder class for RtcpMessage.

Properties

Link copied to clipboard
@SerialName(value = "accountaor")
val addressLocal: String

The local address associated with the call.

Link copied to clipboard
@SerialName(value = "peeruri")
val addressRemote: String

The remote address associated with the call.

Link copied to clipboard
@SerialName(value = "peerdisplayname")
val addressRemoteDisplayName: String

The display name associated with the remote address.

Link copied to clipboard
@SerialName(value = "audiodir")
val audioDirection: MediaDirection

The direction of the audio media.

Link copied to clipboard
@SerialName(value = "remoteaudiodir")
val audioRemoteDirection: MediaDirection

The remote direction of the audio media.

Link copied to clipboard
@SerialName(value = "direction")
val callDirection: CallDirection

The direction of the call.

Link copied to clipboard
@SerialName(value = "id")
val callId: String

The unique identifier for the call.

Link copied to clipboard
@SerialName(value = "param")
val param: String
Link copied to clipboard
@Transient
val rtt: Double = 0.0

The current round trip time in milliseconds.

Link copied to clipboard
@Transient
val rxAudioLevel: Double = 0.0

The audio level of incoming media.

Link copied to clipboard
@Transient
val rxBytes: Long = 0

The total number of received RTP bytes.

Link copied to clipboard
@Transient
val rxJitter: Double = 0.0

The jitter in milliseconds for received data.

Link copied to clipboard
@Transient
val rxLost: Long = 0

The total number of RTP packets lost during reception.

Link copied to clipboard
@Transient
val rxPackets: Long = 0

The total number of received RTP packets.

Link copied to clipboard
@Transient
val rxTotalAudioEnergy: Double = 0.0

The total audio energy of incoming media over the lifetime of the call.

Link copied to clipboard
@SerialName(value = "timestamp")
open override val timestamp: Double
Link copied to clipboard
@Transient
val txAudioLevel: Double = 0.0

The audio level of outgoing media.

Link copied to clipboard
@Transient
val txBytes: Long = 0

The total number of sent RTP bytes.

Link copied to clipboard
@Transient
val txPackets: Long = 0

The total number of sent RTP packets.

Link copied to clipboard
@Transient
val txTotalAudioEnergy: Double = 0.0

The total audio energy of outgoing media over the lifetime of the call.

Link copied to clipboard
@SerialName(value = "type")
open override val type: MessageType.Rtcp
Link copied to clipboard
@SerialName(value = "videodir")
val videoDirection: MediaDirection

The direction of the video media.

Link copied to clipboard
@SerialName(value = "remotevideodir")
val videoRemoteDirection: MediaDirection

The remote direction of the video media.