update docs
This commit is contained in:
parent
ac40880df0
commit
2915b176b2
@ -74,7 +74,7 @@ While taking snapshots is faster than taking photos, the resulting image has way
|
|||||||
:::
|
:::
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
The `takeSnapshot` function also works with `photo={false}`. For this reason, **devices that do not support photo and video capture** at the same time (see ["The `supportsPhotoAndVideoCapture` prop"](/docs/guides/devices/#the-supportsphotoandvideocapture-prop)) can use `video={true}` and **fall back to snapshot capture** for photos. (See ["Taking Snapshots"](/docs/guides/capturing#taking-snapshots))
|
The `takeSnapshot` function also works with `photo={false}`. For this reason, devices that do not support photo and video capture at the same time (see ["The `supportsPhotoAndVideoCapture` prop"](/docs/guides/devices/#the-supportsphotoandvideocapture-prop)) can use `video={true}` and fall back to snapshot capture for photos. (See ["Taking Snapshots"](/docs/guides/capturing#taking-snapshots))
|
||||||
:::
|
:::
|
||||||
|
|
||||||
## Recording Videos
|
## Recording Videos
|
||||||
|
@ -125,10 +125,6 @@ function App() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
:::info
|
|
||||||
If you don't care about fast resume times you can also fully unmount the `<Camera>` view instead, which will use less memory (RAM).
|
|
||||||
:::
|
|
||||||
|
|
||||||
### The `supportsPhotoAndVideoCapture` prop
|
### The `supportsPhotoAndVideoCapture` prop
|
||||||
|
|
||||||
Camera devices provide the [`supportsPhotoAndVideoCapture` property](/docs/api/interfaces/cameradevice.cameradevice-1#supportsphotoandvideocapture) which determines whether the device supports enabling photo- and video-capture at the same time.
|
Camera devices provide the [`supportsPhotoAndVideoCapture` property](/docs/api/interfaces/cameradevice.cameradevice-1#supportsphotoandvideocapture) which determines whether the device supports enabling photo- and video-capture at the same time.
|
||||||
|
Loading…
Reference in New Issue
Block a user