Skip to main content

Interface: Mee

Properties

myParticipantId

Optional myParticipantId: string

Current self participant id


send

send: (data: MEEWebsocketMessageTypesUnion) => string

Type declaration

▸ (data): string

Parameters
NameType
dataMEEWebsocketMessageTypesUnion
Returns

string

Methods

connect

connect(args): Promise<void>

Connects to the existing meeting

Parameters

NameTypeDescription
argsMeeConnectArgsAn object containing necessary information for connecting to the meeting

Returns

Promise<void>


create

create(args): Promise<string>

Creates a new meeting

Parameters

NameType
argsObject
args.abortController?AbortController

Returns

Promise<string>

meeting id


disconnect

disconnect(): void

Disconnects from WebSocket and closes the Webrtc call

Returns

void


getTransceiverConfigs

getTransceiverConfigs(): TransceiverConfig[]

Returns

TransceiverConfig[]


terminate

terminate(args): Promise<Status<unknown>>

Terminates meeting with the specified meetingId

Parameters

NameType
argsObject
args.abortController?AbortController
args.meetingIdstring

Returns

Promise<Status<unknown>>