Repository navigation
Description
What happened
On Android, turning Dolby Vision off in Settings > Playback changes the capabilities the app reports to the server, but the local player never reads it. When the server sends a Dolby Vision original for direct play, the decoder choice depends only on the server's plan. Media3 can then pick the device's Dolby Vision decoder even though the setting is off.
Silo-Server/silo-apple#737 fixes the same gap on Apple (Silo-Server/silo-apple#732). There, the setting now reaches the player for every load, and a Profile 7 / 8.1 / 8.4 original plays as its HDR10 / HLG base layer when Dolby Vision is off.
Steps to reproduce
Found by reading the source at origin/main 538aa09. Not reproduced on a device.
- On an Android TV with a Dolby Vision display, turn Dolby Vision off in Settings > Playback.
- Play a Dolby Vision Profile 8.1 title that the server plays directly, without the
client_dv8_base_layer_fallback_v1claim in the plan. - Check which decoder and output mode the player uses.
Expected from the source: the hardware video/dolby-vision decoder and a Dolby Vision output mode.
Expected behavior
With Dolby Vision off, the player presents the HDR10 / HLG base layer of a Profile 7 / 8.1 / 8.4 source. That means a plain HEVC decoder and an HDR10 / HLG output mode, whatever the server's plan carries. A Profile 5 source has no base layer and can stay Dolby Vision.
Silo version / commit
silo-android origin/main 538aa09
Deployment
Any server; the gap is client-side.
Area
Playback (Android client)
Clients affected
Android
Client app and device
Android phone and Android TV. Not reproduced on a device.
Media and playback details
Dolby Vision Profile 7 / 8.x, direct play of the original file.
Diagnostics report reference
None.
Relevant logs
No logs available.
Technical notes
shared/.../player/DolbyVisionPolicy.ktresolves the setting.PlaybackCapabilityDetectoruses it to remove Dolby Vision profiles from the capabilities sent to the server.SiloPlayerFactory.kt(around line 537) setsdolbyVisionBaseLayerRouteonly when the plan's active claims includeCLIENT_DV8_BASE_LAYER_FALLBACK_V1_CLAIM.SiloMediaCodecVideoRenderer.getDecoderInfosavoids the Dolby Vision decoder only on that route.- The codec selector, the decoder choice, and HDR display-mode switching don't read
dolbyVisionEnabled. On TV, track preference filters Dolby Vision MIME types, which matters only when a file has more than one video track. - Downloads have no server plan, so offline playback of a downloaded Dolby Vision original would also decode as Dolby Vision. Not traced in detail.
- Possible fix: when Dolby Vision is off, treat a Profile 8 source as if the base-layer claim were active (a renderer or
MediaCodecSelectorthat dropsvideo/dolby-visiondecoders). Profile 7 direct play also needs the HDR10 transform.
Pairs with Silo-Server/silo-apple#737.
AI harness
Claude Code (via T3 Code)
AI tool(s)
Claude Code agent with shell, git, and GitHub CLI access
AI model(s)
claude-opus-5-5
AI involvement
Found by an AI source read while fixing the Apple issue; drafted by AI and reviewed before filing.
Independent or adversarial review
n/a
Confirmations
- I searched open and recently closed issues and pull requests, and this is not already reported
- I reproduced this myself on a real deployment
- Any logs provided are raw apart from marked redactions and are not AI-summarized; if none were available, I said so above
Source: found while fixing Silo-Server/silo-apple#732
Activity