ProducerOptionsType

data class ProducerOptionsType(val encodings: List<RtpEncodingParameters> = emptyList(), val codecOptions: ProducerCodecOptions? = null, val track: MediaStreamTrack? = null, val stream: MediaStream? = null, val codec: RtpCodecCapability? = null, extraProperties: MutableMap<String, Any?> = mutableMapOf())

Data class representing producer options type.

Constructors

Link copied to clipboard
constructor(encodings: List<RtpEncodingParameters> = emptyList(), codecOptions: ProducerCodecOptions? = null, track: MediaStreamTrack? = null, stream: MediaStream? = null, codec: RtpCodecCapability? = null, extraProperties: MutableMap<String, Any?> = mutableMapOf())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

List of RTP encoding parameters

Link copied to clipboard
val stream: MediaStream? = null
Link copied to clipboard
val track: MediaStreamTrack? = null

Functions

Link copied to clipboard
operator fun get(key: String): Any?
Link copied to clipboard
operator fun set(key: String, value: Any?)
Link copied to clipboard
fun toMap(): Map<String, Any?>