Skip to content
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

fix!(android): improve and backBufferDurationMs. mainly let exoplayer manage the prop #3619

Conversation

freeboub
Copy link
Collaborator

⚠️ BREAKING CHANGE: move backBufferDurationMs from root props to bufferConfig

Summary

move backBufferDurationMs from root props to bufferConfig.
setBackBufferDurationMs was not working in case of low memory where exoplayer shall manage it by itself ...

Motivation

Clean api and fix expected behavior
Will address: #2977

Changes

move backBufferDurationMs from root props to bufferConfig.

Test plan

Tested with sample:

  • the the bufferingConfig prop and set backBufferDurationMs = 120000 (2 min)
  • play a VOD during 1:30 min
  • disconnect network
  • seek backward
    -> seek is done and playback continue (until end of buffered data)

…manage the prop

BREAKING CHANGE: move backBufferDurationMs from root props to bufferConfig
@KrzysztofMoch KrzysztofMoch changed the title fix(android): improve and backBufferDurationMs. mainly let exoplayer manage the prop fix!(android): improve and backBufferDurationMs. mainly let exoplayer manage the prop Mar 28, 2024
@freeboub freeboub merged commit f10511d into TheWidlarzGroup:master Mar 28, 2024
6 checks passed
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.

None yet

2 participants