docs: Add examples for supportsParallelVideoProcessing
This commit is contained in:
parent
bdad8c1295
commit
070d00718c
@ -110,10 +110,10 @@ If this property is `false`, you can either enable `video`, or add a `frameProce
|
||||
|
||||
#### Examples
|
||||
|
||||
* An app that only supports **taking photos** works on every Camera device because this only affects _video processing_.
|
||||
* An app that supports **taking photos** and **videos** works on every Camera device because only a single _video processing_ feature is used (`video`).
|
||||
* An app that only uses **Frame Processors** (no taking photos or videos) works on every Camera device because it only uses a single _video processing_ feature (`frameProcessor`).
|
||||
* An app that uses **Frame Processors** and supports **taking photos** and **videos** only works on Camera devices where `supportsParallelVideoProcessing` is `true`. (iPhones and newer Android Phones)
|
||||
* An app that only supports **taking photos** (e.g. a vintage Polaroid Camera app) works on every Camera device because the `supportsParallelVideoProcessing` only affects _video processing_.
|
||||
* An app that supports **taking photos** and **videos** (e.g. a Camera app) works on every Camera device because only a single _video processing_ feature is used (`video`).
|
||||
* An app that only uses **Frame Processors** (e.g. the "Hotdog/Not Hotdog detector" app) (no taking photos or videos) works on every Camera device because it only uses a single _video processing_ feature (`frameProcessor`).
|
||||
* An app that uses **Frame Processors** and supports **taking photos** and **videos** (e.g. Snapchat, Instagram) only works on Camera devices where `supportsParallelVideoProcessing` is `true`. (iPhones and newer Android Phones)
|
||||
|
||||
:::note
|
||||
Actually the limitation also affects the `photo` feature, but VisionCamera will automatically fall-back to **Snapshot capture** if you are trying to use multiple features (`photo` + `video` + `frameProcessor`) and they are not natively supported. (See ["Taking Snapshots"](/docs/guides/capturing#taking-snapshots))
|
||||
|
Loading…
Reference in New Issue
Block a user