react-native-vision-camera/ios/Frame Processor
Marc Rousavy fa5f5c0cab
feat: Implement Frame.close() (#229)
* Implement `Frame.close()`

* close frame in dtor

* Update JImageProxyHostObject.cpp

* fix close

* Check if closed

* remove a few logs

* r

* fix `isValid` and `isReady`

* Add JImage

* Release JNI frame ref on destroy

* fix pod setup

* Fix isValid call

* Fix `close` not returning a function

* throw error if closed twice

* iOS: Schedule `console.error` call on JS thread

* Android: Log Frame Processor Error to JS

* fix syntax

* Check if valid `toString()`

* Update Frame.ts

* Remove `isReady`

* Fix JImage accessors

* remove `JImage` C++ sources

* Throw error if accessing props on closed Frame

* Delete `JImage.h`
2021-07-06 10:08:44 +02:00
..
Frame.h feat: native Frame type to provide Orientation (#186) 2021-06-09 10:57:05 +02:00
Frame.m feat: native Frame type to provide Orientation (#186) 2021-06-09 10:57:05 +02:00
FrameHostObject.h feat: Implement Frame.close() (#229) 2021-07-06 10:08:44 +02:00
FrameHostObject.mm feat: Implement Frame.close() (#229) 2021-07-06 10:08:44 +02:00
FrameProcessorCallback.h feat: native Frame type to provide Orientation (#186) 2021-06-09 10:57:05 +02:00
FrameProcessorPlugin.h feat: native Frame type to provide Orientation (#186) 2021-06-09 10:57:05 +02:00
FrameProcessorPluginRegistry.h feat: native Frame type to provide Orientation (#186) 2021-06-09 10:57:05 +02:00
FrameProcessorPluginRegistry.mm fix: Fix AVAudioSession not allowing background music playback (#155) 2021-06-01 13:07:57 +02:00
FrameProcessorRuntimeManager.h fix: Fix AVAudioSession not allowing background music playback (#155) 2021-06-01 13:07:57 +02:00
FrameProcessorRuntimeManager.mm try: Improvements from WWDC 2021 1:1 workshop (#197) 2021-06-11 21:06:19 +02:00
FrameProcessorUtils.h fix: Fix AVAudioSession not allowing background music playback (#155) 2021-06-01 13:07:57 +02:00
FrameProcessorUtils.mm feat: Implement Frame.close() (#229) 2021-07-06 10:08:44 +02:00