Skip to content

Update ExoPlayer load and playback options#1808

Merged
JBassett merged 1 commit intohome-assistant:masterfrom
uvjustin:increase-playback-speed-range
Oct 20, 2021
Merged

Update ExoPlayer load and playback options#1808
JBassett merged 1 commit intohome-assistant:masterfrom
uvjustin:increase-playback-speed-range

Conversation

@uvjustin
Copy link
Copy Markdown
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