Passei por alguns problemas para transmitir os vídeos, pelo linux Debian 11, tanto do Google Chrome com o ícone "transmitir" (Youtube, Netflix, etc...), como pelo programa VLC, e o mais estranho é que eu conseguia transmitir antes, quando estava na versão do Debian 10, e depois que parou, conseguia transmitir pelos demais dispositivos de casa, tanto Smartphone, Google Home, etc... O que mostra que não era um problema no aparelho.
Mesmo estando na mesma rede wi-fi e utilizando o mkchromecast, não conseguia encontrar o chromecast:
vagrella@trinity:~$ mkchromecast
Mkchromecast v0.3.9
Creating Pulseaudio Sink...
Open Pavucontrol and Select the Mkchromecast Sink.
Starting Local Streaming Server
[Done]
Selected backend: parec
Selected audio codec: mp3
Default bitrate used: 192k
Default sample rate used: 44100Hz.
PID of main process: 4468
PID of streaming process: 4472
* Serving Flask app 'mkchromecast.audio' (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
* Running on http://192.168.5.100:5000/ (Press CTRL+C to quit)
No devices found!
Cleaning up /tmp/...
[Done]
Morto
Quando deveria ter algo do tipo:
vagrella@trinity:~$ mkchromecast
Mkchromecast v0.3.9
Creating Pulseaudio Sink...
Open Pavucontrol and Select the Mkchromecast Sink.
Starting Local Streaming Server
[Done]
Selected backend: parec
Selected audio codec: mp3
Default bitrate used: 192k
Default sample rate used: 44100Hz.
PID of main process: 7003
PID of streaming process: 7007
* Serving Flask app 'mkchromecast.audio' (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
* Running on http://192.168.5.100:5000/ (Press CTRL+C to quit)
List of Devices Available in Network:
-------------------------------------
Index Types Friendly Name
===== ===== =============
0 Gcast Casa
1 Gcast TvCozinha
2 Gcast GrupoCozinha
Casting to first device shown above!
Select devices by using the -s flag.
Depois que arrumei, essa foi a saída. :)
O problema foi o firewall, mais precisamente o firewalld, que fez com que o meu Chromecast não fosse reconhecido pelos demais programas, uma maneira de testar se isso está ocorrendo pode-se remover o firewall.
Para verificar se ele está instalado:
root@trinity:~# dpkg -l |grep firewall
ii firewalld 1.0.1-2 all dynamically managed firewall with support for network zones
root@trinity:~# dpkg -P firewalld
Nenhum comentário:
Postar um comentário