ConnectRecvTransportOptions

data class ConnectRecvTransportOptions(val consumer: WebRtcConsumer?, val consumerTransport: WebRtcTransport?, val remoteProducerId: String, val serverConsumerTransportId: String, val nsock: SocketManager, val parameters: ConnectRecvTransportParameters)

Options for connecting the receiving transport.

Constructors

Link copied to clipboard
constructor(consumer: WebRtcConsumer?, consumerTransport: WebRtcTransport?, remoteProducerId: String, serverConsumerTransportId: String, nsock: SocketManager, parameters: ConnectRecvTransportParameters)

Properties

Link copied to clipboard

The media consumer instance

Link copied to clipboard

The transport associated with the consumer

Link copied to clipboard

The socket instance for real-time communication

Link copied to clipboard

Parameters for updating transports and resuming consumer

Link copied to clipboard

The ID of the producer being consumed

Link copied to clipboard

The server-generated transport ID