New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 591455 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Cannot use Media Router to cast from livestream.com

Project Member Reported by mfo...@chromium.org, Mar 2 2016

Issue description

Version: 50.0.2645.4
OS: Windows 10

What steps will reproduce the problem?
1. Enable Media Router (--media-router=enabled in about:flags)
2. Visit http://livestream.com/watch and play a live stream
3. Click the Cast icon in the player

What is the expected output? What do you see instead?
Expected: A screen picker appears to pick the device to Cast to, or "Devices Missing?" if there are none available

Actual: Nothing happens. 

Note: If Chrome is started with --disable-gesture-requirement-for-presentation, things work as expected.

----

Based on our analysis, the Flash component on this page is invoking Javascript that calls PresentationRequest.start(). This Web API requires a user gesture.  We believe that the user gesture flag used to be passed from Flash to Blink, but either it appears that's no longer the case.  Is this a regression?
 
Cc: raymes@chromium.org
+raymes

I see some code sprinkled around ppapi_plugin_instance.cc that manufactures user gesture tokens for Blink when Flash requests certain actions like script execution.   See e.g. PepperPluginInstanceImpl::ExecuteScript.   Debugging around that might yield some clues.




Does this work on Chrome 48/49?

On Wed, Mar 2, 2016 at 11:51 AM mfoltz@chromium.org via Monorail <
monorail@chromium.org> wrote:
Components: Blink>PresentationAPI
I tried on Chrome 49 beta (on my Chromebook Pixel) and the bug reproduced there too.
Status: WontFix (was: Untriaged)
I added some logging to pepper_plugin_instance_impl.cc and verified that the user gesture code is working as intended.  This must be a problem with the site coding.

Sign in to add a comment