WebRTC class

Constructors

WebRTC()
const

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

accept(String sessionId, {Map<String, Object>? userInfo}) Future<QBRTCSession?>
call(List<int> opponentsIds, int sessionType, {Map<String, Object>? userInfo}) Future<QBRTCSession?>
enableAudio(String sessionId, {bool? enable, double? userId}) Future<void>
enableVideo(String sessionId, {bool? enable, double? userId}) Future<void>
getSession(String sessionId) Future<QBRTCSession?>
hangUp(String sessionId, {Map<String, Object>? userInfo}) Future<QBRTCSession?>
init() Future<void>
mirrorCamera(int userId, bool mirror) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reject(String sessionId, {Map<String, Object>? userInfo}) Future<QBRTCSession?>
release() Future<void>
subscribeRTCEvent(String eventName, dynamic eventMethod, {dynamic onErrorMethod}) Future<StreamSubscription>
switchAudioOutput(int output) Future<void>
switchCamera(String sessionId) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Constants

ACCEPT_METHOD → const String
CALL_METHOD → const String
CHANNEL_NAME → const String
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
ENABLE_AUDIO_METHOD → const String
ENABLE_VIDEO_METHOD → const String
GET_SESSION_METHOD → const String
HANGUP_METHOD → const String
INIT_METHOD → const String
MIRROR_CAMERA_METHOD → const String
REJECT_METHOD → const String
RELEASE_METHOD → const String
SUBSCRIBE_EVENTS_METHOD → const String
SWITCH_AUDIO_OUTPUT → const String
SWITCH_CAMERA_METHOD → const String
UNSUBSCRIBE_EVENTS_METHOD → const String