ConsumerResumeOptions class
Configuration options for the consumerResume
function, used to manage the resumption of audio or video streams.
Example Usage:
final options = ConsumerResumeOptions(
stream: myMediaStream,
kind: 'audio',
remoteProducerId: 'producerId123',
parameters: myConsumerResumeParameters,
nsock: mySocket,
);
await consumerResume(options);
Constructors
- ConsumerResumeOptions({required MediaStream stream, required String kind, required String remoteProducerId, required ConsumerResumeParameters parameters, required Socket nsock, required Consumer consumer})
Properties
- consumer → Consumer
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → String
-
final
- nsock → Socket
-
final
- parameters → ConsumerResumeParameters
-
final
- remoteProducerId → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stream → MediaStream
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited