New issue
Advanced search Search tips

Issue 669880 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug

Blocked on:
issue 684642


Participants' hotlists:
media-router-follow-up
cast-ux-chromeos


Sign in to add a comment

[Feature Request] Native Cast Volume in ChromeOS

Reported by sc.ric...@gmail.com, Nov 30 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36

Steps to reproduce the problem:
1. Cast something (e.g. YouTube) to Chromecast or Google Cast enabled device
2. Adjust volume with volume keys.

What is the expected behavior?
Adjusts volume of Chromecast.

What went wrong?
Adjusts system volume

Did this work before? N/A 

Chrome version: 54.0.2840.99  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 23.0 r0

On my Windows machine right now, don't have a ChromeOS device on hand to give you version information.
Also, what about native media controls as well for chromecast, say, in a notification.

Interactive UI Mockup: http://codepen.io/richiksc/pen/bVrZvV
 
Cc: tbuck...@chromium.org jdufault@chromium.org steve...@chromium.org
Cc: -tbuck...@chromium.org
Owner: tbuck...@chromium.org
Status: Assigned (was: Unconfirmed)
Tom are you the right person to own this?
A couple options:

1) All volume controls affect the Chromecast instead of the device; volume slider in the system menu, volume keys, etc.
2) If we add a Chromecast detailed view (eg. as part of tiles), you can control the volume from there.

#1 seems more reasonable when casting your screen, whereas #2 seems more reasonable when casting a tab.

@jdufault are both of these options possible?
Cc: imch...@chromium.org
Implementation wise this should be feasible, assuming media router has the ability to change audio. However, I don't see anything in to do this in chrome/browser/media/router, maybe it is specific to the cast extension?

cc imcheng@ to answer.
We allow changing the volume in the custom route controller in the Media Router dialog, but this is implemented with messaging in a Cast-specific format (The custom controller template rendered by the MR dialog is actually part of Cast). I don't think it's desirable for ChromeOS to try to replicate the Cast-specific messaging behavior in its native controls.

Takumi and I are currently working on the Media Controller project. Part of the effort is to define a MediaController interface that would allow you to operate on a Cast session (or other types of MediaRoute) directly via first-class APIs, e.g., SetVolume(). It sounds like this feature can leverage the work we are doing.

We have just kicked off the implementation work recently. Feel free to follow the master tracking bug if you are interested: https://bugs.chromium.org/p/chromium/issues/detail?id=684642
Cc: taku...@chromium.org
Blockedon: 684642
Thanks, imcheng! Any thoughts on when that work will be ready for us to use so we can plan accordingly?
Sorry for the late reply. My estimate is that it will be ready in early to mid Q2.
Thanks @imcheng. We'll follow the master bug.
Components: -UI Internals>Cast>UI

Comment 12 by amp@chromium.org, Mar 30 2018

Cc: tbuck...@chromium.org
Owner: johnpallett@chromium.org
Owner: powerb@chromium.org
Cc: -imch...@chromium.org

Sign in to add a comment