Skip to content

fix(tv/apple): stop the AVPlayer seek bar bouncing after a seek - #593

Merged
playbridgeapp merged 1 commit into
mainfrom
fix/appletv-seek-bar-bounce
Nov 29, 2026
Merged

playbridgeapp merged 1 commit into
mainfrom
fix/appletv-seek-bar-bounce

Conversation

@playbridgeapp

Copy link
Copy Markdown
Owner

What

On the Apple TV, seeking in an HLS stream on AVPlayer made the seek bar circle go forward, back, then forward again.

AVPlayer reports the old position until the seek finishes, then where it landed. On HLS that is a segment start, often seconds before the target. The bar showed each of them in turn.

SeekBarHold keeps the bar on the seek target until playback gets within 1 s of it, the player is paused after the seek finishes, or 6 s pass. The position sent to phones and the watch party is unchanged; only the TV's own bar is held. mpv is not affected (checked on the device) and is untouched.

Checks

  • Added SeekBarHold cases to tv/apple/tests/ReceiverReviewTests.swift; run-receiver-review-checks.sh passes.
  • tvOS device build succeeds.
  • Tried on the Apple TV with an HLS stream from a website: the bounce is gone.

Changelog line goes on the release branch after this merges.

🤖 Generated with Claude Code

After AVPlayer.seek the player reports the old position and then where
it landed, which on HLS is often a few seconds before the target, so the
bar went forward, back and forward again. The bar now stays on the seek
target until playback reaches it, the player is paused after landing, or
6 seconds pass. Positions sent to phones and the party are unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@playbridgeapp
playbridgeapp merged commit 4271760 into main Nov 29, 2026
9 checks passed
@playbridgeapp
playbridgeapp deleted the fix/appletv-seek-bar-bounce branch November 29, 2026 03:42
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.

1 participant