Skip to content

[v15] player: fix seeking during dead time#40442

Merged
zmb3 merged 7 commits intobranch/v15from
bot/backport-38914-branch/v15
Apr 12, 2024
Merged

[v15] player: fix seeking during dead time#40442
zmb3 merged 7 commits intobranch/v15from
bot/backport-38914-branch/v15

Conversation

@zmb3
Copy link
Copy Markdown
Collaborator

@zmb3 zmb3 commented Apr 10, 2024

Backport #38914 to branch/v15

changelog: Improved the responsiveness of the session player during long periods of idle time.

zmb3 added 7 commits April 10, 2024 23:18
This addresses a bug in the new player API where the player does
not respond to seeking during large periods of "dead time."
For example, if there is 30 seconds of dead time between two events,
the player is effectively in a 30 second sleep. Attempting to change
the position of playback during this 30-second period works, but is
not observed until the sleep completes.

With this change, the sleep period is canceled when the user seeks
to a new position.

Fixes #38560
Restart the stream in this case rather than trying to keep server
and client state in sync.
@zmb3 zmb3 added this pull request to the merge queue Apr 12, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 12, 2024
@zmb3 zmb3 added this pull request to the merge queue Apr 12, 2024
Merged via the queue into branch/v15 with commit db2a49a Apr 12, 2024
@zmb3 zmb3 deleted the bot/backport-38914-branch/v15 branch April 12, 2024 22:04
@camscale camscale mentioned this pull request Apr 24, 2024
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