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

Update ExoPlayer load and playback options #1808

Merged

Conversation

uvjustin
Copy link
Contributor

Summary

A delayed initial load (or subsequent delay) can push the ExoPlayer player back away from the live edge of a live HLS stream. This PR

  1. uses setLiveMaxSpeed to increase the rate at which the player can recover which should improve live latency.
    In addition, this PR
  2. adjusts the minimum buffer thresholds to 0 so that rebuffers don't take as long.
  3. It also enables QUIC for ExoPlayer requests.

Note there is a bug in stream which causes HLS playback problems in ExoPlayer. This should be fixed with home-assistant/core#58036

Screenshots

Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#

Any other notes

@JBassett JBassett merged commit 7f9e30d into home-assistant:master Oct 20, 2021
@uvjustin uvjustin deleted the increase-playback-speed-range branch October 21, 2021 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants