Skip to content

[Cast] Support transferring playback speed from local player to remote player and back #889

Closed

Description

@yoobi

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

Activity

  1. AngelJedi commented on Apr 19, 2024

    @AngelJedi

    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

  2. dabluck commented on May 19, 2024

    @dabluck

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

  3. changed the title [-]Cast settings not properly sent[/-] [+][Cast] Support transferring playback speed from local player to remote player and back[/+] on Mar 19, 2025
  4. ziem commented on Mar 28, 2025

    @ziem

    The issue seems to be still present on 1.5.1.

  5. added a commit that references this issue on Oct 21, 2025
  6. tanay187 commented on Oct 16, 2026

    @tanay187
    Contributor

    The issue has been fixed and would be available in Media3 1.12.0 release. Thanks for reporting and apologies for the delay!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions