mirror of
https://github.com/androidx/media.git
synced 2025-05-09 08:30:43 +08:00

*** Original commit *** Rollback ofd48dc4c159
*** Original commit *** Move getting-stuck-prevention into DefaultLoadControl. We recently added code that prevents getting stuck if the buffer is low and the LoadControl refuses to continue loading (b84bde0252
). Move this logic into DefaultLoadControl to keep the workaround, and also apply the maximum buffer size check in bytes if enabled. ExoPlayerImplInternal will now throw if a... *** PiperOrigin-RevId: 290273295