Interface: Call
Properties
bandwidth
• bandwidth: number
disconnect
• disconnect: () => void
Type declaration
▸ (): void
Returns
void
mediaStream
• Optional mediaStream: MediaStream
present
• present: (stream?: MediaStream) => Promise<void>
Type declaration
▸ (stream?): Promise<void>
Parameters
| Name | Type |
|---|---|
stream? | MediaStream |
Returns
Promise<void>
presoState
• presoState: PresoState
receivePresentation
• receivePresentation: (event: NormalizedPresentationEvent) => Promise<void>
Type declaration
▸ (event): Promise<void>
Parameters
| Name | Type |
|---|---|
event | NormalizedPresentationEvent |
Returns
Promise<void>
sendDataChannelEvent
• sendDataChannelEvent: (msg: DataChannelEvent) => void
Type declaration
▸ (msg): void
Parameters
| Name | Type |
|---|---|
msg | DataChannelEvent |
Returns
void
setBandwidth
• setBandwidth: (bandwidth: number) => void
Type declaration
▸ (bandwidth): void
Parameters
| Name | Type |
|---|---|
bandwidth | number |
Returns
void
setStream
• setStream: (stream: MediaStream) => void
Type declaration
▸ (stream): void
Parameters
| Name | Type |
|---|---|
stream | MediaStream |
Returns
void
stopPresenting
• stopPresenting: () => Promise<void>
Type declaration
▸ (): Promise<void>
Returns
Promise<void>
stopReceivingPresentation
• stopReceivingPresentation: () => void
Type declaration
▸ (): void
Returns
void