react-native-vision-camera/example/src
Marc Rousavy ad5e131f6a
feat: frameProcessorFps="auto" and automatic performance suggestions (throttle or increase FPS) (#393)
* Add `onFrameProcessorPerformanceSuggestionAvailable` and make `frameProcessorFps` support `auto`

* Implement performance suggestion and auto-adjusting

* Fix FPS setting, evaluate correctly

* Floor suggested FPS

* Remove `console.log` for frame drop warnings.

* Swift format

* Use `30` magic number

* only call if FPS is different

* Update CameraView.swift

* Implement Android 1/2

* Cleanup

* Update `frameProcessorFps` if available

* Optimize `FrameProcessorPerformanceDataCollector` initialization

* Cache call

* Set frameProcessorFps directly (Kotlin setter)

* Don't suggest if same value

* Call suggestion every second

* reset time on set

* Always store 15 last samples

* reset counter too

* Update FrameProcessorPerformanceDataCollector.swift

* Update CameraView+RecordVideo.swift

* Update CameraView.kt

* iOS: Redesign evaluation

* Update CameraView+RecordVideo.swift

* Android: Redesign evaluation

* Update CameraView.kt

* Update REA to latest alpha and install RNScreens

* Fix frameProcessorFps updating
2021-09-06 16:27:16 +02:00
..
frame-processors fix: Fix TypeScript relative imports (#358) 2021-08-16 10:45:41 +02:00
hooks chore: Simplify format sorting/filtering (#140) 2021-05-14 11:52:28 +02:00
views feat: BREAKING CHANGE: Express zoom factor always in actual factor value (1, 2, 128, ...) instead of 0.0-1.0 scale (#306) 2021-07-29 11:44:22 +02:00
CameraPage.tsx feat: frameProcessorFps="auto" and automatic performance suggestions (throttle or increase FPS) (#393) 2021-09-06 16:27:16 +02:00
Constants.ts chore: Simplify format sorting/filtering (#140) 2021-05-14 11:52:28 +02:00
MediaPage.tsx fix: Fix AVAudioSession not allowing background music playback (#155) 2021-06-01 13:07:57 +02:00
Splash.tsx feat: Separate usecases (decouple microphone, video, photo) (#168) 2021-06-07 13:08:40 +02:00