Skip to content

Commit

Permalink
Update iframe-commands.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesOberreiter authored and saghul committed Dec 16, 2024
1 parent 1ac29f2 commit f211dfb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/dev-guide/iframe-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -724,3 +724,14 @@ api.executeCommand('setAudioOnly',
enable: boolean // Required. true for enable and false for disable
);
```

### setVirtualBackground

Set your virtual background with a base64 image.

```javascript
api.executeCommand('setVirtualBackground',
enabled: boolean, // Required. Enable or disable the virtual background.
backgroundImage: string // Required. Base64 image string, eg. "data:image/png;base64, iVBOR...".
);
```

0 comments on commit f211dfb

Please sign in to comment.