Replies: 1 comment
|
Thanks for the post, would you be kind enough to submit it as an Issue please? There is also quite a bit of information in the BUILD.md guide and the TROUBLESHOOTING.md about setting up. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I would like to stream from an iPhone to a Fedora XFCE Desktop Linux PCs speakers.
The speakers are nuBoxx A-125 pro and connected via USB with the PC.
I installed shairport-sync via dnf repos,
(https://packages.fedoraproject.org/pkgs/shairport-sync/shairport-sync/index.html)
but it did not seem to connect so I installed the dependencies from:
https://github.com/mikebrady/shairport-sync/blob/master/BUILD.md#fedora-fedora-40
which were not yet installed.
After that I installed nqptp manually like shown in the Build.md
I opened these ports in Fedora:
sudo firewall-cmd --zone=public --add-service=ptp
sudo firewall-cmd --zone=public --add-port=3689/tcp
sudo firewall-cmd --zone=public --add-port=5353/udp
sudo firewall-cmd --zone=public --add-port=5000/tcp
sudo firewall-cmd --zone=public --add-port=6000-6009/udp
sudo firewall-cmd --zone=public --add-port=319-320/udp
sudo firewall-cmd --zone=public --add-port=7000/tcp
sudo firewall-cmd --zone=public --add-port=32768-60999/tcp
sudo firewall-cmd --zone=public --add-port=32768-60999/udp
I still got the message on the iPhone that it can't connect to the PC, so I just ran shairport with statistics to see if there would be listed a problem.
Suddenly I got the Audio to the PCs speakers as long as shairport-sync --statistics ran in the terminal:
When I pressed ctrl-c the audio was gone again, thus I looked what the status of the service showed:
Since the default for shairport is Alsa, but Pipewire is the is the default sound server for Fedora, I tried to use Pipewire.
Here is the output of -h switch:
For Alsa it somehow shows only "hdmi:HDMI", not usb or anything like that.
Then I changed the following in the config:
output_backend = "pw";
Then I played from iPhone but no audio on speakers.
Status shows:
At least no error and whe I want to run: shairport-sync --statistics, I get an error saying Port 5000 is already used, so the service seems to work now.
Could the problem maybe lie there that pipewire service is not running?
systemctl --user status pipewire.service
and
systemctl --user status pipewire-pulse.service
show that they are disabled.
But when playing anything in the Browser, so not over airplay the speakers work with pipewire.
Or could the problem probably be, that shairport is running as global service with sudo?
Sadly, when I want to start it with --user it is not found:
systemctl --user enable shairport-sync.service
Failed to enable unit: Unit shairport-sync.service does not exist
Would the output of the following useful?
aplay -l
pw-cli ls Node
wpctl status
Any Idea how I should proceed now?
All reactions