androidx / androidx/media

[CastPlayer] Player switches to buffering state after turning off TV receiver

Open
#2,182 2 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

bug: device specific
Dominant language
Java
Stars
3k
Forks
955
Avg merge
12d 14h
Merged PRs (30d)
2

Description

Version

Media3 1.4.1

More version details

I think this is not related to a specific version

Devices that reproduce the issue

Realme 50s

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps
  1. Open the demo app
  2. Click on +. Аdd track and play
  3. Click on cast button and select receiver
  4. I see playing video on TV receiver
  5. Click on back button on control panel
    or
    Turn off TV receiver by power button
  6. The video on the TV turns off or the TV itself turns off
Expected result

The video keeps playing on phone
I expected the similar behavior like click by cast button "stop casting"

Actual result

Player switches to buffering state, I see the loader on media notification and can't play video
To continue interacting with the player on the phone, I need to explicitly click on the cast button and turn off the cast by "stop casting"

Media
Bug Report
  • You will email the zip file produced by adb bugreport to android-media-github@google.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.