IConferenceSession
@auvious/rtc / Exports / IConferenceSession
Interface: IConferenceSession
Table of contents
Properties
Methods
- getConferenceMetadata
- getMetadata
- hold
- isEstablished
- isInProgress
- isOnHold
- leave
- on
- publish
- removeConferenceMetadata
- setConferenceMetadata
- terminate
- unhold
- unpublish
- updateMetadata
Properties
conference
• conference: IConference
direction
• Readonly
direction: string
eventHandlers
• eventHandlers: IConferenceSessionEventHandlers
id
• id: string
remoteEndpoint
• Readonly
remoteEndpoint: IEndpoint
<{ [key: string]
: any
; }>
Methods
getConferenceMetadata
▸ getConferenceMetadata(): ConferenceMetadata
Returns
getMetadata
▸ getMetadata(endpoint
): Metadata
Parameters
Name | Type |
---|---|
endpoint | IEndpoint <{ [key: string] : any ; }> |
Returns
hold
▸ hold(): Promise
<void
>
Returns
Promise
<void
>
isEstablished
▸ isEstablished(): boolean
Returns
boolean
isInProgress
▸ isInProgress(): boolean
Returns
boolean
isOnHold
▸ isOnHold(): boolean
Returns
boolean
leave
▸ leave(reason?
): void
Parameters
Name | Type |
---|---|
reason? | string |
Returns
void
on
▸ on(eventId
, handler
): any
Parameters
Name | Type |
---|---|
eventId | string |
handler | (event? : any ) => void |
Returns
any
publish
▸ publish(options
): Promise
<IPublishedStream
>
Parameters
Name | Type |
---|---|
options | IPublishOptions |
Returns
Promise
<IPublishedStream
>
removeConferenceMetadata
▸ removeConferenceMetadata(key
): Promise
<void
>
Parameters
Name | Type |
---|---|
key | string |
Returns
Promise
<void
>
setConferenceMetadata
▸ setConferenceMetadata(key
, value
): Promise
<void
>
Parameters
Name | Type |
---|---|
key | string |
value | string |
Returns
Promise
<void
>
terminate
▸ terminate(reason?
): void
Parameters
Name | Type |
---|---|
reason? | string |
Returns
void
unhold
▸ unhold(): Promise
<void
>
Returns
Promise
<void
>
unpublish
▸ unpublish(stream
): void
Parameters
Name | Type |
---|---|
stream | IStream |
Returns
void
updateMetadata
▸ updateMetadata(metadata
): Promise
<void
>
Parameters
Name | Type |
---|---|
metadata | Metadata |
Returns
Promise
<void
>