-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Very long delay (>30secs) on macOS Sierra 10.12.6 #221
Comments
Sure is. IIRC the Edit: I haven't switched to the Homebrew install method yet. Perhaps |
Wav is just noise. Flac however has the delay down to a much more manageable 8 seconds. |
I think I got 8 seconds with |
What about sample rate? I'm still stuck with 30sec delay on both node and ffmpeg. |
The default, |
8 seconds is still a very long delay. Which setting needs to be tweaked to get it to something tolerable, like less than one second? |
Experiencing same behavior on Debian 9, mkchromecast v0.3.7. |
@muammar Any idea what's the reason for the huge delay? Is there some big audio buffer in use? I guess I need to start reading the sources to figure it out.. |
On Sat, Feb 9, 2019 at 2:43 PM pasikarkkainen ***@***.***> wrote:
@muammar <https://github.com/muammar> Any idea what's the reason for the
huge delay? Is there some big audio buffer in use?
I guess I need to start reading the sources to figure it out..
No idea. I tried before to fix it but never succeeded. This does not happen
to me when I use Sonos speakers. I don't know what the difference is.
|
Sonos here as well. |
Apparently the |
This is with ffmpeg in macOS. I am casting to my sonos speakers using aac with 500k. The video SUCKS but shows the idea :). |
I am seeing the same delay on xubuntu 18.04 LTS I am very new to this. Has anyone found any settings that can be tweaked to reduce or eliminate the delay? |
I also have around ~30s delay on Ubuntu Studio (16.04, 18.10, 19.04) when casting to Chromecast Audio. |
According to home-assistant/core#16319 this commit should help with delay. It helped me to go from 17 seconds to 3 seconds delay when using chromecast. Related to #221, #61 and probably #104.
If some of you are interested, please check out this b6d0b3b. |
If I want to test it on Linux, I need to build it right? EDIT: And now the delay is 24 seconds Am I missing a step? |
The easiest way would be to clone the repo (I think you already did that), and inside it do |
But would that use the latest commit? So how can I use the latest commit? |
|
I forgot to mention that before executing the application you have to verify that you are in the latest commit with |
Thanks for clarifying. On Ubuntu 19 the delay is still long, around 25 seconds. |
mkchromecast v0.3.8.1 |
Debian 9, regardless of the mkchromecast configuration (codec, backend, etc) and version (tested 0.3.9, 0.3.8, and 0.3.7) and regardless weather using alsa or pule delays of at least 20 seconds. |
Debian 10, I will always get around 30-38 seconds of delay. The very first time I ran mkchromecast I got 27 seconds, but that's probably just a fluke |
I think this helps: 30f4e85 I will close this report but feel free to reopen. |
Hello! Very glad to find this app, the lack of Chromecast connectivity on both Spotify and iTunes is maddening.
I installed using homebrew, and the functionality is all there, but there's a latency of over 30 seconds between the computer and the Chromecast. I use Soundflower regularly without any such problems. Is this the sort of thing that switching to ffmpeg rather than node might help?
The text was updated successfully, but these errors were encountered: