Media Router not working for Chromium

841 views
Skip to first unread message

Shanfeng Cheng

unread,
Jan 5, 2017, 10:05:33 PM1/5/17
to chromium-dev
After updating to Chromium 55, I found the Media Router (Chrome Cast) still doesn't work for Chromium. When I click the Cast menu, it always shows no cast destination found. Did I do something wrong? Or Chromium is not going to be supported as far as Media router is concernced?


Shanfeng Cheng

Wez

unread,
Jan 5, 2017, 10:17:59 PM1/5/17
to sfc...@gmail.com, chromium-dev
The new Chrome Media Router presently relies on a binary-only component extension, so isn't available in Chromium by default.

You can enable it in Chromium builds by running with --load-media-router-component-extension, which will cause Chromium to download the component extension.

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

Shanfeng Cheng

unread,
Jan 6, 2017, 12:07:37 PM1/6/17
to Wez, chromium-dev
I launched Chromium with that switch but it still can't find any cast destination. I checked the extensions folder within the user profile and no cast extension is downloaded. 


Shanfeng Cheng

Shanfeng Cheng

unread,
Jan 6, 2017, 12:37:15 PM1/6/17
to Wez, chromium-dev
Actually, I found a few other lines in the code which is masked with GOOGLE_CHROME_BUILD. After I uncomment those conditions, media router works just fine. Thanks for pointing me in the right direction. 


Shanfeng Cheng
 
From: Wez
Date: 2017-01-05 21:17
To: sfcheng
Subject: Re: [chromium-dev] Media Router not working for Chromium

Arnout Engelen

unread,
Feb 18, 2017, 9:08:58 AM2/18/17
to Chromium-dev, w...@chromium.org
Cool to hear you got the media router to work from chromium!

Do I understand correctly that this requires a recompile? I'd like to get back the possibility to cast :) - and that did seem to be the intention behind https://bugs.chromium.org/p/chromium/issues/detail?id=646170 which added that flag.


Arnout 

Mounir Lamouri

unread,
Feb 19, 2017, 9:46:53 AM2/19/17
to Arnout Engelen, Chromium-dev, w...@chromium.org
On Sat, 18 Feb 2017, at 06:08, Arnout Engelen wrote:
> Cool to hear you got the media router to work from chromium!
>
> Do I understand correctly that this requires a recompile? I'd like to get
> back the possibility to cast :) - and that did seem to be the intention
> behind https://bugs.chromium.org/p/chromium/issues/detail?id=646170 which
> added that flag.

If you have a recent enough Chromium build (end of October 2016), you
should be able to use the "--load-media-router-component-extension"
command line flag. If you are building your own version of Chromium,
make sure this commit is applied:
https://chromium.googlesource.com/chromium/src.git/+/ac0030f5d07e66752b93695bc373bcb55ab26602

-- Mounir
Reply all
Reply to author
Forward
0 new messages