feat: Synchronize Frame properly (#2501)

* feat: Synchronize `Frame` properly

* Update CameraError.ts

* Image is not valid if `refCount` < 0
This commit is contained in:
Marc Rousavy
2024-02-05 12:34:32 +01:00
committed by GitHub
parent 97168c647c
commit d8c95c901f
3 changed files with 71 additions and 58 deletions

View File

@@ -40,6 +40,7 @@ export type CaptureError =
| 'capture/recorder-error'
| 'capture/video-not-enabled'
| 'capture/photo-not-enabled'
| 'capture/frame-invalid'
| 'capture/aborted'
| 'capture/unknown'
export type SystemError =