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

Issue 594529 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Feature



Sign in to add a comment

Unable to stream local media (non web-based content) from Chrome to Google Cast devices

Reported by fluoresc...@gmail.com, Mar 14 2016

Issue description

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

Steps to reproduce the problem:
1. Ensure that there is one or more Google Cast device available on the network.
2. Ensure that local media file encoded using supported by Google Cast and Chrome format (codec and container) (e.g. H.264 AAC MKV file).
3. Enter URL of the local file (file://***) into the Chrome address bar.
4. Play media file directly in Chrome.

What is the expected behavior?
Cast icon to be displayed.

What went wrong?
Cast icon not displayed.

Did this work before? No 

Chrome version: 51.0.2676.0  Channel: canary
OS Version: 
Flash Version: 

Platforms: all
Chrome versios: all

Android Chrome (which does not support extensions) provides the ability to cast arbitrary media (video from <video> HTML element and audio from <audio> HTML element) to Google cast devices via Cast button in the default media controls. But Android Chrome provides the ability to cast only web-based media (http://*** or https://***), not local media (file://***).

E.g. Android Google Photos app (https://play.google.com/store/apps/details?id=com.google.android.apps.photos) provides the ability to cast local (file://***) videos, music, photos only in supported format (https://developers.google.com/cast/docs/media) (it doesn't supports on-the-fly transcoding) directly from Android device to Google Cast devices.

It means that there no any technical limitations to not implement casting of local media in supported format into Chrome.

Chrome Desktop now has native, extension-less (without needing the Google Cast extension) Google Cast (Chromecast) support. At this moment there is no way of casting an arbitrary media (local or web-based) on Desktop Chrome at all. Desktop Chrome supports only mirroring of a tab and also provides a JS API through which web applications can cast individual URLs. Please see #594411.

Please implement ability to cast arbitrary local media into Chrome for all platforms.
 
Labels: TE-Hardware-Dependency
Cc: hubbe@chromium.org m...@chromium.org
Components: Internals>Cast
Labels: -Type-Bug -Pri-2 -Arch-x86_64 -TE-Hardware-Dependency Pri-3 Type-Feature

Comment 3 by sko...@chromium.org, Mar 15 2016

Components: -Internals>Cast Blink>PresentationAPI
Owner: sko...@chromium.org
Status: Assigned (was: Unconfirmed)
Thanks for the report.  This is something we're aware of and may consider.
Please also take a look at https://bugs.chromium.org/p/chromium/issues/detail?id=594411

Desktop Chrome at this moment supports only mirroring of a tab and also provides a JS API through which web applications can cast individual URLs.

By contrast, Android Chrome at this moment doesn't supports mirroring of a tab at all.

Android Chrome provides the ability to cast arbitrary media via Cast button in the default media controls. But only web-based media.

By contrast, Desktop Chrome has no Cast button in the default media controls at all.

I think it is important to provide consistent user experience (the same features) for Google Cast in Chrome for *ALL* platforms. 
Any progress?
Sorry, this feature is low in priority to make any progress on it in such a short timeframe.
In the meanwhile, one can use Chrome tab mirroring on desktop and Cast screen feature on Android as a workaround.

Comment 7 by mfo...@chromium.org, May 12 2016

Cc: mfo...@chromium.org
Any progress?

Comment 9 by sko...@chromium.org, Dec 11 2017

Owner: johnpallett@chromium.org
Status: Fixed (was: Assigned)
We've shipped a feature that should allow this use case to work better for you.

https://www.engadget.com/2018/03/28/chrome-cast-files/

Note that for the best experience you should try it in combination with Media Remoting enabled, which will stream the file directly to Chromecast.

chrome://flags/#media-remoting

We're considering how to make local media casting accessible from the media controls as well when you have already opened a file, but that may be a little ways off.  

Let us know if you have any feedback on these features.

Everything is clear with Chrome for desktop, but what about Chrome for Android?

Sign in to add a comment