Skip to content
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

White light but no audio when streaming to HomePod Mini #2479

Open
sverrirarnors opened this issue Aug 16, 2024 · 5 comments
Open

White light but no audio when streaming to HomePod Mini #2479

sverrirarnors opened this issue Aug 16, 2024 · 5 comments
Labels

Comments

@sverrirarnors
Copy link

sverrirarnors commented Aug 16, 2024

What do you need help with?

I've been trying this package using the following command on a HomePod Mini

ffmpeg -i http://netradio.ruv.is:80/ras1.mp3 -f mp3 - | atvremote -n <name> stream_file=-

What happens is that a white glowing light appears on the HomePod, but no audio plays. If I check in the Home app, it says that the HomePod is playing, but there isn't really anything going on.

I've also tried passing the path directly in the stream_file argument, as well as streaming a local file, but the same thing happens. I also tried to factory reset the HomePod, but to no avail.

Do you have any pointers about how I can proceed with this? Is there anything more I could try?

@xXxNIKIxXx
Copy link

I am encountering the same problem. I have a Python application that streams an FFmpeg stream to the HomePod. After the latest update, it broke. However, downgrading the library version back to 0.14.5 makes it work again.

@postlund
Copy link
Owner

That's interesting, will have to check that. I haven't made any changes to AirPlay streaming, maybe is related to some external library (like miniaudio). Is it the same with local files?

@xXxNIKIxXx
Copy link

For me using an local file with the Path also doesen't work.

@sverrirarnors
Copy link
Author

Using the 0.14.5 version worked for me as well @xXxNIKIxXx

postlund added a commit that referenced this issue Sep 6, 2024
Audio streaming broke in the previous version due to nonce length
changes. Apparently the encryption output counter was wrongly
implemented as well (counter was always zero). Apple devices seems
to be fine with that, but maybe some other devices doesn't like it?
That is fixed now.

Relates to #2479
postlund added a commit that referenced this issue Sep 6, 2024
Audio streaming broke in the previous version due to nonce length
changes. Apparently the encryption output counter was wrongly
implemented as well (counter was always zero). Apple devices seems
to be fine with that, but maybe some other devices doesn't like it?
That is fixed now.

Relates to #2479
@postlund
Copy link
Owner

postlund commented Sep 6, 2024

This should be fixed in 0.15.1, please give it a try!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants