Closed spbkaizo closed 10 months ago
Thanks for the report. You should switch to the development
branch of Shairport Sync – that fix is not yet in the master
branch. Then let’s see how it’s going…
Switched to the development branch - still no joy.
0.000492667 "shairport.c:579" looking for configuration file at full path "/etc/shairport-sync.conf"
0.000898666 "shairport.c:2251" Startup in AirPlay 2 mode, with features 0x405c4a00,0x1c340 on device "e4:5f:01:45:ce:a9".
0.000077889 "shairport.c:2290" Version String: "4.2.1-dev-AirPlay2-smi9-alac-OpenSSL-Avahi-ALSA-soxr-sysconfdir:/etc"
0.000019000 "shairport.c:2309" Command Line: "shairport-sync -vvv".
0.000040889 "shairport.c:2316" libsodium initialised.
0.000344074 "shairport.c:2341" libgcrypt initialised.
0.000024056 "shairport.c:2345" Log Verbosity is 3.
0.000038944 "audio_alsa.c:1003" alsa: init() -- alsa_backend_state => abm_disconnected.
0.000017445 "audio_alsa.c:1020" alsa: alsa_maximum_stall_time of 0.200000 sec.
0.000028185 "audio_alsa.c:1309" alsa: disable_standby_mode is "never".
0.000015611 "audio_alsa.c:1313" alsa: disable_standby_mode_silence_threshold is 0.040000 seconds.
0.000015426 "audio_alsa.c:1315" alsa: disable_standby_mode_silence_scan_interval is 0.004000 seconds.
0.000026944 "audio_alsa.c:1355" alsa: output device name is "default".
0.000290037 "shairport.c:2360" The processor is running little-endian.
0.000025426 "shairport.c:2393" disable_resend_requests is off.
0.000016297 "shairport.c:2394" diagnostic_drop_packet_fraction is 0.000000. A value of 0.0 means no packets will be dropped deliberately.
0.000052260 "shairport.c:2398" statistics_requester status is 0.
0.000017666 "shairport.c:2403" rtsp listening port is 7000.
0.000015260 "shairport.c:2404" udp base port is 6001.
0.000015351 "shairport.c:2405" udp port range is 10.
0.000015112 "shairport.c:2406" player name is "MainHiFi".
0.000015833 "shairport.c:2407" backend is "alsa".
0.000013981 "shairport.c:2408" run_this_before_play_begins action is "(null)".
0.000006814 "audio_alsa.c:2038" keep_dac_busy is now "no"
0.000013574 "shairport.c:2409" run_this_after_play_ends action is "(null)".
0.000082963 "shairport.c:2410" wait-cmd status is 0.
0.000017426 "shairport.c:2411" run_this_before_play_begins may return output is 0.
0.000015741 "shairport.c:2412" run_this_if_an_unfixable_error_is_detected action is "(null)".
0.000033833 "shairport.c:2414" run_this_before_entering_active_state action is "(null)".
0.000016500 "shairport.c:2416" run_this_after_exiting_active_state action is "(null)".
0.000028074 "shairport.c:2418" active_state_timeout is 10.000000 seconds.
0.000026575 "shairport.c:2419" mdns backend "(null)".
0.000016092 "shairport.c:2420" userSuppliedLatency is 0.
0.000015056 "shairport.c:2421" interpolation setting is "auto".
0.000024333 "shairport.c:2425" interpolation soxr_delay_threshold is 30000000.
0.000022759 "shairport.c:2426" resync time is 0.050000 seconds.
0.000016426 "shairport.c:2427" resync recovery time is 0.100000 seconds.
0.000015445 "shairport.c:2428" allow a session to be interrupted: 0.
0.000015185 "shairport.c:2429" busy timeout time is 0.
0.000014907 "shairport.c:2430" drift tolerance is 0.002000 seconds.
0.000015593 "shairport.c:2431" password is "(null)".
0.000014685 "shairport.c:2432" default airplay volume is: -24.000000.
0.000016333 "shairport.c:2433" high threshold airplay volume is: -16.000000.
0.000016167 "shairport.c:2435" check for higher-than-threshold volume for new play session is disabled.
0.000015630 "shairport.c:2441" ignore_volume_control is 1.
0.000015740 "shairport.c:2445" volume_max_db is not set
0.000015093 "shairport.c:2446" volume range in dB (zero means use the range specified by the mixer): 0.
0.000015537 "shairport.c:2448" volume_range_combined_hardware_priority (1 means hardware mixer attenuation is used first) is 0.
0.000024241 "shairport.c:2452" playback_mode is 0 (0-stereo, 1-mono, 1-reverse_stereo, 2-both_left, 3-both_right).
0.000015500 "shairport.c:2454" disable_synchronization is 0.
0.000014870 "shairport.c:2455" use_mmap_if_available is 1.
0.000014889 "shairport.c:2456" output_format automatic selection is enabled.
0.000015148 "shairport.c:2460" output_rate automatic selection is enabled.
0.000015296 "shairport.c:2464" audio backend desired buffer length is 0.200000 seconds.
0.000015741 "shairport.c:2466" audio_backend_buffer_interpolation_threshold_in_seconds is 0.120000 seconds.
0.000015778 "shairport.c:2468" audio backend latency offset is 0.000000 seconds.
0.000015796 "shairport.c:2470" audio backend silence lead-in time is "auto".
0.000015037 "shairport.c:2474" zeroconf regtype is "_raop._tcp".
0.000015130 "shairport.c:2475" decoders_supported field is 3.
0.000014944 "shairport.c:2476" use_apple_decoder is 1.
0.000014871 "shairport.c:2477" alsa_use_hardware_mute is 0.
0.000014815 "shairport.c:2481" no special mdns service interface was requested.
0.000042611 "shairport.c:2484" configuration file name "/etc/shairport-sync.conf" resolves to "/etc/shairport-sync.conf".
0.000025629 "shairport.c:2514" loudness is 0.
0.000014889 "shairport.c:2515" loudness reference level is -20.000000
0.000173315 "ptp-utilities.c:176" Send control message to NQPTP: "/nqptp T"
0.000174185 "ptp-utilities.c:176" Send control message to NQPTP: "/nqptp T"
0.005180741 "ptp-utilities.c:116" ptp_shm_interface_open with mapped_addr = 0
0.000050407 "ptp-utilities.c:120" ptp_shm_interface_open is NULL
0.000102241 "ptp-utilities.c:147" ptp_shm_interface_open -- success!
0.000021408 "ptp-utilities.c:116" ptp_shm_interface_open with mapped_addr = 281473791553536
0.000016962 "ptp-utilities.c:151" ptp_shm_interface_open -- already open!
0.000015723 "shairport.c:2616" NQPTP is online.
0.000375333 "activity_monitor.c:164" am_state: am_inactive
0.007124148 "mdns_avahi.c:220" avahi: service 'E45F0145CEA9@MainHiFi' group is not yet committed.
0.003199722 "mdns_avahi.c:268" avahi: avahi_entry_group_commit 0
0.000468019 "mdns_avahi.c:463" avahi_dacp_monitor_start Avahi DACP monitor successfully started
0.000464481 "mdns_avahi.c:224" avahi: service 'E45F0145CEA9@MainHiFi' group is registering.
0.765113759 "mdns_avahi.c:191" avahi: service 'E45F0145CEA9@MainHiFi' successfully added.
0.010430704 "rtsp.c:759" mutex_lock "&conns_lock".
0.000057852 "common.c:1612" mutex_unlock "&conns_lock" at "rtsp.c:775".
0.000023352 "rtsp.c:779" No active connections.
0.000019814 "rtsp.c:786" Airplay Volume for new connections is -24.000000.
0.000246315 "rtsp.c:5629" Connection 1: New connection from 127.0.0.1:43132 to self at 127.0.0.1:7000.
0.000409685 "rtsp.c:5645" Successfully created RTSP receiver thread 1.
0.000044649 "rtsp.c:696" mutex_lock "&conns_lock".
0.000025074 "common.c:1612" mutex_unlock "&conns_lock" at "rtsp.c:718".
0.000712240 "rtsp.c:1381" Connection 1: Connection closed by client.
0.000065019 "rtsp.c:5345" Connection 1: Terminate RTSP connection.
0.000029426 "rtsp.c:5048" Connection 1: rtsp_conversation_thread_func_cleanup_function called.
0.000019833 "rtsp.c:2693" Connection 1: TEARDOWN unspecified stream connection.
0.000019167 "rtsp.c:5062" Connection 1: terminating -- closing timing, control and audio sockets...
0.000018167 "rtsp.c:5083" Connection 1: terminating -- closing RTSP connection socket 8: from 127.0.0.1:43132 to self at 127.0.0.1:7000.
0.000930259 "rtsp.c:5136" Cancel watchdog thread.
0.000625778 "rtsp.c:5138" Join watchdog thread.
0.001280129 "rtsp.c:644" Connection 1: Watchdog Exit.
0.000672463 "rtsp.c:5140" Delete watchdog mutex.
0.000057074 "rtsp.c:5146" Connection 1: Closed.
0.001633111 "rtsp.c:759" mutex_lock "&conns_lock".
0.000057463 "rtsp.c:762" found RTSP connection thread 1 in a non-running state.
0.000025426 "rtsp.c:765" Connection 1: deleted in cleanup.
0.000022759 "common.c:1612" mutex_unlock "&conns_lock" at "rtsp.c:775".
0.000018982 "rtsp.c:786" Airplay Volume for new connections is -24.000000.
0.000950222 "rtsp.c:5629" Connection 2: New connection from 127.0.0.1:43144 to self at 127.0.0.1:7000.
0.000304334 "rtsp.c:5645" Successfully created RTSP receiver thread 2.
0.000042000 "rtsp.c:696" mutex_lock "&conns_lock".
0.000022462 "common.c:1612" mutex_unlock "&conns_lock" at "rtsp.c:718".
0.000351630 "rtsp.c:1381" Connection 2: Connection closed by client.
0.000038204 "rtsp.c:5345" Connection 2: Terminate RTSP connection.
0.000020389 "rtsp.c:5048" Connection 2: rtsp_conversation_thread_func_cleanup_function called.
0.000020000 "rtsp.c:2693" Connection 2: TEARDOWN unspecified stream connection.
0.000020592 "rtsp.c:5062" Connection 2: terminating -- closing timing, control and audio sockets...
0.000015093 "rtsp.c:5083" Connection 2: terminating -- closing RTSP connection socket 8: from 127.0.0.1:43144 to self at 127.0.0.1:7000.
0.000816315 "rtsp.c:5136" Cancel watchdog thread.
0.000054481 "rtsp.c:5138" Join watchdog thread.
0.000090037 "rtsp.c:644" Connection 2: Watchdog Exit.
0.000409296 "rtsp.c:5140" Delete watchdog mutex.
0.000060352 "rtsp.c:5146" Connection 2: Closed.
0.000032241 "rtsp.c:759" mutex_lock "&conns_lock".
0.002392259 "rtsp.c:762" found RTSP connection thread 2 in a non-running state.
0.000040408 "rtsp.c:765" Connection 2: deleted in cleanup.
0.000017778 "common.c:1612" mutex_unlock "&conns_lock" at "rtsp.c:775".
0.000015833 "rtsp.c:786" Airplay Volume for new connections is -24.000000.
0.000124667 "rtsp.c:5629" Connection 3: New connection from 172.16.210.14:51688 to self at 172.16.210.14:7000.
0.000173388 "rtsp.c:5645" Successfully created RTSP receiver thread 3.
0.000025371 "rtsp.c:696" mutex_lock "&conns_lock".
0.000016407 "common.c:1612" mutex_unlock "&conns_lock" at "rtsp.c:718".
0.000031574 "rtsp.c:759" mutex_lock "&conns_lock".
0.000014685 "rtsp.c:770" Airplay Volume for connection 3 is -24.000000.
0.000017482 "common.c:1612" mutex_unlock "&conns_lock" at "rtsp.c:775".
0.000014111 "rtsp.c:781" One active connection.
0.000013611 "rtsp.c:786" Airplay Volume for new connections is -24.000000.
0.000248722 "rtsp.c:5629" Connection 4: New connection from 172.16.210.14:51698 to self at 172.16.210.14:7000.
0.000150649 "rtsp.c:5645" Successfully created RTSP receiver thread 4.
0.000022444 "rtsp.c:696" mutex_lock "&conns_lock".
0.000016593 "common.c:1612" mutex_unlock "&conns_lock" at "rtsp.c:718".
0.000742611 "rtsp.c:1381" Connection 3: Connection closed by client.
0.000633463 "rtsp.c:5345" Connection 3: Terminate RTSP connection.
0.000258981 "rtsp.c:5048" Connection 3: rtsp_conversation_thread_func_cleanup_function called.
0.000152797 "rtsp.c:2693" Connection 3: TEARDOWN unspecified stream connection.
0.000455907 "rtsp.c:5062" Connection 3: terminating -- closing timing, control and audio sockets...
0.000256926 "rtsp.c:5083" Connection 3: terminating -- closing RTSP connection socket 8: from 172.16.210.14:51688 to self at 172.16.210.14:7000.
0.000297648 "rtsp.c:1381" Connection 4: Connection closed by client.
0.000476648 "rtsp.c:5345" Connection 4: Terminate RTSP connection.
0.000042296 "rtsp.c:5048" Connection 4: rtsp_conversation_thread_func_cleanup_function called.
0.000021389 "rtsp.c:2693" Connection 4: TEARDOWN unspecified stream connection.
0.000019130 "rtsp.c:5062" Connection 4: terminating -- closing timing, control and audio sockets...
0.000018185 "rtsp.c:5083" Connection 4: terminating -- closing RTSP connection socket 9: from 172.16.210.14:51698 to self at 172.16.210.14:7000.
0.000148148 "rtsp.c:5136" Cancel watchdog thread.
0.000145852 "rtsp.c:5136" Cancel watchdog thread.
0.000027963 "rtsp.c:644" Connection 4: Watchdog Exit.
0.000263055 "rtsp.c:5138" Join watchdog thread.
0.000142056 "rtsp.c:5138" Join watchdog thread.
0.000170759 "rtsp.c:5140" Delete watchdog mutex.
0.000046019 "rtsp.c:5146" Connection 4: Closed.
0.000178111 "rtsp.c:644" Connection 3: Watchdog Exit.
0.000480815 "rtsp.c:5140" Delete watchdog mutex.
0.000054481 "rtsp.c:5146" Connection 3: Closed.
0.689324981 "shairport.c:248" soxr_delay: 2896998 nanoseconds, soxr_delay_threshold: 30 milliseconds.
0.000074852 "shairport.c:255" "soxr" interpolation has been chosen.
3.514474369 "rtsp.c:759" mutex_lock "&conns_lock".
0.000060259 "rtsp.c:762" found RTSP connection thread 3 in a non-running state.
0.000028185 "rtsp.c:765" Connection 3: deleted in cleanup.
0.000021148 "rtsp.c:762" found RTSP connection thread 4 in a non-running state.
0.000020222 "rtsp.c:765" Connection 4: deleted in cleanup.
0.000021704 "common.c:1612" mutex_unlock "&conns_lock" at "rtsp.c:775".
0.000029352 "rtsp.c:779" No active connections.
0.000022018 "rtsp.c:786" Airplay Volume for new connections is -24.000000.
0.000165130 "rtsp.c:5629" Connection 5: New connection from 172.16.210.14:51712 to self at 172.16.210.14:7000.
0.000166444 "rtsp.c:5645" Successfully created RTSP receiver thread 5.
0.000034704 "rtsp.c:696" mutex_lock "&conns_lock".
0.000022815 "common.c:1612" mutex_unlock "&conns_lock" at "rtsp.c:718".
0.000186444 "rtsp.c:836" msg_init message 1
0.000049686 "rtsp.c:945" RTSP Message Received: "GET /info RTSP/1.0".
0.000039944 "rtsp.c:976" CSeq: 1.
0.000046648 "rtsp.c:976" User-Agent: owntone/28.6.
0.000024334 "rtsp.c:976" Client-Instance: 6E82B7B4BB2B5945.
0.000022740 "rtsp.c:976" DACP-ID: 6E82B7B4BB2B5945.
0.000022463 "rtsp.c:976" Active-Remote: 21352105.
0.000041519 "rtsp.c:836" msg_init message 2
0.000024000 "rtsp.c:5212" Connection 5: Received an RTSP Packet of type "GET":
0.000022852 "rtsp.c:5214" Type: "CSeq", content: "1"
0.000021444 "rtsp.c:5214" Type: "User-Agent", content: "owntone/28.6"
0.000032445 "rtsp.c:5214" Type: "Client-Instance", content: "6E82B7B4BB2B5945"
0.000032759 "rtsp.c:5214" Type: "DACP-ID", content: "6E82B7B4BB2B5945"
0.000021778 "rtsp.c:5214" Type: "Active-Remote", content: "21352105"
0.000021777 "rtsp.c:5214" No Content Plist. Content length: 0.
0.000025537 "rtsp.c:2073" Connection 5: GET /info :: Content-Length 0
0.000077167 "rtsp.c:2075" GET request
0.000025315 "rtsp.c:2075" Type: "CSeq", content: "1"
0.000021315 "rtsp.c:2075" Type: "User-Agent", content: "owntone/28.6"
0.000019074 "rtsp.c:2075" Type: "Client-Instance", content: "6E82B7B4BB2B5945"
0.000036963 "rtsp.c:2075" Type: "DACP-ID", content: "6E82B7B4BB2B5945"
0.000032703 "rtsp.c:2075" Type: "Active-Remote", content: "21352105"
0.000036778 "rtsp.c:2075" No Content Plist. Content length: 0.
0.000022537 "rtsp.c:1717" GET /info:
0.000020982 "rtsp.c:1717" Type: "CSeq", content: "1"
0.000035500 "rtsp.c:1717" Type: "User-Agent", content: "owntone/28.6"
0.000031111 "rtsp.c:1717" Type: "Client-Instance", content: "6E82B7B4BB2B5945"
0.000021907 "rtsp.c:1717" Type: "DACP-ID", content: "6E82B7B4BB2B5945"
0.000021019 "rtsp.c:1717" Type: "Active-Remote", content: "21352105"
0.000050148 "rtsp.c:1717" No Content Plist. Content length: 0.
0.000266370 "rtsp.c:1856" GET /info Stage 2 Response
0.000031926 "rtsp.c:1856" Response Code: 501.
0.000025389 "rtsp.c:1856" Type: "CSeq", content: "1"
0.000024741 "rtsp.c:1856" Type: "Server", content: "AirTunes/366.0"
0.000024889 "rtsp.c:1856" Type: "Content-Type", content: "application/x-apple-binary-plist"
0.000111666 "rtsp.c:1856" Content Plist (as XML):
--
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>audioLatencies</key>
<array>
<dict>
<key>inputLatencyMicros</key>
<integer>0</integer>
<key>outputLatencyMicros</key>
<integer>400000</integer>
<key>type</key>
<integer>100</integer>
</dict>
<dict>
<key>audioType</key>
<string>default</string>
<key>inputLatencyMicros</key>
<integer>0</integer>
<key>outputLatencyMicros</key>
<integer>400000</integer>
<key>type</key>
<integer>100</integer>
</dict>
<dict>
<key>audioType</key>
<string>media</string>
<key>inputLatencyMicros</key>
<integer>0</integer>
<key>outputLatencyMicros</key>
<integer>400000</integer>
<key>type</key>
<integer>100</integer>
</dict>
<dict>
<key>audioType</key>
<string>media</string>
<key>inputLatencyMicros</key>
<integer>0</integer>
<key>outputLatencyMicros</key>
<integer>400000</integer>
<key>type</key>
<integer>102</integer>
</dict>
</array>
<key>keepAliveLowPower</key>
<true/>
<key>keepAliveSendStatsAsBody</key>
<true/>
<key>manufacturer</key>
<string>Shairport Sync</string>
<key>nameIsFactoryDefault</key>
<false/>
<key>protocolVersion</key>
<string>1.1</string>
<key>sdk</key>
<string>AirPlay;2.0.2</string>
<key>sourceVersion</key>
<string>366.0</string>
<key>statusFlags</key>
<integer>4</integer>
<key>features</key>
<integer>496155701824000</integer>
<key>deviceID</key>
<string>e4:5f:01:45:ce:a9</string>
<key>pi</key>
<string>69744b03-94ae-47ec-9e01-7c1e2c6a53ad</string>
<key>name</key>
<string>MainHiFi</string>
<key>model</key>
<string>Shairport Sync</string>
</dict>
</plist>
--
0.001381426 "rtsp.c:5273" Connection 5: RTSP Response:
0.000028019 "rtsp.c:5274" Response Code: 200.
0.000024778 "rtsp.c:5274" Type: "CSeq", content: "1"
0.000024629 "rtsp.c:5274" Type: "Server", content: "AirTunes/366.0"
0.000024593 "rtsp.c:5274" Type: "Content-Type", content: "application/x-apple-binary-plist"
<string>media</string>
<key>inputLatencyMicros</key>
<integer>0</integer>
<key>outputLatencyMicros</key>
<integer>400000</integer>
<key>type</key>
<integer>100</integer>
</dict>
<dict>
<key>audioType</key>
<string>media</string>
<key>inputLatencyMicros</key>
<integer>0</integer>
<key>outputLatencyMicros</key>
<integer>400000</integer>
<key>type</key>
<integer>102</integer>
</dict>
</array>
<key>keepAliveLowPower</key>
<true/>
<key>keepAliveSendStatsAsBody</key>
<true/>
<key>manufacturer</key>
<string>Shairport Sync</string>
<key>nameIsFactoryDefault</key>
<false/>
<key>protocolVersion</key>
<string>1.1</string>
<key>sdk</key>
<string>AirPlay;2.0.2</string>
<key>sourceVersion</key>
<string>366.0</string>
<key>statusFlags</key>
<integer>4</integer>
<key>features</key>
<integer>496155701824000</integer>
<key>deviceID</key>
<string>e4:5f:01:45:ce:a9</string>
<key>pi</key>
<string>69744b03-94ae-47ec-9e01-7c1e2c6a53ad</string>
<key>name</key>
<string>MainHiFi</string>
<key>model</key>
<string>Shairport Sync</string>
</dict>
</plist>
--
0.001744000 "rtsp.c:1579" Responding with content of length 571
0.000182889 "rtsp.c:921" msg_free freed message 2
0.000074518 "rtsp.c:921" msg_free freed message 1
0.006853408 "rtsp.c:836" msg_init message 3
0.000049000 "rtsp.c:945" RTSP Message Received: "POST /pair-setup RTSP/1.0".
0.000027148 "rtsp.c:976" CSeq: 2.
0.000017389 "rtsp.c:976" User-Agent: owntone/28.6.
0.000017000 "rtsp.c:976" Client-Instance: 6E82B7B4BB2B5945.
0.000017055 "rtsp.c:976" DACP-ID: 6E82B7B4BB2B5945.
0.000017408 "rtsp.c:976" Active-Remote: 21352105.
0.000017092 "rtsp.c:976" Content-Type: application/octet-stream.
0.000017482 "rtsp.c:976" X-Apple-HKP: 4.
0.000016815 "rtsp.c:976" Content-Length: 9.
0.000021240 "rtsp.c:836" msg_init message 4
0.000017278 "rtsp.c:5212" Connection 5: Received an RTSP Packet of type "POST":
0.000017593 "rtsp.c:5214" Type: "CSeq", content: "2"
0.000016166 "rtsp.c:5214" Type: "User-Agent", content: "owntone/28.6"
0.000016093 "rtsp.c:5214" Type: "Client-Instance", content: "6E82B7B4BB2B5945"
0.000016333 "rtsp.c:5214" Type: "DACP-ID", content: "6E82B7B4BB2B5945"
0.000015945 "rtsp.c:5214" Type: "Active-Remote", content: "21352105"
0.000035574 "rtsp.c:5214" Type: "Content-Type", content: "application/octet-stream"
0.000030315 "rtsp.c:5214" Type: "X-Apple-HKP", content: "4"
0.000016759 "rtsp.c:5214" Type: "Content-Length", content: "9"
0.000016704 "rtsp.c:5214" No Content Plist. Content length: 9.
0.000021000 "rtsp.c:2277" Connection 5: handle_pair-setup Content-Length 9
0.017631111 "rtsp.c:2315" pair-setup response
0.000049129 "rtsp.c:2315" Response Code: 200.
0.000017297 "rtsp.c:2315" Type: "CSeq", content: "2"
0.000015407 "rtsp.c:2315" Type: "Server", content: "AirTunes/366.0"
0.000015519 "rtsp.c:2315" Type: "Content-Type", content: "application/octet-stream"
0.000016648 "rtsp.c:2315" No Content Plist. Content length: 409.
0.000015833 "rtsp.c:5273" Connection 5: RTSP Response:
0.000015630 "rtsp.c:5274" Response Code: 200.
0.000014926 "rtsp.c:5274" Type: "CSeq", content: "2"
0.000014722 "rtsp.c:5274" Type: "Server", content: "AirTunes/366.0"
0.000015055 "rtsp.c:5274" Type: "Content-Type", content: "application/octet-stream"
0.000015612 "rtsp.c:5274" No Content Plist. Content length: 409.
0.000017944 "rtsp.c:1579" Responding with content of length 409
0.000095148 "rtsp.c:921" msg_free freed message 4
0.000041963 "rtsp.c:921" msg_free freed message 3
0.049920778 "rtsp.c:836" msg_init message 5
0.000053074 "rtsp.c:945" RTSP Message Received: "POST /pair-setup RTSP/1.0".
0.000022000 "rtsp.c:976" CSeq: 3.
0.000016963 "rtsp.c:976" User-Agent: owntone/28.6.
0.000016037 "rtsp.c:976" Client-Instance: 6E82B7B4BB2B5945.
0.000016352 "rtsp.c:976" DACP-ID: 6E82B7B4BB2B5945.
0.000015740 "rtsp.c:976" Active-Remote: 21352105.
0.000015667 "rtsp.c:976" Content-Type: application/octet-stream.
0.000017019 "rtsp.c:976" X-Apple-HKP: 4.
0.000015889 "rtsp.c:976" Content-Length: 457.
0.000020000 "rtsp.c:836" msg_init message 6
0.000016685 "rtsp.c:5212" Connection 5: Received an RTSP Packet of type "POST":
0.000016518 "rtsp.c:5214" Type: "CSeq", content: "3"
0.000015260 "rtsp.c:5214" Type: "User-Agent", content: "owntone/28.6"
0.000015222 "rtsp.c:5214" Type: "Client-Instance", content: "6E82B7B4BB2B5945"
0.000014889 "rtsp.c:5214" Type: "DACP-ID", content: "6E82B7B4BB2B5945"
0.000047240 "rtsp.c:5214" Type: "Active-Remote", content: "21352105"
0.000032260 "rtsp.c:5214" Type: "Content-Type", content: "application/octet-stream"
0.000016685 "rtsp.c:5214" Type: "X-Apple-HKP", content: "4"
0.000015204 "rtsp.c:5214" Type: "Content-Length", content: "457"
0.000015611 "rtsp.c:5214" No Content Plist. Content length: 457.
0.000019703 "rtsp.c:2277" Connection 5: handle_pair-setup Content-Length 457
0.019022686 "rtsp.c:2315" pair-setup response
0.000046462 "rtsp.c:2315" Response Code: 200.
0.000019556 "rtsp.c:2315" Type: "CSeq", content: "3"
0.000017482 "rtsp.c:2315" Type: "Server", content: "AirTunes/366.0"
0.000017574 "rtsp.c:2315" Type: "Content-Type", content: "application/octet-stream"
0.000017888 "rtsp.c:2315" No Content Plist. Content length: 69.
0.000017834 "rtsp.c:5273" Connection 5: RTSP Response:
0.000017259 "rtsp.c:5274" Response Code: 200.
0.000021167 "rtsp.c:5274" Type: "CSeq", content: "3"
0.000029389 "rtsp.c:5274" Type: "Server", content: "AirTunes/366.0"
0.000023685 "rtsp.c:5274" Type: "Content-Type", content: "application/octet-stream"
0.000020852 "rtsp.c:5274" No Content Plist. Content length: 69.
0.000021518 "rtsp.c:1579" Responding with content of length 69
0.000150685 "rtsp.c:921" msg_free freed message 6
0.000028426 "rtsp.c:921" msg_free freed message 5
0.000963389 "rtsp.c:836" msg_init message 7
0.000046093 "rtsp.c:945" RTSP Message Received: "SETUP rtsp://172.16.210.14/3723604573 RTSP/1.0".
0.000031333 "rtsp.c:976" CSeq: 4.
0.000021056 "rtsp.c:976" User-Agent: owntone/28.6.
0.000014685 "rtsp.c:976" Client-Instance: 6E82B7B4BB2B5945.
0.000014389 "rtsp.c:976" DACP-ID: 6E82B7B4BB2B5945.
0.000026185 "rtsp.c:976" Active-Remote: 21352105.
0.000019537 "rtsp.c:976" Content-Type: application/x-apple-binary-plist.
0.000015556 "rtsp.c:976" Content-Length: 177.
0.000018833 "rtsp.c:836" msg_init message 8
0.000015018 "rtsp.c:5212" Connection 5: Received an RTSP Packet of type "SETUP":
0.000015741 "rtsp.c:5214" Type: "CSeq", content: "4"
0.000018741 "rtsp.c:5214" Type: "User-Agent", content: "owntone/28.6"
0.000018000 "rtsp.c:5214" Type: "Client-Instance", content: "6E82B7B4BB2B5945"
0.000018518 "rtsp.c:5214" Type: "DACP-ID", content: "6E82B7B4BB2B5945"
0.000017760 "rtsp.c:5214" Type: "Active-Remote", content: "21352105"
0.000017518 "rtsp.c:5214" Type: "Content-Type", content: "application/x-apple-binary-plist"
0.000017371 "rtsp.c:5214" Type: "Content-Length", content: "177"
0.000040925 "rtsp.c:5214" Content Plist (as XML):
--
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>deviceID</key>
<string>6E:82:B7:B4:BB:2B:59:45</string>
<key>sessionUUID</key>
<string>56243447-9773-4D87-96B2-E2EE9B028298</string>
<key>timingPort</key>
<integer>50001</integer>
<key>timingProtocol</key>
<string>NTP</string>
</dict>
</plist>
--
0.000127500 "rtsp.c:2886" Connection 5: SETUP (AirPlay 2)
0.000023130 "rtsp.c:2906" Connection 5 SETUP: No "streams" array has been found -- create an event thread and open a TCP port.
0.000026741 "rtsp.c:2934" Connection 5: SETUP: NTP setup from 172.16.210.14:51712 ("<unknown>") to self at 172.16.210.14:7000.
0.000026129 "rtsp.c:3143" SETUP on Connection 5: ntp stream handling is not implemented!
0.000016130 "rtsp.c:3145" *warning: Shairport Sync can not handle NTP streams.
0.000017722 "rtsp.c:3444" SETUP response
0.000015500 "rtsp.c:3444" Response Code: 400.
0.000014667 "rtsp.c:3444" Type: "CSeq", content: "4"
0.000014796 "rtsp.c:3444" Type: "Server", content: "AirTunes/366.0"
0.000024889 "rtsp.c:3444" No Content Plist. Content length: 0.
0.000016463 "rtsp.c:5273" Connection 5: RTSP Response:
0.000015278 "rtsp.c:5274" Response Code: 400.
0.000014796 "rtsp.c:5274" Type: "CSeq", content: "4"
0.000015037 "rtsp.c:5274" Type: "Server", content: "AirTunes/366.0"
0.000015019 "rtsp.c:5274" No Content Plist. Content length: 0.
0.000300500 "rtsp.c:921" msg_free freed message 8
0.000044518 "rtsp.c:921" msg_free freed message 7
0.001563389 "rtsp.c:1381" Connection 5: Connection closed by client.
0.000086593 "rtsp.c:5345" Connection 5: Terminate RTSP connection.
0.000028815 "rtsp.c:5048" Connection 5: rtsp_conversation_thread_func_cleanup_function called.
0.000161481 "rtsp.c:2693" Connection 5: TEARDOWN NTP stream connection.
0.000037593 "rtsp.c:5062" Connection 5: terminating -- closing timing, control and audio sockets...
0.000019240 "rtsp.c:5083" Connection 5: terminating -- closing RTSP connection socket 8: from 172.16.210.14:51712 to self at 172.16.210.14:7000.
0.000506111 "rtsp.c:5136" Cancel watchdog thread.
0.000084371 "rtsp.c:5138" Join watchdog thread.
0.000239704 "rtsp.c:644" Connection 5: Watchdog Exit.
0.000139055 "rtsp.c:5140" Delete watchdog mutex.
0.000054333 "rtsp.c:5146" Connection 5: Closed.
So this was in fact an issue with my owntone.conf. Leaving this here for others to find.
I had defined the output in owntone.conf thusly:
airplay "MainHiFi" {
exclude = false
permanent = true
reconnect = true
raop_disable = true
}
Commenting, or marking 'raop_disable=false' allows the streams to start.
10.536751382 "rtsp.c:2934" Connection 5: SETUP: NTP setup from 172.16.210.14:40582 ("<unknown>") to self at 172.16.210.14:7000.
0.000103389 "rtsp.c:3143" SETUP on Connection 5: ntp stream handling is not implemented!
0.000030815 "rtsp.c:3145" *warning: Shairport Sync can not handle NTP streams.
13.027949529 "rtsp.c:2934" Connection 6: SETUP: NTP setup from 172.16.210.14:39860 ("<unknown>") to self at 172.16.210.14:7000.
0.000057797 "rtsp.c:3143" SETUP on Connection 6: ntp stream handling is not implemented!
0.000021240 "rtsp.c:3145" *warning: Shairport Sync can not handle NTP streams.
1084.236292984 "rtsp.c:4515" Connection 11: Classic AirPlay connection from 127.0.0.1:56318 to self at 127.0.0.1:7000.
0.007276203 "rtsp.c:1668" Connection 11: Classic AirPlay connection from 127.0.0.1:56318 to self at 127.0.0.1:7000.
1.004980407 "audio_alsa.c:1769" alsa: SND_PCM_STATE_* 3, error -32 ("Broken pipe") writing 8820 samples to alsa device.
0.009439185 "audio_alsa.c:1751" alsa: recovering from a previous underrun.
This issue has been inactive for 45 days so will be closed 7 days from now. To prevent this, please remove the "stale" label or post a comment.
What happened?
I'm struggling to get Owntone to output to a shairplay-sync reciever (airplay2). This seems to be the same as issue #1407, and I was hoping for a steer on how best to proceed.
Shairport-sync is running on the same machine, in case that plays a part. It's been built from the latest git sources, and with the following configure arguments:
./configure --sysconfdir=/etc --with-alsa --with-soxr --with-avahi --with-ssl=openssl --with-systemd --enable-airplay2
Likewise, owntone is following the git sources, and is built with the following configure arguments:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-install-user --disable-spotify --enable-lastfm
Likewise, nqptp is installed from git and is up and running.
Relevant log output
Configuration Information.
How did you install Shairport Sync?
Built from source
Check previous issues