Preserve the Aether renderer across episode autoplay - #8
Open
blurbery wants to merge 2 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What I changed
I traced the Episode 3 to Episode 4 autoplay failure live on my server. Episode 4 stayed on the direct-play DV7 route, its playback clock and audio continued, and every media range returned successfully, but the picture remained black.
The Apple player was treating every replacement load as a final Aether teardown. On tvOS that discarded the native player and video layer, reset the display criteria, and released the shared audio session immediately before the next episode started. It bypassed Aether’s supported back-to-back load handoff.
I added a separate replacement path that:
This keeps Episode 4 on the same quality and direct-play route as Episode 3. It does not force a remux or transcode to hide the renderer problem.
Validation
Related fix
This is the Apple renderer half of the playback fix. The server authentication half is blurbery/silo-server#52, which prevents long-running Apple media requests from failing when the bearer token snapshot expires.