Connects and hear volume change sound but no audio
Hi there,
I'm having trouble getting audio out to my Chromecast Audio device from your application. Casting works normally on my phone so I've verified that the rest of the system works. Mkchromecast appears like it's working fine and hasn't thrown any errors.
Here are the details on my current setup: Mkchromecast v0.3.8.1 on Linux Mint 19.3 Chromecast Audio Firmware Version 1.42.172094
I can see my device, get connected, and it's synced properly to Mkchromecast output in pavucontrol. When I first connect I hear the normal Chromecast audio connection noise. I can also hear a sound when I adjust the volume up and down from the Mkchromecast systray icon. I've tried aac instead of mp3 audio format and I've also tried gstreamer and ffmpeg on the backend but none of that troubleshooting has fixed anything for me.
I'm not to experienced in working with ALSA yet so I've only used the pulseaudio output. Is there a chance using instead ALSA would get me casting?
Thanks to anyone who can offer up some help.
I have the same issue on Ubuntu 18.04 with pulseaudio. For some reason, which is beyond me, this worked:
python3 /usr/share/mkchromecast/mkchromecast.py -s --encoder-backend ffmpeg --control --sample-rate 96000 --host 192.168.1.XXX
where the host IP is my local network DHCP address (same network as the chromecast device). THERE WAS A BIG DELAY (30 seconds or so) . . . LAG. I actually thought it hadn't worked and then got a shock when sound came pouring out of the chromecast device.
Same issue ubuntu 18.04 using git master For audio only there is a delay of about 30 seconds For video there is no audio
I tried the command @criticny suggested, but still no audio after waiting many minutes of connecting to my Chromecast and playing tunes.
I can hear the same normal initial connection noise and the volume change sound out of my Chromecast Audio speakers when I press "u" or "d". Pavucontrol shows normal volume going into Mkchromecast like it should.
I'm still stumped folks. Any other suggestions?
I have the same issue with Linux Lite connects I hear the connect tone but not audio coming out
running mkchromecast -s I noticed this line:
PID of streaming process: 16818
* Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
I guess that should be my computer's IP address. If I go to http://0.0.0.0:500 I can hear audio
Possible duplicate: https://github.com/muammar/mkchromecast/issues/158
Same issue, cast from Chrome on the same laptop works fine though.