Fix .md links
This commit is contained in:
parent
79c5c0717e
commit
a39496fa3a
@ -1,16 +1,3 @@
|
|||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<th><a href="./README.md">README.md</a></th>
|
|
||||||
<th><a href="./docs/ANIMATED.md">ANIMATED.md</a></th>
|
|
||||||
<th><a href="./docs/DEVICES.md">DEVICES.md</a></th>
|
|
||||||
<th><a href="./docs/FORMATS.md">FORMATS.md</a></th>
|
|
||||||
<th><a href="./docs/ERRORS.md">ERRORS.md</a></th>
|
|
||||||
<th>CONTRIBUTING.md</th>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<br />
|
|
||||||
|
|
||||||
# Contributing
|
# Contributing
|
||||||
|
|
||||||
## Guidelines
|
## Guidelines
|
||||||
|
@ -54,7 +54,7 @@ console.log(deviceType)
|
|||||||
// --> "triple-camera"
|
// --> "triple-camera"
|
||||||
```
|
```
|
||||||
|
|
||||||
The `CameraDevice` type also contains other useful information describing a camera device, such as `position` ("front", "back", ...), `hasFlash`, it's `formats` (See [Camera Formats](./FORMATS.md)), and more.
|
The `CameraDevice` type also contains other useful information describing a camera device, such as `position` ("front", "back", ...), `hasFlash`, it's `formats` (See [Camera Formats](formats)), and more.
|
||||||
|
|
||||||
:::caution
|
:::caution
|
||||||
Make sure to be careful when filtering out unneeded camera devices, since not every phone supports all camera device types. Some phones don't even have front-cameras. You always want to have a camera device, even when it's not the one that has the best features.
|
Make sure to be careful when filtering out unneeded camera devices, since not every phone supports all camera device types. Some phones don't even have front-cameras. You always want to have a camera device, even when it's not the one that has the best features.
|
||||||
|
@ -12,7 +12,7 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
|
|||||||
|
|
||||||
### What are camera formats?
|
### What are camera formats?
|
||||||
|
|
||||||
Each camera device (see [Camera Devices](./DEVICES.md)) provides a number of capture formats that have different specifications. There are formats specifically designed for high-resolution photo capture, which have very high photo output quality but in return only support frame-rates of up to 30 FPS. On the other side, there might be formats that are designed for slow-motion video capture which have frame-rates up to 240 FPS.
|
Each camera device (see [Camera Devices](devices)) provides a number of capture formats that have different specifications. There are formats specifically designed for high-resolution photo capture, which have very high photo output quality but in return only support frame-rates of up to 30 FPS. On the other side, there might be formats that are designed for slow-motion video capture which have frame-rates up to 240 FPS.
|
||||||
|
|
||||||
### What if I don't want to choose a format?
|
### What if I don't want to choose a format?
|
||||||
|
|
||||||
@ -54,7 +54,7 @@ To understand a bit more about camera formats, you first need to understand a fe
|
|||||||
|
|
||||||
Each application has different needs, so the format filtering is up to you.
|
Each application has different needs, so the format filtering is up to you.
|
||||||
|
|
||||||
To get all available formats, simply use the `CameraDevice`'s `.formats` property. See how to get a camera device in the [DEVICES.md](./DEVICES.md) doc.
|
To get all available formats, simply use the `CameraDevice`'s `.formats` property. See how to get a camera device in the [Camera Devices guide](devices).
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
You can also manually get all camera devices and decide which device to use based on the available `formats`. In fact, this is how we do it in the [Cuvent](https://cuvent.com) app.
|
You can also manually get all camera devices and decide which device to use based on the available `formats`. In fact, this is how we do it in the [Cuvent](https://cuvent.com) app.
|
||||||
|
Loading…
Reference in New Issue
Block a user