androidx / androidx/media

PGS subtitles not shown when using MediaSessionService

Open
#268 3 comments 1 reaction 1 assignee View on GitHub

@marcbaechinger is already working on this.

Since Mar 15, 2023.

documentation candidate enhancement
Dominant language
Java
Stars
3k
Forks
955
Avg merge
12d 14h
Merged PRs (30d)
2

Description

Media3 Version

1.0.0-rc02

Devices that reproduce the issue

Pixel 6 Pro

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

No

Reproduction steps
  1. Set up MediaSessionService and get a controller in an activity with PlayerView
  2. Set playerView.player = controller
  3. Play any video with PGS subtitles
Expected result

PGS subtitles should correctly render as it is supported and correctly render when using ExoPlayer directly.

Actual result

PGS subtitles are not shown.

When ExoPlayer is created in the same activity (without a MediaSessionService and MediaController) and passed to PlayerView, PGS subtitles correctly render.

Media

Sample video with PGS subtitles (from Kodi):
https://drive.google.com/file/d/0BwxFVkl63-lEVEluSFZ4NlhpLUk/view?usp=sharing&resourcekey=0-jrRNAhII3KVOq5Qid60tCw

Bug Report
  • You will email the zip file produced by adb bugreport to dev.exoplayer@gmail.com after filing this issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.