Discussion:
chromecast: no audio when casting screen, works with tab
(too old to reply)
Andrea Borgia
2020-12-16 22:20:01 UTC
Permalink
Hi.


System in running "Testing", using KDE, I'm trying to get Chromium to
send audio via Chromecast as well as video.


After enabling the relevant flag[1], I've tried casting a single tab and
playing a video. It worked well, with audio coming from TV.

Stopped the transmission, switched source to desktop and restarted:
video is shown, audio remains from computer.

Additionally, using Chrome directly (ughs, I know...) I get the same
results.

On the other hand, with the office laptop using Windows, both Chromium
(nightly) and Chrome can share full desktop with audio.


In short: casting from Linux can only send audio from single tab. This
is of course a problem for applications without native Chromecast
support, especially with my own laptop having very weak speakers.

Has anyone more recent information[2]? Pointers to hard evidence
confirming it won't work are also welcome.


Thanks in advance,

Andrea.


[1] chrome://flags/#load-media-router-component-extension

[2]
https://askubuntu.com/questions/855137/ubuntu-14-04-chromecast-desktop-casting-no-audio
Javier Barroso
2020-12-17 06:20:02 UTC
Permalink
Hi.
System in running "Testing", using KDE, I'm trying to get Chromium to send
audio via Chromecast as well as video.
After enabling the relevant flag[1], I've tried casting a single tab and
playing a video. It worked well, with audio coming from TV.
Stopped the transmission, switched source to desktop and restarted: video
is shown, audio remains from computer.
Additionally, using Chrome directly (ughs, I know...) I get the same
results.
On the other hand, with the office laptop using Windows, both Chromium
(nightly) and Chrome can share full desktop with audio.
In short: casting from Linux can only send audio from single tab. This is
of course a problem for applications without native Chromecast support,
especially with my own laptop having very weak speakers.
Has anyone more recent information[2]? Pointers to hard evidence
confirming it won't work are also welcome.
It is a known issue , see

https://support.google.com/chromecast/thread/27045993?hl=en

Maybe somebody know how usé ffmpg to send desktop without lag to Chromecast
(my quick test (from the first result on Google/duckeuckgo) was not ok)?

A hipotetical solution would be record Desktop with ffmpeg, use sometype of
proxy to play the recording on a localhost http URL which could be played
from chromium and then send the tab to chromecast

Regards
Andrea Borgia
2020-12-17 09:20:02 UTC
Permalink
Il giorno gio 17 dic 2020 alle ore 07:12 Javier Barroso <
Post by Javier Barroso
It is a known issue , see
https://support.google.com/chromecast/thread/27045993?hl=en
Great find, thanks for the quick response too :)
Javier Barroso
2021-02-13 20:20:01 UTC
Permalink
I have just find a posible solution

https://www.linuxuprising.com/2020/04/how-to-cast-your-gnome-shell-desktop-to.html?m=1

I will test it in unstable

Regards
Post by Andrea Borgia
Il giorno gio 17 dic 2020 alle ore 07:12 Javier Barroso <
Post by Javier Barroso
It is a known issue , see
https://support.google.com/chromecast/thread/27045993?hl=en
Great find, thanks for the quick response too :)
Loading...