[video_player_android] Implement backBufferDurationMs in ExoPlayer#12124
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces support for configuring ExoPlayer's back buffer duration in the Android video player by adding a backBufferDurationMs option to CreationOptions and VideoPlayerOptions. This configuration is applied to DefaultLoadControl in both PlatformViewVideoPlayer and TextureVideoPlayer. The changes also include regenerated Pigeon messaging files and new unit tests to verify the behavior. Feedback suggests explicitly validating that backBufferDurationMs is non-negative and throwing an IllegalArgumentException if an invalid negative value is provided, rather than silently ignoring it.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
|
autosubmit label was removed for flutter/packages/12124, because - The status or check suite Linux_desktop build_all_packages stable has failed. Please fix the issues identified (or deflake) before re-applying this label.
|
|
@stuartmorgan-g, regenerated messages and the tests should pass now. Please add the CI/CD label again |
|
autosubmit label was removed for flutter/packages/12124, because - The status or check suite Linux repo_checks has failed. Please fix the issues identified (or deflake) before re-applying this label. |
…r#189194) flutter/packages@52d84d6...20928d5 2026-07-09 44525804+sailendrabathi@users.noreply.github.com [video_player_android] Implement backBufferDurationMs in ExoPlayer (flutter/packages#12124) 2026-07-09 bolling.ludwig@gmail.com [camera_platform_interface] Make setJpegImageQuality default a no-op (flutter/packages#12123) 2026-07-09 36081049+anirudhsharma392@users.noreply.github.com [local_auth] Clarify getAvailableBiometrics documentation regarding iOS permissions (flutter/packages#11901) 2026-07-09 stuartmorgan@google.com [ci] Add a third web Dart unit test shard (2/2) (flutter/packages#12150) 2026-07-08 stuartmorgan@google.com [ci] Add a third web Dart unit test shard (1/2) (flutter/packages#12138) 2026-07-08 43054281+camsim99@users.noreply.github.com Add pre-commit hook to verify static analysis passes & format is correct (flutter/packages#11941) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Adds
backBufferDurationMstovideo_player_androidThis PR has only the android package changes from the main PR: #11810.
Following PR split as per Changing federated plugins
Pre-Review Checklist
[shared_preferences]///).