- getInitials()
Code from ui-kit. Same method used in the avatar component
Disable PiP
Kind: instance property of RTKPip
Initialize PiP and prepare sources
Kind: instance method of RTKPip
| Param | Type |
|---|---|
| [options] | Object |
| [options.height] | number |
| [options.width] | number |
Kind: instance method of RTKPip
| Param | Type |
|---|---|
| source | string |
Add a video source from the participant grid
Kind: instance method of RTKPip
| Param | Type | Description |
|---|---|---|
| id | string |
id for the source (ex. participant id) |
| element | HTMLVideoElement |
HTMLVideoElement for the video source |
| enabled | boolean |
if source is enabled |
| [displayText] | string |
two character display text |
Update a video source
Kind: instance method of RTKPip
| Param | Type |
|---|---|
| id | string |
| source | any |
Remove the video source for the participant
Kind: instance method of RTKPip
| Param | Description |
|---|---|
| id | id for the source (ex. participant id) |
Remove the pinned source
Kind: instance method of RTKPip
| Param | Description |
|---|---|
| id | id for the source (ex. participant id) |
Remove all sources
Kind: instance method of RTKPip
Enable PiP
Kind: instance method of RTKPip
Code from ui-kit. Same method used in the avatar component
Kind: global function