Skip to content

Conversation

@mattcreaser
Copy link
Member

Issue #, if available: #288

Description of changes:
This PR adds an option to configure Liveness to use H264 codec (with a MP4 container) or VP9 (with WebM) in addition to the existing default of VP8 + WebM.

The purpose of this change is to enable an alternative to VP8, which is known to have issues encoding on certain Android devices. With this change customers can opt-in to using H264 instead on devices that are having issues with VP8.

We will work to augment this feature with codec auto-selection in a future release.

How did you test these changes?
Verified new codecs work on all the test devices we have.

Documentation update required?

  • No
  • Yes - Docs TBD

General Checklist

  • Added Unit Tests
  • Added Integration Tests
  • Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
  • Ensure commit message has the appropriate scope (e.g fix(liveness): message, fix(authenticator): message, fix(all): message)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Testing on multiple devices revealed that WebM has better support on older devices.
@mattcreaser mattcreaser requested review from a team as code owners January 12, 2026 19:37
@codecov
Copy link

codecov bot commented Jan 12, 2026

Codecov Report

❌ Patch coverage is 31.48148% with 74 lines in your changes missing coverage. Please review.
✅ Project coverage is 36.99%. Comparing base (249e4bf) to head (a4d3ce7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #293      +/-   ##
==========================================
- Coverage   37.44%   36.99%   -0.46%     
==========================================
  Files         122      122              
  Lines        4930     4890      -40     
  Branches      678      685       +7     
==========================================
- Hits         1846     1809      -37     
+ Misses       2902     2893       -9     
- Partials      182      188       +6     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant