Skip to content

fix(playback): integrate v3 native subtitle selection and Cast timing #292

Closed

Description

@Quick104

The server subtitle reliability change adds negotiated native embedded subtitles to Protocol V3. Android needs the matching capability, exact track selection, and recovery before it can skip server extraction safely.

Related issue: Silo-Server/silo-server#423

The coordinated Android implementation should:

  • Advertise embedded_subtitles_v1 and native MP4/mov_text support with container_track_id identity only where the renderer can select the probed track exactly.
  • Mount subtitle.embedded by the canonical MP4 container ID. Do not substitute an FFmpeg ordinal or guess from language when IDs are absent or ambiguous. Retain sidecar delivery for unsupported containers/codecs.
  • Report subtitle_embedded_failed when native mounting fails and use the server's distinct fallback plan without unnecessarily transcoding video.
  • Keep converted sidecars separate from native embedded selection, validate the new decision contract, and update vendored conformance fixtures.
  • Request Cast VTT with timestamp_offset=-timeline_offset_seconds after a stream reanchor.

Implementation and focused validation exist in the subtitle reliability task but have not been published as an Android PR. A synthetic API 34 ARM64 emulator test selected MP4 container ID 23 instead of 19 despite identical language metadata and displayed only that track's cue. This does not establish full installed-app/server validation or physical Cast playback; those remain release checks.

AI Disclosure

  • Harness: OpenAI Codex desktop app.
  • Tool(s): Codex collaboration agents, shell tools, and GitHub CLI (gh).
  • Model(s): gpt-6-astra.
  • Involvement: AI-assisted implementation and validation; this issue tracks publication and remaining device validation.
  • Adversarial review: The subtitle review checked container identity against the actual Media3 representation, removed heuristic native mounting, and verified typed fallback and Cast timing in focused tests.

Activity

  1. Quick104 commented on Sep 11, 2026

    @Quick104
    ContributorAuthor

    Closing as addressed by merged PR #293 (#293), which is explicitly related to this issue and lands native embedded subtitle selection (embedded_subtitles_v1 / container-track identity) plus Cast timestamp_offset timing alignment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions