Commit Graph

18 Commits

Author SHA1 Message Date
Marc Rousavy
a02f378a4b
docs: Lifecycle (#182)
* Add docs for Lifecycle

* Update CAPTURING.mdx

* move

* Update DEVICES.mdx

* Update FRAME_PROCESSOR_PLUGIN_LIST.mdx

* f

* move FP

* separate focusing

* fix links
2021-06-07 15:55:20 +02:00
Marc Rousavy
45e7105bdf
docs: Add api link (#181)
* Add API link to `supportsPhotoAndVideoCapture`

* Update DEVICES.mdx

* and -> or

* add link

* Update CAPTURING.mdx

* Update DEVICES.mdx

* Make links relative
2021-06-07 13:39:36 +02:00
Marc Rousavy
72a1fad78e
feat: Separate usecases (decouple microphone, video, photo) (#168)
* Add props

* add props (iOS)

* Add use-cases conditionally

* Update CameraView+RecordVideo.swift

* Update RecordingSession.swift

* reconfigure on change

* Throw correct errors

* Check for audio permission

* Move `#if` outward

* Throw appropriate errors

* Update CameraView+RecordVideo.swift

* fix Splashscreen

* Dynamic filePath

* Fix video extension

* add `avci` and `m4v` file types

* Fix RecordVideo errors

* Fix audio setup

* Enable `photo`, `video` and `audio`

* Check for `video={true}` in frameProcessor

* format

* Remove unused DispatchQueue

* Update docs

* Add `supportsPhotoAndVideoCapture`

* Fix view manager

* Fix error not being propagated

* Catch normal errors too

* Update DEVICES.mdx

* Update CAPTURING.mdx

* Update classdocs
2021-06-07 13:08:40 +02:00
Marc Rousavy
555474be7d
fix: Represent neutralZoom in factor instead of percentage (#179)
* Use factor instead of percent for `neutralZoom`

* fix zoom calculation

* Update CameraPage.tsx
2021-06-07 10:46:53 +02:00
Marc Rousavy
9320e356e3
Get sizes per ImageFormat/PixelFormat (#119)
* Get sizes per ImageFormat/PixelFormat

* Fix `getOutputMinFrameDuration` crashing

* Fix `isHighestPhotoQualitySupported`

* Add TS type explanations

* Update CameraDevice.ts

* Update CameraViewModule.kt

* Add link to AVCaptureColorSpace apple docs
2021-04-13 13:01:24 +02:00
Marc Rousavy
7c33839e36
Reformat (#116)
* Reformat

* Prettier: Print Width 140

* SwiftFormat: Disable `organizeDeclarations`

* React Helpers -> React Utils

* Use bundle exec for pods

* Disable Hermes in Example

* Create clean.sh

* Update package.json

* Re-generate lockfiles

* Add bundle install step to bootstrap
2021-03-31 15:43:29 +02:00
Marc Rousavy
f0828e63f0
Fix docs broken links (#97)
* Fix broken CameraProps.format link

* Use absolute urls for SETUP.mdx
2021-03-23 15:49:58 +01:00
Marc Rousavy
48821d50ca
Move Guides to docs/guides directory (#96)
* Move Guides to docs/guides directory

* Rename sidebar

* Fix api/ links

* Update SETUP.mdx
2021-03-23 15:25:27 +01:00
Marc Rousavy
db8960580f
Feature/supports focus (#72)
* Add `supportsFocus` prop to CameraDevice

* Add true-depth camera again

* Revert "Add true-depth camera again"

This reverts commit 5814b8ca7a15b3273ff29498144bb352619a4c1d.
2021-03-17 18:07:05 +01:00
Marc Rousavy
9f30348053 Filter out true-depth-camera in getAvailableCameraDevices 2021-03-17 15:30:17 +01:00
Marc Rousavy
bfba6a95ee Use @linkcode for typedocs 2021-03-08 18:51:53 +01:00
Marc Rousavy
66aae62d17 Add more TypeDoc links 2021-03-08 18:21:30 +01:00
Marc Rousavy
f051481010
Devops/reviewdog typescript (#25)
* Use reviewdog for TSC

* Replace all `type Readonly<T>` with `interface T`

* Use --frozen-lockfile for yarn

* Give all actions a name

* Fix yarn example
2021-03-08 17:51:47 +01:00
Marc Rousavy
0b7b4d50b5
Automatically build API documentation (#11)
* Automatically build API documentation using Typedoc and Docusaurus
* Move MD and move to MDX for Docusaurus Guides
2021-03-03 12:37:43 +01:00
Marc Rousavy
4d8baf8cfa Update CameraDevice.ts 2021-02-20 17:11:17 +01:00
Marc Rousavy
dc2be934f6 ESLint autofix 2021-02-20 17:07:10 +01:00
Marc Rousavy
b2594f3e12 import type 2021-02-19 16:24:28 +01:00
Marc Rousavy
c04a4b72be Bootstrap 2021-02-19 16:07:53 +01:00