Skip to content

PGS subtitles not shown when using MediaSessionService #268

Open
@aykxt

Description

@aykxt

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions