VEX-7861: Port previous fixes to current code #41
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR ports previous fixes to the latest react-native-video
Jira: VEX-7861
Velocity PR: https://github.com/crunchyroll/velocity/pull/2680
Previous improvements were not merged to the upstream and were lost when we upgraded the version, this PR ports the fixes to the current code.
Specifically, the fixes are, to disable backbuffer when free memory is too low, and restrict the maximum video quality based on the device's capabilities
Reviews
PR Checklist
Testing instructions
Android mobile
Test harness: https://static.cx-staging.com/vilos-v2-qa/task/VEX-7861-re-enable-backbuffer/android-mobile/android-app-debug.apk
Client app: https://static.cx-staging.com/vilos-v2-qa/task/VEX-7861-re-enable-backbuffer/androidmobile-client/etp-android-debug.apk
Android mobile phone