media icon indicating copy to clipboard operation
media copied to clipboard

Cast settings not properly sent

Open yoobi opened this issue 2 years ago • 2 comments

Version

Media3 1.2.0

More version details

No response

Devices that reproduce the issue

Casting from Google Pixel 6 to AndroidTV

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps

  1. Go to PlayerManager
  2. Add below snippet before setCurrentPlayer
    localPlayer.setPlaybackSpeed(2f);
    castPlayer.setPlaybackSpeed(2f);
  1. Cast a video

This issue happens for repeatMode and playWhenReady as well, there might be more settings with the same issue

Expected result

CastPlayer should have the same playbackSpeed as localPlayer

Actual result

No change in CastPlayer playbackSpeed

Media

Media from the demo-cast

Bug Report

  • [ ] You will email the zip file produced by adb bugreport to [email protected] after filing this issue.

yoobi avatar Dec 13 '23 15:12 yoobi

I am seeing something similar. When trying to set the playback speed before playback has started on the castPlayer, it will not set properly. However, if I then call castPlayer.setPlaybackSpeed(2f) after playback has started, it seems to update properly.

I was seeing this on 1.3.1

AngelJedi avatar Apr 19 '24 16:04 AngelJedi

Seeing this as well. super reproducible. @marcbaechinger can this be triaged

dabluck avatar May 19 '24 20:05 dabluck