ConsumerResumeOptions

data class ConsumerResumeOptions(val stream: MediaStream?, val consumer: WebRtcConsumer?, val kind: String, val remoteProducerId: String, val parameters: ConsumerResumeParameters, val nsock: SocketManager)

Configuration options for the consumerResume function.

Constructors

Link copied to clipboard
constructor(stream: MediaStream?, consumer: WebRtcConsumer?, kind: String, remoteProducerId: String, parameters: ConsumerResumeParameters, nsock: SocketManager)

Properties

Link copied to clipboard

The consumer object associated with the media stream

Link copied to clipboard

The type of the media stream ('audio' or 'video')

Link copied to clipboard

The socket connection for managing real-time events

Link copied to clipboard

Parameters for managing state updates and triggering functions

Link copied to clipboard

The producer ID of the remote media stream

Link copied to clipboard

The media stream that is being resumed