Session class

Constructors

Session(dynamic url)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect([String? userName]) Future<void>
disconnect() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on(Event event, dynamic handler(Map<String, dynamic> params)) → void
publishAudio(bool enable) Future<void>
publishLocalStream({bool video = true, bool audio = true}) Future<void>
publishVideo(bool enable) Future<void>
setRemoteAudio(String id, bool enable) → void
setRemoteSpeakerphone(String id, bool enable) → void
setRemoteVideo(String id, bool enable) → void
startLocalPreview(StreamMode mode, {VideoParams? videoParams}) Future<MediaStream?>
stopLocalPreview() Future<void>
subscribeRemoteStream(String id, {bool video = true, bool audio = true, bool speakerphone = false}) Future<void>
switchCamera() → void
toString() String
A string representation of this object.
inherited

Operators

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