IosRtpParameters

class IosRtpParameters(nativeRtpParameters: RTCRtpParameters) : WebRtc.RtpParameters(source)

iOS implementation of RTP parameters that wraps native RTCRtpParameters.

Provides type-safe access to RTP configuration, including encodings, codecs, header extensions, and degradation preferences with proper enum mapping.

Report a problem

Constructors

Link copied to clipboard
constructor(nativeRtpParameters: RTCRtpParameters)

Properties

Link copied to clipboard
open override val codecs: List<RTCRtpCodecParameters>

The codecs used for transmission.

Link copied to clipboard

The degradation preference for the media quality.

Link copied to clipboard
open override val encodings: List<RTCRtpEncodingParameters>

The encoding parameters for the media.

Link copied to clipboard

The header extensions for the RTP packets.

Link copied to clipboard
open override val rtcp: Any

The RTCP parameters.

Link copied to clipboard
open override val transactionId: String

The transaction ID for these parameters.

Functions

Link copied to clipboard
fun WebRtc.RtpParameters.getNative(): RtpParameters

Returns implementation of the rtp parameters that is used under the hood. Use it with caution.

fun WebRtc.RtpParameters.getNative(): RTCRtpParameters

Returns implementation of the rtp parameters that is used under the hood. Use it with caution.

fun WebRtc.RtpParameters.getNative(): RTCRtpSendParameters

Returns implementation of the rtp parameters that is used under the hood. Use it with caution.