Repository navigation
A remote HLS stream that starts mid-item plays on the item's timeline, AV1 shows a picture on the newest Apple TV, and a native subtitle select says what state it is in.
New API: LoadOptions.timelineOrigin, AetherEngine.timelineGapSeek, SeekEvent.Rejection.beforeTimelineOrigin, AetherEngineError.timelineOriginNeedsRemoteHLS and .timelineOriginRelayUnavailable, nativeSubtitleSelectionState with NativeSubtitleSelectionState, and aetherctl play --timeline-origin. How it works: api.md › timelineOrigin and architecture-native.md › Timeline origin on the remote HLS bypass.
Measured against a Silo server's copy remux resumed at 40 s (origin 31.25 s): aetherctl play --timeline-origin 31.25 started the clock at 40.3 s and read a 90.1 s duration, where AVPlayer alone counted from 0 and read 58.8 s.
Known limit: a playlist AVPlayer opened while it was still growing (EVENT, no EXT-X-ENDLIST yet) keeps no duration for the session, even after the end arrives (macOS 27, measured with a bare AVPlayer). duration stays 0 there.
Added
- A remote HLS stream that starts mid-item plays on the item's timeline (
LoadOptions.timelineOrigin).
A server that restarts a remux at a resume point numbers it from zero, so AVPlayer, AVKit's Now Playing
and sidecar subtitles ran that many seconds early or late. With the origin set, the relay serves every
media playlist with#EXT-X-GAPentries in front, and everything reads item time. A seek before the
origin is reported ontimelineGapSeekinstead of performed.aetherctl play --timeline-origin. - The state of a native subtitle select is published (AE#1141). A select first fills the rendition and
then deselects and reselects, so AVKit's legible selection reads empty for up to seconds, which a host
following AVKit's menu could not tell from the viewer picking Off.nativeSubtitleSelectionStatereads
idle,preparing,selectedorrefused(NativeSubtitleSelectionState), and
emptySelectionMeansOffholds the rule. A refused pick, empty at the playhead, was silent before.
Fixed
- Stopping the relay while it serves a request no longer crashes the app. A fetch that started after
HLSOriginRelay.stop()created a task on the invalidated session, which raises an uncaught exception.
It now fails with a 502. - AV1 shows a picture on the Apple TV 4K (4th generation) (AE#1144). It is the first Apple TV with
hardware AV1, so AV1 took the native route, and there AVPlayer played the sound over a black picture,
with no error to fall back on. tvOS now keeps AV1 on dav1d, the route every earlier Apple TV takes,
Dolby Vision 10.1 included.AetherEngine.usesHardwareAV1OnTVOS(@_spi(Diagnostics)) lifts that for
a test on a later tvOS. - A panel that refuses the HDR master pays for it once, not on every start (AE#1143). After a display
switch, the startup readiness gate held the refusal, reloaded the master, tried the reduced master and
only then fell back, without recording what it had learned. Behind a cable that could not carry the HDR
link, the first HDR start took about 14 s and the next about 26 s. A refusal now skips the master reload (and the
reduced master too, unless it drops Dolby Vision the refused one carried), and the gate's media fallback latches the refusal like the reactive path, so later HDR titles go
media-direct until the next return from the background. The gate's reloads also stay on the loopback
address unless a receiver is involved; they went to the LAN address on every run. - A
play()during a load waits for the load (AE#1117). It used to reach AVPlayer and write
.playingat once: on the harness 30 ms into the load, about 2 s before the first frame, so a host
spinner fell early and a mounted item could start ahead of the display switch. The press is now held
and only the end of the load acts on it. An autostarting load needs nothing from it; a paused mount
starts playing whenload()returns. Apause()or a secondtogglePlayPause()withdraws it. On a
paused mount the press used to be lost: the state read.playingfor a moment, then the session sat
paused. - A sparse first subtitle track no longer parks the side readers at its first cue (AE#1142). Both
subtitle side readers anchored their seek on the lowest routed track, and Matroska raises a seek target
to the anchor's first cue. On an MKV whose first track is a forced track starting at 900 s, the native
readers jumped there and every pick on an Apple TV endedcues=0 exit=deadline. The anchor is now a
track whose index reaches the target. Measured with aetherctl on the reporter's synthetic file, the
readers parked atdemuxPos=900.0swithtotalCues=0before. After, the pre-fill endsexit=targetin
160 ms and the forward prefetch harvests 30 packets instead of 0. - Subtitles off during a native pre-fill stays off (AE#1141).
clearSubtitle()while the rendition was
the display deselected the item, but a select still waiting on its pre-fill landed a second later and
turned the rendition back on with nothing feeding it. Measured with aetherctl (nativerender@8,subsoff@8):
selected=English engineActive=nilbefore,selected=noneafter.