Skip to content

Switching between subtitles doesn't work (English -> None -> English) #296

Closed

Description

@ziem

Media3 Version

Media3 1.0.0

Devices that reproduce the issue

  • Pixel 5 (Android 13)
  • OnePlus 10 Pro 5G

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps

In the demo-session project inside MediaItemTree class comment out .setSubtitleConfigurations(subtitleConfigurations) (line 88).

  1. Play https://d3rlna7iyyu8wu.cloudfront.net/skip_armstrong/skip_armstrong_stereo_subs.m3u8 in the demo app (demo-session)
  2. Click subtitles button (cc)
  3. Select None
  4. Click subtitles button again
  5. Select English

Expected result

English subtitles should appear and be selected

Actual result

English subtitles doesn't appear

Media

https://d3rlna7iyyu8wu.cloudfront.net/skip_armstrong/skip_armstrong_stereo_subs.m3u8 (found on the internet)

Bug Report

Activity

  1. self-assigned this
    on Apr 5, 2023
  2. tonihei commented on Apr 5, 2023

    @tonihei
    Collaborator

    Thanks for reporting! This is caused by stripping some metadata from the subtitle format and as a result the player can't find the track you selected.

  3. ziem commented on Apr 5, 2023

    @ziem
    Author

    Is there any workaround I could use to fix this issue?

  4. ziem commented on Apr 26, 2023

    @ziem
    Author

    v1.0.1 fixes the issue, thanks 👍

  5. locked and limited conversation to collaborators on Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions