Skip to content

Commit

Permalink
Update iframe-functions.md
Browse files Browse the repository at this point in the history
New function see, jitsi/jitsi-meet#15324
  • Loading branch information
HannesOberreiter authored and saghul committed Dec 16, 2024
1 parent 82bebbf commit 1ac29f2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/dev-guide/iframe-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,18 @@ Sets the video input device to the one with the passed label or ID.
api.setVideoInputDevice(deviceLabel, deviceId);
```

### setVirtualBackground

Set your virtual background with a base64 image.

```javascript
/**
* @param {boolean} enabled - Enable or disable the virtual background.
* @param {string} backgroundImage - Base64 image string, eg. "data:image/png;base64, iVBOR...".
*/
api.setVirtualBackground(enabled, backgroundImage);
```

### startRecording

Starts a file recording or streaming session. See the `startRecording` command for more details.
Expand Down

0 comments on commit 1ac29f2

Please sign in to comment.