GroupCall class

Constructors

GroupCall({String? groupCallId, required Client client, required VoIP voip, required Room room, required String type, required String intent})

Properties

activeSpeaker String?
getter/setter pair
activeSpeakerLoopTimeout Timer?
getter/setter pair
audioLevelsMap Map<String, double>
final
avatarName String
no setter
callHandlers Map<String, ICallHandlers>
getter/setter pair
calls List<CallSession>
getter/setter pair
client Client
final
displayName String?
no setter
groupCallId String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
intent String
final
isLocalVideoMuted bool
no setter
isMicrophoneMuted bool
no setter
lastError GroupCallError?
getter/setter pair
localDesktopCapturerSourceId String?
getter/setter pair
localScreenshareStream WrappedMediaStream?
getter/setter pair
localUserMediaStream WrappedMediaStream?
getter/setter pair
onGroupCallEvent → CachedStreamController<String>
final
onGroupCallFeedsChanged → CachedStreamController<GroupCall>
final
onGroupCallState → CachedStreamController<String>
final
onStreamAdd → CachedStreamController<WrappedMediaStream>
final
onStreamRemoved → CachedStreamController<WrappedMediaStream>
final
participants List<User>
getter/setter pair
resendMemberStateEventTimer Timer?
getter/setter pair
room Room
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenshareStreams List<WrappedMediaStream>
getter/setter pair
screensharingEnabled bool
no setter
state String
getter/setter pair
terminated bool
no setter
type String
final
userMediaStreams List<WrappedMediaStream>
getter/setter pair
voip VoIP
final

Methods

addCall(CallSession call) Future<void>
addScreenshareStream(WrappedMediaStream stream) → void
addUserMediaStream(WrappedMediaStream stream) Future<void>
create() GroupCall
dispose() Future<void>
disposeCall(CallSession call, String hangupReason) Future<void>
enter({WrappedMediaStream? stream}) Future<void>
enter the group call.
getAllMemberStateEvents() Future<List<SDNEvent>>
getCallByUserId(String userId) CallSession?
getCallUserId(CallSession call) String?
getDeviceForMember(String userId) Future<IGroupCallRoomMemberDevice?>
getLocalStreams() List<WrappedMediaStream>
getMemberStateEvent(String userId) Event?
getScreenshareStreamByUserId(String userId) WrappedMediaStream?
getUser() User
getUserMediaStreamByUserId(String userId) WrappedMediaStream?
hasLocalParticipant() bool
initCall(CallSession call) Future<void>
init a peer call from group calls.
initLocalStream({WrappedMediaStream? stream}) Future<WrappedMediaStream>
Initializes the local user media stream. The media stream must be prepared before the group call enters. if you allow the user to configure their camera and such ahead of time, you can pass that stream on to this function. This allows you to configure the camera before joining the call without having to reopen the stream and possibly losing settings.
isScreensharing() bool
leave() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onActiveSpeakerLoop() → void
onCallHangup(CallSession call) Future<void>
onCallStateChanged(CallSession call, CallState state) Future<void>
onIncomingCall(CallSession newCall) Future<void>
onMemberStateChanged(SDNEvent event) Future<void>
onStreamsChanged(CallSession call) Future<void>
removeCall(CallSession call, String hangupReason) Future<void>
Removes a peer call from group calls.
removeMemberStateEvent() Future<void>
removeScreenshareStream(WrappedMediaStream stream) Future<void>
removeUserMediaStream(WrappedMediaStream stream) Future<void>
replaceCall(CallSession existingCall, CallSession replacementCall) Future<void>
replaceScreenshareStream(WrappedMediaStream existingStream, WrappedMediaStream replacementStream) Future<void>
replaceUserMediaStream(WrappedMediaStream existingStream, WrappedMediaStream replacementStream) Future<void>
sendMemberStateEvent() Future<void>
setLocalVideoMuted(bool muted) Future<bool>
setMicrophoneMuted(bool muted) Future<bool>
setScreensharingEnabled(bool enabled, String desktopCapturerSourceId) Future<bool>
setState(String newState) → void
terminate({bool emitStateEvent = true}) Future<void>
terminate group call.
toString() String
A string representation of this object.
inherited
updateAudioDevice() Future<void>
updateLocalUsermediaStream(WrappedMediaStream stream) → void
updateMemberCallState([IGroupCallRoomMemberCallState? memberCallState]) Future<void>

Operators

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