react-native-vision-camera/src
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
..
hooks chore: Move to /mrousavy/ (#224) 2021-06-21 22:42:46 +02:00
utils fix: Fix AVAudioSession not allowing background music playback (#155) 2021-06-01 13:07:57 +02:00
Camera.tsx fix: Fix unset Frame Processor not being called 2021-06-29 09:05:18 +02:00
CameraDevice.ts feat: Frame Processors for Android (#196) 2021-06-27 12:37:54 +02:00
CameraError.ts fix: Rename incorrect error type name parallel-video-processing-not-supported 2021-06-27 13:47:35 +02:00
CameraPosition.ts ESLint autofix 2021-02-20 17:07:10 +01:00
CameraPreset.ts ESLint autofix 2021-02-20 17:07:10 +01:00
CameraProps.ts feat: Frame Processors for Android (#196) 2021-06-27 12:37:54 +02:00
Frame.ts feat: Implement Frame.close() (#229) 2021-07-06 10:08:44 +02:00
globals.d.ts Revert "Update globals.d.ts" 2021-05-06 16:12:43 +02:00
index.ts feature: Frame Processors (iOS) (#2) 2021-05-06 14:11:55 +02:00
PhotoFile.ts feat: High quality mode (enableHighQualityPhotos) (#194) 2021-06-10 13:49:34 +02:00
Point.ts Bootstrap 2021-02-19 16:07:53 +01:00
Snapshot.ts feat: Frame Processors for Android (#196) 2021-06-27 12:37:54 +02:00
TemporaryFile.ts Update TemporaryFile.ts 2021-03-08 18:00:30 +01:00
VideoFile.ts chore: Move to /mrousavy/ (#224) 2021-06-21 22:42:46 +02:00