Skip to content

Instantly share code, notes, and snippets.

@noelhibbard
Last active March 16, 2017 07:29
Show Gist options
  • Save noelhibbard/52f727f66cb13680950178d6c603187b to your computer and use it in GitHub Desktop.
Save noelhibbard/52f727f66cb13680950178d6c603187b to your computer and use it in GitHub Desktop.
C:\Program Files\shairport-sync>shairport-sync.exe -c shairport-sync.conf -v
Looking for the configuration file "shairport-sync.conf".
Version: "3.1d0-OpenSSL-tinysvcmdns-ao-stdout-pipe-metadata-sysconfdir:/usr/local/etc"
statistics_requester status is 0.
daemon status is 0.
rtsp listening port is 5001.
udp base port is 6001.
udp port range is 100.
Shairport Sync player name is "Noel's Desk".
Audio Output name is "(null)".
on-start action is "(null)".
on-stop action is "(null)".
wait-cmd status is 0.
mdns backend "(null)".
stuffing option is "0" (0-basic, 1-soxr).
resync time is 0.050000 seconds.
allow a session to be interrupted: 1.
busy timeout time is 120.
drift tolerance is 0.001995 seconds.
password is "(null)".
ignore_volume_control is 0.
volume_max_db is not set
playback_mode is 0 (0-stereo, 1-mono, 1-reverse_stereo, 2-both_left, 3-both_right).
disable_synchronization is 0.
use_mmap_if_available is 1.
output_rate is 44100.
output_format is 3 (0-unknown, 1-S8, 2-U8, 3-S16, 4-S24, 5-S24_3LE, 6-S24_3BE, 7-S32).
audio backend desired buffer length is 1.000000 seconds.
audio backend latency offset is 0.000000 seconds.
volume range in dB (zero means use the range specified by the mixer): 0.
zeroconf regtype is "_raop._tcp".
decoders_supported field is 1.
use_apple_decoder is 0.
no special mdns service interface was requested.
configuration file name "shairport-sync.conf" resolves to "/shairport-sync/shairport-sync.conf".
metdata enabled is 1.
metadata pipename is "/dev/null".
metadata socket address is "127.0.0.1" port 5555.
metadata socket packet size is "500".
get-coverart is 1.
loudness is 0.
loudness reference level is -20.000000
Successful Startup
New RTSP connection from [fe80::1089:e579:e9b1:9369]:62365 to self at [fe80::5d64:b745:5c08:d8ae]:5001.
Play connection from user agent "AirPlay/310.17".
Active-Remote string seen: "3417485256".
DACP-ID string seen: "2F2A9BD1E6606C76".
Set up play connection from fe80::1089:e579:e9b1:9369 to self at fe80::5d64:b745:5c08:d8ae.
Output frame bytes is 0.
Output sample ratio is 1.
Output bit depth is 16.
Sync packet received before we got a timing packet back.
Hammerton Decoder used on encrypted audio.
Output sample ratio is 1
RTSP shutdown requested.
Closing down RTSP conversation thread...
Shut down audio, control and timing threads
Audio receiver -- Server RTP thread interrupted. terminating.
Control RTP thread interrupted. terminating.Timing thread interrupted. terminating.
rtp_timing_sender thread interrupted. terminating.
Closed and terminated timer requester thread.
Timing RTP thread terminated.
timing thread joined
audio thread joined
control thread joined
Player thread exit <------ THIS WAS THE LAST LINE AFTER STOPPING THE STREAM
New RTSP connection from [fe80::1089:e579:e9b1:9369]:62379 to self at [fe80::5d64:b745:5c08:d8ae]:5001. <---- THIS IT THE FIRST LINE WHEN STARTING A NEW STREAM
Play connection from user agent "AirPlay/310.17".
Active-Remote string seen: "4179927338".
DACP-ID string seen: "965D262F56090843".
Set up play connection from fe80::1089:e579:e9b1:9369 to self at fe80::5d64:b745:5c08:d8ae.
Output frame bytes is 0.
Output sample ratio is 1.
@mikebrady
Copy link

Back again. Would it be possible to run the same thing with a log verbosity of 2 please – that is, use -vv in place of -v. I'd like to see what it thinks that a shutdown was requested. There's a bug in there somewhere....

@mikebrady
Copy link

I just can't replicate this problem. However, I have seen a race condition and a memory barrier issue and pushed an update, 3.1s1 ("s" for stability – no irony intended). If you got a chance to try it and report back, I'd be obliged.

@mikebrady
Copy link

Hello again. Thanks for your patience with this. If you set allow_session_interruption back to "no" does the problem go away?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment