Skip to main content

Client

Properties​

PropertyTypeDescription
roomIdRoomID-
roomsRoomID[]-
breakoutRoomsMap<RoomID, BreakoutRoom>-
breakoutRoomNamesMap<RoomID, string>-
conferenceStatusMap<RoomID, ConferenceStatus>-
conferenceFeatureFlags?ConferenceFeatureFlags-
secureCheckCodestring-
latestStatsStats | undefined-
serviceTypeCurrentServiceType-
isFeccEnabledboolean-
conferenceNamestring | undefined-
localCallTypeClientCallTypeThe callType that is being used for the current call
admit(opt) => Promise<UnlockParticipantResponseundefined>`
call(opt) => Promise<RequestTokenResponseundefined>`
disconnect(opt) => Promise<void>-
kick(opt) => Promise<DisconnectParticipantResponseundefined>`
dial(opt) => Promise<DialResponseundefined>`
transfer(opt) => Promise<TransferParticipantResponseundefined>`
mute(opt) => Promise<MuteParticipantResponseUnmuteParticipantResponse
clientMute(opt) => Promise< | ClientMuteParticipantResponse | ClientUnmuteParticipantResponse | undefined>-
guestsCanUnmute(opt) => Promise<SetGuestsCanUnmuteResponseundefined>`
muteAllGuests(opt) => Promise<MuteguestsResponseUnmuteguestsResponse
muteVideo(opt) => Promise< | VideoMuteParticipantResponse | VideoUnmuteParticipantResponse | undefined>-
lock(opt) => Promise<LockResponseUnlockResponse
disconnectAll(opt) => Promise<DisconnectResponseundefined>`
setLayout(opt) => Promise<TransformLayoutResponseundefined>`
setPersonalLayout(opt) => Promise<VideoMixesConfigureResponseundefined>`
deleteVideoMix(opt) => Promise<VideoMixesDeleteResponseundefined>`
sendMessage(opt) => Promise<MessageConferenceResponseMessageParticipantResponse
raiseHand(opt) => Promise<BuzzParticipantResponseClearbuzzParticipantResponse
lowerAllRaisedHands(opt) => Promise<ClearAllBuzzResponseundefined>`
spotlight(opt) => Promise< | SpotlightonParticipantResponse | SpotlightoffParticipantResponse | undefined>-
ack(opt) => Promise<AckResponseundefined>`
update(opt) => Promise<UpdateResponseundefined>`
newCandidate(opt) => Promise<NewCandidateResponseundefined>`
sendOffer(opt) => Promise<CallsWebrtcParticipantResponseundefined>`
takeFloor(opts) => Promise<TakeFloorResponseundefined>`
releaseFloor(opts) => Promise<ReleaseFloorResponseundefined>`
breakoutRequestGuestToken(opts) => Promise<BreakoutRequestGuestTokenResponseundefined>`
present(stream?) => void-
restartCall(opts) => Promise<void>-
stopPresenting() => void-
setStream(stream) => void-
setBandwidth(bandwidth) => void-
setDegradationPreference(preference) => void-
liveCaptions(opt) => Promise<ShowLiveCaptionsResponseHideLiveCaptionsResponse
liveCaptionsLanguages(opt) => Promise<LiveCaptionsLanguagesResponseundefined>`
setRole(opt) => Promise<void>-
setConferenceExtension(conferenceExtension?) => void-
setPin(pin?) => void-
setSsoToken(ssoToken?) => void-
setToken(token) => void-
setCallTag(callTag) => void-
statistics(opt) => Promise<void>-
disconnectCall(opt) => Promise<void>-
requestTheme(opt) => Promise<Result1undefined>`
setTextOverlay(opt) => Promise<OverlaytextParticipantResponseundefined>`
sendDTMF(opt) => Promise<DtmfParticipantResponseDtmfResponse
requestAspectRatio(opt) => Promise<PreferredAspectRatioResponseundefined>`
sendConferenceRequest(opt) => Promise< | { status: number; data: unknown; } | undefined>-
requestParticipants(opt) => Promise<ParticipantsResponseundefined>`
breakout(opt) => Promise< | { breakout_uuid: RoomID; } | undefined>-
joinBreakoutRoom(opt) => Promise<void>-
guestLeaveBreakoutRoom() => Promise<GuestLeaveBreakoutResponseundefined>`
closeBreakouts() => Promise<BreakoutsDisconnectResponseundefined>`
closeBreakoutRoom(opt) => Promise<DisconnectResponseundefined>`
emptyBreakouts() => Promise<BreakoutsEmptyResponseundefined>`
breakoutMoveParticipants(opt) => Promise< | BreakoutMoveParticipantsResponse | BreakoutMoveParticipantsFromMainResponse | undefined>-
startConference(opt) => Promise<StartConferenceResponseundefined>`
fecc(opt) => Promise<FeccParticipantResponseFeccResponse
availableLayouts(opt) => Promise<(string | Result2)[] | undefined>-
layoutSvgs(opt) => Promise<Record<string, string>undefined>`
presInMix(opt) => Promise<PresInMixParticipantResponseundefined>`
breakoutAskForHelp(opt) => Promise<GuestBreakoutBuzzResponseHostBreakoutBuzzResponse
breakoutRemoveAskForHelp(opt) => Promise< | GuestClearBreakoutBuzzResponse | (__namedParameters) => Promise<HostClearBreakoutBuzzResponse> | undefined>-
notifyNotAFK(opt) => Promise<NotifyNotAFKResponseundefined>`

Methods​

getMe()​

getMe(roomId?): Participant | undefined;

Parameters​

ParameterType
roomId?RoomID

Returns​

Participant | undefined

getParticipants()​

getParticipants(roomId): Participant[];

Parameters​

ParameterType
roomIdRoomID

Returns​

Participant[]


setFeccSupported()​

setFeccSupported(canFecc): void;

Parameters​

ParameterType
canFeccboolean

Returns​

void


isBreakoutRoom()​

isBreakoutRoom(roomId): boolean;

Parameters​

ParameterType
roomIdRoomID

Returns​

boolean