aws-amplify / amplify-ui-swift-liveness

This repository offers a UI component for Amazon Rekognition Face Liveness, enabling developers to ensure that only authentic users, and not bad actors using spoofs, can access their services.
https://ui.docs.amplify.aws/swift/connected-components/liveness
Apache License 2.0
8 stars 18 forks source link

Crash with NSInternalInconsistencyException #81

Closed ntnmrndn closed 7 months ago

ntnmrndn commented 7 months ago

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: ' -[AVAssetWriterInputPixelBufferAdaptor appendPixelBuffer:withPresentationTime:] Must start a session (using -[AVAssetWriter startSessionAtSourceTime:) before appending pixel buffers'

This happened when retrying again after a a liveness verification froze before timing out.

Might be related: https://github.com/aws-amplify/amplify-ui-swift-liveness/issues/74#issue-1990100117

phantumcode commented 7 months ago

@ntnmrndn Thanks for submitting the issue, we'll investigate and provide a fix soon.

phantumcode commented 7 months ago

Closing this as a duplicate of #68