Chromecast op linux: Difference between revisions

From www.ReeltoReel.nl Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
=firewall=
==Allow Multicast in Firewalld==
sudo firewall-cmd --permanent --direct --add-rule ipv4 filter INPUT 0 -m udp -p udp -m pkttype --pkt-type multicast -j ACCEPT
==open ports==
* tcp 8008-8009
* udp 32768-61000
=Chromium=
=Chromium=
The native "Cast..." does not work until you enable this flag below. Once its enabled, it works perfect, no need for any extension.
The native "Cast..." does not work until you enable this flag below. Once its enabled, it works perfect, no need for any extension.

Revision as of 13:38, 15 March 2021

firewall

Allow Multicast in Firewalld

sudo firewall-cmd --permanent --direct --add-rule ipv4 filter INPUT 0 -m udp -p udp -m pkttype --pkt-type multicast -j ACCEPT

open ports

  • tcp 8008-8009
  • udp 32768-61000

Chromium

The native "Cast..." does not work until you enable this flag below. Once its enabled, it works perfect, no need for any extension.

chrome://flags/#load-media-router-component-extension

set to enabled.

tested on Version 60.0.3112.113 (openSUSE Build) (64-bit)

Command line

catt

$ ~/.local/bin/catt -d Kitchen cast -s ./Men.in.Black.2.2002.1080p.BluRay.H264.AAC-RARBG.srt ./Men.in.Black.2.2002.1080p.BluRay.H264.AAC-RARBG.mp4 
$ ~/.local/bin/catt -d "Kitchen" cast "https://www.youtube.com/watch?v=dQw4w9WgXcQ"