-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Significant Delay when playing, but 0s when pausing or changing volume. #176
Comments
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. |
huh yeah, this worked. It changed my delay from 15 seconds down to 1 second! I think that extra 1 second is the data transfer from my iPhone to the HA server, so overall, it's a perfect fix! |
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. |
+1, that fixed the 15 seconds delay i had, which actually made me not use it at all. thanks for investigating and finding the fix! |
Problem/Motivation
Downloaded the addon on HA and noticed significant delay when playing songs but if you pause or change volume its immediate.
There have been a couple of issues filed with the same problem but closed due to being stale, so opening this one to provide a solution and request maintainer to fix it.
#164 - Significant delay when playing/stopping/changing songs #164
#166 - 10s lag when playing, but 0s when pausing #166
Proposed changes
After debugging the addon, I noticed that it is using flac codec being used is slowing things down. As per the commits, it should be wav. So, its unclear why flac codec is being used when latest commit uses wav at https://github.com/hassio-addons/addon-airsonos/blob/main/airsonos/rootfs/etc/airsonos.xml
For folks seeing delays, please make the following changes -
The text was updated successfully, but these errors were encountered: