Closed janiversen closed 11 months ago
Forgot, I use the standard build:
$ git clone https://github.com/mikebrady/shairport-sync.git
$ cd shairport-sync
$ autoreconf -fi
$ ./configure --sysconfdir=/etc --with-alsa \
--with-soxr --with-avahi --with-ssl=openssl --with-systemd --with-airplay-2
$ make
# make install
The logs are from "master", I did the same test with branch "development" and it was the same.
I tried to run with -vv when streaming from my MacMini, the log are here:
Thanks for the report. Could you enable statistics (--statistics
) and set a log level of just 1 (-v
) and post the results for the Mac mini please?
Of course: stat.log
The config contains: ´´´ mixer_control_name = "PCM"; ´´´ Because I saw you recommended that in another issue and wrote that it is build into the RPI...it seems it cannot be found ? (I have no controls on the RPI, so maybe its not needed ?).
I did a compare of the iPad log vs MacMini log:
6.730336570 "rtsp.c:2866" Connection 1: AP2 PTP connection from fd2d:31ce:1aa3:0:1881:a8e9:8486:df83:55931 ("MacMini") to self at fd2d:31ce:1aa3:0:c2e1:5fc5:91ac:8d01:7000.
0.100581371 "rtsp.c:3249" Connection 1. AP2 Realtime Audio Stream.
0.005204907 "audio_alsa.c:322" *warning: failed to find mixer control "PCM",0.
1.001659703 "rtp.c:1741" AP2 Realtime Clock receiver initialised.
1.087311444 "player.c:1810" Connection 1: Playback stopped. Total playing time 09:22:44.
10.108704735 "rtsp.c:3249" Connection 1. AP2 Realtime Audio Stream.
10.346877179 "player.c:1810" Connection 1: Playback stopped. Total playing time 09:23:05.
12.965203233 "rtsp.c:2866" Connection 1: AP2 PTP connection from fd2d:31ce:1aa3:0:c21:8d48:41b8:f56e:56048 ("Jan iPad") to self at fd2d:31ce:1aa3:0:c2e1:5fc5:91ac:8d01:7000.
22.525412116 "rtsp.c:3249" Connection 1. AP2 Realtime Audio Stream.
0.006490093 "audio_alsa.c:322" *warning: failed to find mixer control "PCM",0.
0.048228851 "rtp.c:1741" AP2 Realtime Clock receiver initialised.
1.939880666 "player.c:2832" Connection 1: Playback started at frame 2876630831 -- AirPlay 2 Realtime.
5.065834164 "player.c:1810" Connection 1: Playback stopped. Total playing time 00:00:05.
The iPad calls:
1.939880666 "player.c:2832" Connection 1: Playback started at frame 2876630831 -- AirPlay 2 Realtime.
but MacMini does not.
Thanks for the update.
Please keep us apprised of how you get on…
Found the culprit, but I do not understand it ?
iPad, shairport and macMini are on the same subnet (192.168.20.x), and as the log show Mac mini connects correctly to the shairport.
The difference is that the macMini is cabled, where iPad and shairport are Wifi (also 192.168.20.x)
When I put the MacMini on the Wifi and disconnect the cable it works !
This might be good good advice to put in the documentation....however does any of you know why it does not work when the Mac mini is cabled ?
The problem was that MDNS (224.0.0.0) is not bridged between wifi and lan on openwrt.
Thanks for the help.
Excellent -- thanks for letting us know the problem!
What happened?
My iPad (iPadOS 16.6.1) streams nicely to the RPI and to the speakers.
My MacMini (MacOS Sonoma 14.0) can see the airport and allows me to stream, but there are NO sound.
All tests are done with the Spotify app.
I checked the alsamixer while streaming from either device and could not see a difference:
Relevant log output
System Information.
RPI 4 with IQAudioAMP. Software is RaspbianOS Lite 64 bit and shairport-sync (compiled from latest master, tested also with development).
iPad with iPadOS 16.6.1 (WORKS) MacMini with MacOS Sonoma 14.0
Test software: Spotify app (for iPad and macOS).
Configuration Information.
PulseAudio or PipeWire installed?
How did you install Shairport Sync?
Built from source
Check previous issues