react-native-vision-camera/ios/React Utils
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
..
Callback.swift fix: Make recorder less error-prone (#189) 2021-06-09 14:56:56 +02:00
JSConsoleHelper.h fix: Move Audio Input initialization shortly before startRecording (#159) 2021-06-03 14:16:02 +02:00
JSConsoleHelper.mm fix: Move Audio Input initialization shortly before startRecording (#159) 2021-06-03 14:16:02 +02:00
JSIUtils.h fix: Fix AVAudioSession not allowing background music playback (#155) 2021-06-01 13:07:57 +02:00
JSIUtils.mm fix: Remove RCTTurboModuleBlockCopyEnabled() 2021-07-26 10:12:26 +02:00
MakeJSIRuntime.h chore: Clean up root directory (#236) 2021-07-06 16:42:58 +02:00
MakeReactError.swift chore: Move to /mrousavy/ (#224) 2021-06-21 22:42:46 +02:00
Promise.swift chore: Move to /mrousavy/ (#224) 2021-06-21 22:42:46 +02:00
RCTBridge+runOnJS.h fix: Fix AVAudioSession not allowing background music playback (#155) 2021-06-01 13:07:57 +02:00
RCTBridge+runOnJS.mm fix: Fix AVAudioSession not allowing background music playback (#155) 2021-06-01 13:07:57 +02:00
ReactLogger.swift feat: frameProcessorFps="auto" and automatic performance suggestions (throttle or increase FPS) (#393) 2021-09-06 16:27:16 +02:00