-
-
Notifications
You must be signed in to change notification settings - Fork 581
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
[Problem]: Audio Does not work across different vlans / subnets #1953
Comments
I turned on logging, when i connect from the different vlan, here is the log
|
Thanks for the post. TBH, it's a bit surprising that the other devices work at all, as AirPlay seems to be confined to the same subnet. So if you could give some details of the VLANs, it might be useful. Another consideration is that the IP addresses advertised by Shairport Sync — which uses Avahi — can include global IPv6 addresses, whereas genuine AirPlay devices seem to only advertise local IPv6 addresses. It would be interesting to see what happens if you completely disable IPv6 on the Pi. [Update] If you have firewalls between the VLANs, then maybe they are causing some of the issues. One way to check is to temporarily disable them to see if the problem resolves. |
Thanks for the suggestion, turning off IPV6 fixed the issue, must be a routing issue across vlans only for ipv6 |
Actually, is there a way to only have shareport use ipv4 with ipv6 still being enabled on the pi as I would like to have raspotify installed but for some reason raspotify doesnt work with ipv6 disabled. |
Well done on the progress so far. I am completely guessing here, but I am guessing that when IPv6 is enabled, your device is getting a global IPv6 address which AirPlay devices won’t use. Shairport Sync uses Avahi, so it might be worth trying to prevent Avahi from advertising IPv6. I’ve never done this, but there seems to be some advice on the Internet. Not sure it’ll work and not sure if won’t mess up Raspotify, but worth trying. |
Thats worked a treat, thanks for you help :), maybe worth adding to troubleshooting? Although it is a very niche issue. |
Glad it worked! You’re right — it should go into troubleshooting. I’m away from machines just now, but when I get back… |
What happened?
My iPhone is on a different Vlan to the RPI, and when i check airplay devices it appears, however when i cast to it there is no audio. This isnt a network issue as I have 5 other airplay devices that work just fine across the vlans. I have looked at past issues and discovered #1360 but there was no solution to the issue in that case, I have no idea why this is happening, I have tried removing all ACL's between my vlans and flushing the IP table to allow all traffic, but no luck. Has anyone else encountered this?
What is so confusing is that all of my other airplay devices work just fine, its only the RPI and shairport-sync.
Relevant log output
No response
System Information.
RPI 3B+, 3.5mm audio port
Configuration Information.
PulseAudio or PipeWire installed?
How did you install Shairport Sync?
A package manager (apt, apt install, yum, pkg, etc.)
Check previous issues
The text was updated successfully, but these errors were encountered: