PierfrancescoSoffritti / android-youtube-player

YouTube Player library for Android and Chromecast, stable and customizable.
https://pierfrancescosoffritti.github.io/android-youtube-player/
MIT License
3.44k stars 765 forks source link

Chromecast always return UNSTARTED #1070

Open israelgs opened 1 year ago

israelgs commented 1 year ago

Bug Report

Description of the Bug

With the example app, when cast to a new ChromeCast (with Google TV), the video capture image is displayed, but it does not play and the UNSTARTED message is returned. When you press "Stop sending" a window is displayed saying "No content has been selected"

Environment details

Android Version: 14 API Version: 34

Tested devices: Pixel 7 Pro, API 34 Pixel 5, API 34

Youtube Player Library Version: 12.1.0 and 0.28

Steps to reproduce the bug

  1. Start demo app
  2. Start Send to ChromeCast.
  3. Show "Connecting...", show "Buffering", show "UNSTARTED"
  4. Stuck in loader animation
  5. Press stop ChromeCast.
  6. Dialog show "No contents has been selected"