VoIP class

Constructors

VoIP(Client client, WebRTCDelegate delegate)

Properties

calls Map<String, CallSession>
getter/setter pair
client Client
final
currentCID String?
getter/setter pair
currentGroupCID String?
getter/setter pair
delegate WebRTCDelegate
final
groupCalls Map<String, GroupCall>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
incomingCallRoomId Map<String, String>
getter/setter pair
localPartyId String?
no setter
onIncomingCall → CachedStreamController<CallSession>
final
onIncomingGroupCall StreamController<GroupCall>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createGroupCallForRoom(Room room) Future<void>
Create a new group call in an existing room.
createGroupCallFromRoomStateEvent(SDNEvent event, {bool emitHandleNewGroupCall = true}) Future<GroupCall?>
Create a new group call from a room state event.
createNewCall(CallOptions opts) CallSession
fetchOrCreateGroupCall(String roomId) Future<GroupCall?>
getCallType(String sdp) CallType
getGroupCallById(String groupCallId) GroupCall?
getGroupCallForRoom(String roomId) GroupCall?
getIceSevers() Future<List<Map<String, dynamic>>>
hasActiveCall(Room room) bool
inviteToCall(String roomId, CallType type) Future<CallSession>
Make a P2P call to room
newGroupCall(String roomId, String type, String intent) Future<GroupCall?>
Create a new group call in an existing room.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onAssertedIdentityReceived(String roomId, String senderId, Map<String, dynamic> content) Future<void>
onCallAnswer(String roomId, String senderId, Map<String, dynamic> content) Future<void>
onCallCandidates(String roomId, String senderId, Map<String, dynamic> content) Future<void>
onCallHangup(String roomId, String _, Map<String, dynamic> content) Future<void>
onCallInvite(String roomId, String senderId, Map<String, dynamic> content) Future<void>
onCallNegotiate(String roomId, String senderId, Map<String, dynamic> content) Future<void>
onCallReject(String roomId, String senderId, Map<String, dynamic> content) Future<void>
onCallReplaces(String roomId, String senderId, Map<String, dynamic> content) Future<void>
onCallSelectAnswer(String roomId, String senderId, Map<String, dynamic> content) Future<void>
onRoomStateChanged(SDNEvent event) Future<void>
onSDPStreamMetadataChangedReceived(String roomId, String senderId, Map<String, dynamic> content) Future<void>
requestTurnServerCredentials() Future<bool>
startGroupCalls() Future<void>
stopGroupCalls() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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