Repository navigation
fix(player): update AetherEngine to the 7.28.3 sync and keep server HLS audio on the plan - #683
Conversation
AetherEngine 7.22.0 publishes AVPlayer's audio renditions on the remote HLS bypass, under synthetic ids from 400000, and its selectAudioTrack only logs there. The picker used the plan's catalog tracks only while Aether published none, so on server HLS it would have listed the one packaged rendition, and a pick would have carried an id the server cannot replan. On server remux and transcode HLS the picker now always builds its rows from the selected catalog version, the selected audio id comes only from the plan, and a pending pick never reaches the engine. Direct play and progressive remux keep the engine's tracks. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Pins Silo-Server/AetherEngine ebe83785, the fork merged with upstream 7.28.3 and its unreleased fixes. FFmpegBuild moves to 3.6.0 with it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 53 minutes. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configuration
📒 Files selected for processing (2)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
⛔ Files ignored due to path filters (1)
📒 Files selected for processing (4)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe Protocol V3 audio picker now uses catalog audio tracks for server-owned HLS plans, while other deliveries retain Aether-first inventory. Player selection handling avoids local Aether selection for server-owned tracks. Tests cover these rules, and the AetherEngine revision is updated. ChangesProtocol V3 audio picker
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix Possibly related PRs
Suggested reviewers: Merge Risk: ⚪ Minimal · up to No actionable issue is established for the audio-picker changes; merge after normal checks. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)✅ Passed checks (4 passed)Full details: Docstring CoverageExplanation Docstring coverage is 71.43% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 7 functions across 3 files. (1 skipped: 1 unsupported.) ✨ Finishing Touches 💡 2📝 Generate docstrings 💡
🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
The sync branch now selects a hidden ASS rendition only once its WebVTT has been extracted, and takes it down at once when subtitles are turned off. MediaAuthorizationPlaybackTests started playback with the rendition still selected and stopped at rate 0 in CI. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
The engine now selects the hidden ASS rendition only once playback runs, so a paused item never has it in its startup buffer. MediaAuthorizationPlayback tests turned subtitles off before a start with stall waiting disabled, and in CI they stopped at rate 0 on iOS and tvOS with the earlier pin. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Head of Silo-Server/AetherEngine#16: since 2d221aaa it adds a guard so a stale origin-rendition pick cannot drop a newer selection's suppression, plus test-only changes. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Head of Silo-Server/AetherEngine#16: since 1fda333a it fixes the bugs Kody found in upstream code the sync takes. For Silo: an HTTP source no longer crashes on a 206 with a non-positive Content-Range total, the audio-only host plays to the last sample below 1x, a crafted cue no longer stalls the main actor, and a delayed live revive no longer queues a stale restart. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Head of Silo-Server/AetherEngine#16 after its review rounds: since 58037700 the engine library only adds a refusal for a sharedOutputRole change in a session correction, which Silo does not use. The rest is aetherctl, tests and docs. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2a7a441106
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
The platform selector seals project.yml. This branch changes only the AetherEngine revision line, which owns no source path, so the reviewed snapshot and the selector seal are refreshed for it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Problem
Related issue: N/A
Validation tasks: none
AetherEngine 7.22.0 and later publish AVPlayer's own audio renditions on the remote-HLS bypass, under synthetic ids from 400000, and the engine's
selectAudioTrackonly logs there. Silo builds the audio picker from the plan's catalog tracks only while Aether publishes none, so after the engine update the picker on server remux and transcode HLS would list the one packaged rendition, and a pick would carry an id the server cannot replan. This updates AetherEngine to the fork's upstream 7.28.3 sync and keeps that picker on the plan.Approach
31047b05(chore: sync upstream AetherEngine 7.28.3 into the Silo fork AetherEngine#16), with FFmpegBuild 3.6.0. Changes viewers will notice:Content-Rangetotal, the audio-only player plays to the last sample below 1x, a crafted subtitle cue no longer stalls the main thread for seconds, and log redaction covers two more credential shapes.Validation
2d221aaa,1fda333aand58037700, and once against31047b05, whose only engine-library change since58037700Silo does not use. MediaAuthorizationPlayback passed three runs in a row on the tvOS simulator too. The new picker test fails against the old guard.2d221aaa). This branch pins that PR's head,31047b05.ebe83785, before the selection fix), audio output off:Evidence
Evidence: https://evidence.siloserver.org/r/silo-apple/pr-683/
Risks
Checklist
AI Disclosure
🤖 Generated with Claude Code
Note
Update AetherEngine to 7.28.3 sync and keep server HLS audio on the plan
ApplePlaybackV3PlanAdapter.serverOwnsAudioTracks, which is true for remux HLS and transcode HLS deliveriesaudioPickerTracksnow builds audio rows from the selected catalog version instead of Aether-published renditions, and returns no rows when the catalog version is missingPlayerViewModelno longer pushes pending audio selections through Aether's local track-selection API for server-owned plansaudioPickerTracksin ApplePlaybackV3PlanAdapter.swiftMacroscope summarized 5492cfc.