Repository navigation
fix(apple): send video headers with separate audio - #1818
Merged
Merged
Conversation
Collaborator
Author
|
Reviewed. Audio now goes through the same |
houko
enabled auto-merge (rebase)
November 22, 2026 04:17
houko
force-pushed
the
fix/apple-video-audio-headers-681
branch
2 times, most recently
from
November 22, 2026 08:17
15eb2fa to
441f3fb
Compare
houko
added this pull request to the merge queue
Nov 22, 2026
houko
removed this pull request from the merge queue due to a manual request
Nov 22, 2026
houko
force-pushed
the
fix/apple-video-audio-headers-681
branch
from
November 22, 2026 09:37
441f3fb to
27b6c0e
Compare
houko
enabled auto-merge
November 22, 2026 09:37
houko
force-pushed
the
fix/apple-video-audio-headers-681
branch
from
November 22, 2026 09:39
27b6c0e to
2c378ba
Compare
houko
added this pull request to the merge queue
Nov 22, 2026
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.
A finite video that needs
RefererorCookiecan load its picture on Apple while its separateAudioSourcefails authorization. The audio asset previously opened through AVFoundation's native URL loader, which omittedVideo.Headers.The video and audio assets now use the existing resource loader for direct HTTP files. Each asset owns its requests and delegate until playback closes, including deferred release during Picture in Picture. Both tracks retain the shared composition and seek behavior. Public docs and the agent skill describe the audio headers.
Refs #681. Separate audio on other players and HLS headers remain tracked in the roadmap.
Verification
go tool nsgo check -target macos,ios,ios_simulator,tvos,tvos_simulator -jobs 2passed, covering both macOS architectures plus iOS and tvOS device/simulator builds.git diff --checkpassed.Playback was exercised on macOS. iPhone and Apple TV coverage here comes from their target checks.