File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,23 @@ title: Functions
55
66Use the following API functions to control your embedded Jitsi Meet Conference.
77
8+ ### captureCameraPicture
9+
10+ Mobile browsers only. Captures a high quality picture using the device's camera. All parameters are optional.
11+
12+ ``` javascript
13+ api .captureCameraPicture (
14+ cameraFacingMode, // the facing mode: environment/user. Defaults to environment.
15+ descriptionText, // a custom description text to replace the default text on the consent dialog.
16+ titleText // a custom title to replace the default title on the consent dialog.
17+ ).then (data => {
18+ // data is an Object with only one param, either dataURL on success or error on failure.
19+ // - dataURL is the base64 string of the taken picture
20+ // - error is a string, a verbose explanation of the problem
21+ // data.dataURL = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABQAA..."
22+ });
23+ ```
24+
825### captureLargeVideoScreenshot
926
1027Captures a screenshot for the participant in the large video view (on stage).
You can’t perform that action at this time.
0 commit comments