Builder

class Builder : ProguardKeep(source)

Builder class for RtcpMessage.

Provides a fluent API to set various properties for the RtcpMessage and then build it.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@ObjCName(name = "address")
fun addressLocal(@ObjCName(name = "local") address: String): RtcpMessage.Builder

The local address (this device) of a call, mandatory property

Link copied to clipboard
@ObjCName(name = "address")
fun addressRemote(@ObjCName(name = "remote") address: String): RtcpMessage.Builder

The remote address of a call, mandatory property

Link copied to clipboard

The audio MediaDirection of a call

Link copied to clipboard

Constructs the RtcpMessage based on the provided properties.

Link copied to clipboard

The CallDirection of a call, mandatory property

Link copied to clipboard
@ObjCName(name = "call")
fun callId(id: String): RtcpMessage.Builder

The Call-Id of a call, mandatory property

Link copied to clipboard
@ObjCName(name = "displayName")
fun displayNameRemote(@ObjCName(name = "remote") displayName: String): RtcpMessage.Builder

The display name of a call, mandatory property

Link copied to clipboard
fun rtt(@ObjCName(name = "_") rtt: Double): RtcpMessage.Builder

Current round trip time in milliseconds

Link copied to clipboard
@ObjCName(name = "rx")
fun rxAudioLevel(audioLevel: Double): RtcpMessage.Builder

This WebRTC property represents the audio level of the media source (incoming).

Link copied to clipboard
@ObjCName(name = "rx")
fun rxBytes(bytes: Long): RtcpMessage.Builder

Total number of RX (received) RTP bytes

Link copied to clipboard
@ObjCName(name = "rx")
fun rxJitter(jitter: Double): RtcpMessage.Builder

Jitter in milliseconds

Link copied to clipboard
@ObjCName(name = "rx")
fun rxLost(lost: Long): RtcpMessage.Builder

Total number RTP packets lost

Link copied to clipboard
@ObjCName(name = "rx")
fun rxPackets(packets: Long): RtcpMessage.Builder

Total number of RX (received) RTP packets

Link copied to clipboard
@ObjCName(name = "rx")
fun rxTotalAudioEnergy(totalAudioEnergy: Double): RtcpMessage.Builder

This WebRTC property represents the total audio energy of the media source over the lifetime of a call. (incoming)

Link copied to clipboard
@ObjCName(name = "tx")
fun txAudioLevel(audioLevel: Double): RtcpMessage.Builder

This WebRTC property represents the audio level of the media source (outgoing).

Link copied to clipboard
@ObjCName(name = "tx")
fun txBytes(bytes: Long): RtcpMessage.Builder

Total number of TX (transmitted) RTP bytes

Link copied to clipboard
@ObjCName(name = "tx")
fun txPackets(packets: Long): RtcpMessage.Builder

Total number of TX (transmitted) RTP packets

Link copied to clipboard
@ObjCName(name = "tx")
fun txTotalAudioEnergy(totalAudioEnergy: Double): RtcpMessage.Builder

This WebRTC property represents the total audio energy of the media source over the lifetime of a call. (outgoing)

Link copied to clipboard

The video MediaDirection of a call