AyameConnection class

Inheritance

Constructors

AyameConnection({required Uri signalingUrl, required String roomId, required AyameConnectionOptions options})

Properties

authnMetadata ↔ dynamic
getter/setter pairinherited
authzMetadata ↔ dynamic
getter/setter pairinherited
connectionState ↔ RTCIceConnectionState
getter/setter pairinherited
debug bool
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
onAddStream ↔ (void Function(MediaStream)?)
getter/setter pairinherited
onBye ↔ (void Function()?)
getter/setter pairinherited
onConnect ↔ (void Function()?)
getter/setter pairinherited
onDataChannel ↔ (void Function(RTCDataChannel)?)
getter/setter pairinherited
onDisconnect ↔ (void Function(Error?)?)
getter/setter pairinherited
onOpen ↔ (void Function(AyameMetadataOption)?)
getter/setter pairinherited
onRemoveStream ↔ (void Function()?)
getter/setter pairinherited
options AyameConnectionOptions
getter/setter pairinherited
remoteStream ↔ MediaStream?
getter/setter pairinherited
roomId String
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signalingUrl Uri
getter/setter pairinherited
stream ↔ MediaStream?
getter/setter pairinherited

Methods

connect({MediaStream? stream, AyameMetadataOption? metadataOption}) Future<void>
createDataChannel({required String label, RTCDataChannelInit? options}) Future<RTCDataChannel?>
disconnect() Future<void>
findDataChannel(String label) → RTCDataChannel?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeDataChannel(String label) Future<bool>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited