Source#
Apple Developer Forums — “What does CoreMediaErrorDomain code -15418 indicate during LL-HLS live playback?” (active January 2026; still surfaced in the HLS/Streaming forum index in September 2026).
Forum index: https://developer.apple.com/forums/tags/http-live-streaming
Problem#
A custom AVPlayer SDK sees intermittent:
CoreMediaErrorDomain -15418
during LL-HLS playback on an iPhone 15 Pro Max running iOS 26.2. The visible impact reported is a quality drop rather than an immediate terminal playback failure. The developer cannot find a public definition for the code and asks whether it is fatal or merely a warning.
The important debugging mistake would be to assign a guessed semantic meaning to the private CoreMedia status and then design a fix around that guess.
Evidence level#
Observed Apple Developer Forums report. The numeric error meaning is not publicly documented in the sources reviewed. Internal root cause is unknown.
Apple’s public HLS documentation defines LL-HLS protocol behavior and AVFoundation exposes player/item state, access logs, error logs, and media performance metrics. None of those public contracts makes an undocumented CoreMedia numeric code a stable diagnostic API.
Therefore -15418 should initially be treated as a timestamped implementation signal, not the diagnosis.
Support answer#
The report says the user-visible effect is a quality drop. That is already evidence that the event can occur on a path from which playback recovers. It does not prove that the status is always nonfatal: severity must be classified from the state transition that accompanies each occurrence.
Use this pipeline:
LL-HLS playlist reload / blocking reload
↓
playlist state accepted
↓
part / segment availability
↓
resource request completes
↓
media appended to playable timeline
↓
ABR candidate / switch decision
↓
buffer / timebase progression
↓
render
The investigation target is the first transition that differs immediately before -15418.
Do not start with:
-15418
→ guessed internal meaning
→ guessed workaround
Start with:
observable protocol + player state
→ first divergence
→ CoreMedia status at the same timestamp
Classify severity from behavior#
At each occurrence capture:
AVPlayer.timeControlStatus
AVPlayer.reasonForWaitingToPlay
AVPlayer.rate
AVPlayerItem.status
AVPlayerItem.error
AVPlayerItem.errorLog()
AVPlayerItem.accessLog()
currentTime progression
selected / indicated bitrate
observed throughput
stall state
seconds behind live
Then classify the event:
error-log event + playback continues + ABR downswitch
→ recoverable adaptation/resource event in this run
error-log event + waiting/buffering + later recovery
→ transient playback interruption in this run
AVPlayerItem.status == .failed / terminal error
→ fatal for this player item
Do not classify severity from the number alone.
LL-HLS correlation matrix#
Capture the raw media-playlist snapshots and HTTP transaction immediately before and after the error. Correlate:
_HLS_msn
_HLS_part
HTTP status
response latency
Age / cache age where available
EXT-X-TARGETDURATION
EXT-X-PART-INF:PART-TARGET
EXT-X-SERVER-CONTROL
CAN-BLOCK-RELOAD
HOLD-BACK
PART-HOLD-BACK
latest media sequence
latest part index
PROGRAM-DATE-TIME
part/segment URI requested
Also record whether the event coincides with:
blocking playlist reload timeout
playlist response with no new media
part/segment HTTP error
part availability gap
variant switch
ABR downswitch
buffer depletion
live-edge correction
network path change
This converts an undocumented code into a reproducible protocol-state signature.
Most valuable A/B tests#
Keep media content constant and change one dimension at a time:
A. LL-HLS current configuration
B. regular HLS version of the same stream
C. LL-HLS with one stable rendition
D. LL-HLS with the normal ABR ladder
E. direct origin
F. CDN path
G. normal network
H. controlled latency/loss/jitter
Interpretation:
A fails, B does not
→ LL-HLS-specific playlist/part state becomes primary
C does not reproduce, D does
→ rendition switching / ABR interaction becomes relevant
origin works, CDN reproduces
→ compare blocking-reload/cache/part availability behavior before blaming AVPlayer
error always immediately precedes ABR downswitch while playback advances
→ investigate the resource/throughput condition causing adaptation, not the numeric code itself
Do not infer FairPlay causality#
If production content is protected, keep DRM separate:
KID
→ AVContentKeyRequest
→ SPC
→ CKC
→ key usable
→ decrypt
Only move into FairPlay investigation if a content-key request/error or protected-sample failure is temporally upstream of the -15418 event. An LL-HLS error observed on protected content is not automatically a DRM error.
Run a clear equivalent stream where possible. If clear and FairPlay streams show the same transition, DRM becomes a weak causal hypothesis.
Reverse-analysis target#
For internal investigation, search the affected iOS build’s CoreMedia / MediaToolbox execution path for the semantic producer of status -15418, but use the result only as implementation evidence.
The useful trace is:
status producer
→ caller
→ state transition rejected/changed
→ public AVPlayer/AVPlayerItem consequence
Do not publish a private symbol name as the explanation. Translate it into behavior and verify it against network/player traces.
A candidate internal interpretation is only strong when the same branch is reached in reproducible failing runs and absent from controls.
Verification package#
For one occurrence preserve a ±10 second timeline containing:
monotonic timestamp
OS/device build
player/item identities
player transport state
currentTime
live latency estimate
indicated/observed bitrate
AVPlayerItem access/error-log events
raw media-playlist snapshots
HTTP request/response timing
_HLS_msn / _HLS_part
part and segment requests
network path metrics
CoreMedia / Media Playback logs
For Feedback Assistant, include Media Playback logging and a sysdiagnose with the exact occurrence timestamp.
Client guideline#
Do not implement retries, player recreation, forced bitrate changes, or live-edge seeks solely because errorStatusCode == -15418.
Instead react to supported client-visible state:
terminal AVPlayerItem failure
buffering/stall state
network/resource failure
measured live latency
ABR outcome
If the event is only present in AVPlayerItemErrorLog while playback remains healthy, retain it as telemetry and use it to correlate the real failure condition.
Reusable engineering rule#
An undocumented CoreMedia error code is an observation coordinate, not a root cause.
For AVPlayer/HLS incidents, derive meaning from the surrounding state machine:
manifest state
→ HTTP transaction
→ resource availability
→ player-item state
→ ABR/buffer response
→ user-visible impact
Only after identifying the first divergent transition should private implementation analysis be used to explain why CoreMedia emitted the status.
References#
- Apple Developer Forums HLS index: https://developer.apple.com/forums/tags/http-live-streaming
- Apple HLS portal: https://developer.apple.com/streaming/
- Enabling Low-Latency HLS: https://developer.apple.com/documentation/http-live-streaming/enabling-low-latency-hls
- AVPlayerItemErrorLog: https://developer.apple.com/documentation/avfoundation/avplayeritemerrorlog
- AVPlayerItemAccessLog: https://developer.apple.com/documentation/avfoundation/avplayeritemaccesslog