Interface: Mee
Properties
myParticipantId
• Optional
myParticipantId: string
Current self participant id
send
• send: (data
: MEEWebsocketMessageTypesUnion
) => string
Type declaration
▸ (data
): string
Parameters
Name | Type |
---|---|
data | MEEWebsocketMessageTypesUnion |
Returns
string
Methods
connect
▸ connect(args
): Promise
<void
>
Connects to the existing meeting
Parameters
Name | Type | Description |
---|---|---|
args | MeeConnectArgs | An object containing necessary information for connecting to the meeting |
Returns
Promise
<void
>
create
▸ create(args
): Promise
<string
>
Creates a new meeting
Parameters
Name | Type |
---|---|
args | Object |
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
Name | Type |
---|---|
args | Object |
args.abortController? | AbortController |
args.meetingId | string |
Returns
Promise
<Status
<unknown
>>