-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some Users Unable to Continue #175
Comments
We've previously spent a considerable amount of time on this issue previously and have determined that some Huawei devices and OS combinations have faulty vp8 encoder implementations. The Liveness library encodes library in VP8 and packages in the WebM format. It appears that the encoder enters a faulty state and dies. Many times, a simple device restart resolves the issue for customers (an app restart is not enough) Because this is a device specific bug, there is nothing that we can do to work around the encoder failing to write VP8. We recently enabled VP9 support on the service side, as we determined that these specific devices do come with VP9 encoders that don't appear to face the same problem. I have a custom branch where this work was being tested here: https://github.com/aws-amplify/amplify-ui-android/tree/tjroach/vp9-testing. VP9 has not been extensively tested on our end, and we want to keep VP8 support as the default as it is well tested, and is the most available/compatible format when compared to VP9. We're a bit hesitant to start writing if/else logic to work around specific manufacturer/device issues. If this issue continues to be a concern, please reach out to us via your Liveness support contact and we can open up a ticket to present options at this time. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Before opening, please confirm:
Language and Async Model
Kotlin
Amplify Categories
Not applicable
Gradle script dependencies
Environment information
Please include any relevant guides or documentation you're referencing
https://docs.aws.amazon.com/rekognition/latest/APIReference/API_rekognitionstreaming_StartFaceLivenessSession.html
Describe the bug
When a user opens the SDK, the video freezes and then the scanning starts even though their face is not in the oval. After checking the logs, we found the following exception that we sent as a JSON string:
"{\"throwable_cause\":\"ValidationException(message=End video event received before first valid video event.)\",\"throwable_message\":\"An error occurred during the face liveness flow.\",\"exception_message\":\"An error occurred during the face liveness flow.\",\"recovery_suggestion\":\"See attached exception for more details.\"}"
Reproduction steps (if applicable)
The issue has been reported on the following devices:
Huawei 30 Pro, Huawei p 20 pro
Code Snippet
// Put your code below this line.
Log output
amplifyconfiguration.json
No response
GraphQL Schema
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: