PGS subtitles not shown when using MediaSessionService
Open
@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
- Set up MediaSessionService and get a controller in an activity with PlayerView
- Set playerView.player = controller
- 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 bugreportto dev.exoplayer@gmail.com after filing this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.