Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit b99cc8f

Browse files
committed
Merge branch 'eomine-fix_rec_video_orientation_hint'
2 parents f694ec4 + 968e3bf commit b99cc8f

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ cameraView.setFacing(CameraKit.Constants.FACING_FRONT);
174174
- - -
175175

176176
### `ckFlash`
177-
[`off`](#off) [`on`](#on) [`auto`](#auto)
177+
[`off`](#off) [`on`](#on) [`auto`](#auto) [`torch`](#torch)
178178

179179
#### `off`
180180

@@ -194,6 +194,11 @@ cameraView.setFlash(CameraKit.Constants.FLASH_ON);
194194
cameraView.setFlash(CameraKit.Constants.FLASH_AUTO);
195195
```
196196

197+
#### `torch`
198+
```java
199+
cameraView.setFlash(CameraKit.Constants.FLASH_TORCH);
200+
```
201+
197202
- - -
198203

199204
### `ckFocus`
@@ -316,7 +321,7 @@ cameraView.setJpegQuality(100);
316321
- - -
317322

318323
### `ckVideoQuality`
319-
[`max480p`](#max480p) [`max720p`](#max720p) [`max1080p`](#max1080p) [`max2160p`](#max2160p) [`highest`](#highest) [`lowest`](#lowest)
324+
[`max480p`](#max480p) [`max720p`](#max720p) [`max1080p`](#max1080p) [`max2160p`](#max2160p) [`lowest`](#lowest) [`highest`](#highest) [`qvga`](#qvga)
320325

321326
#### `max480p`
322327

@@ -354,6 +359,12 @@ cameraView.setVideoQuality(CameraKit.Constants.VIDEO_QUALITY_LOWEST);
354359
cameraView.setVideoQuality(CameraKit.Constants.VIDEO_QUALITY_HIGHEST);
355360
```
356361

362+
#### `qvga`
363+
364+
```java
365+
cameraView.setVideoQuality(CameraKit.Constants.VIDEO_QUALITY_QVGA);
366+
```
367+
357368
- - -
358369

359370
## Automatic Permissions Behavior

camerakit/src/main/res/values/attrs.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@
4747
<attr name="ckJpegQuality" format="integer" />
4848

4949
<attr name="ckVideoQuality" format="enum">
50-
<enum name="maxQVGA" value="6" />
5150
<enum name="max480p" value="0" />
5251
<enum name="max720p" value="1" />
5352
<enum name="max1080p" value="2" />
5453
<enum name="max2160p" value="3" />
5554
<enum name="highest" value="4" />
5655
<enum name="lowest" value="5" />
56+
<enum name="qvga" value="6" />
5757
</attr>
5858

5959
<attr name="ckCropOutput" format="boolean" />

0 commit comments

Comments
 (0)