Skip to content
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

"Not alive, connection not established yet" despite everything else looking good #49

Open
jwcxz opened this issue Jan 19, 2016 · 1 comment

Comments

@jwcxz
Copy link

jwcxz commented Jan 19, 2016

Trying out today's master with my Arch Linux system. avahi is configured correctly and is reporting my Apple TV 3rd Generation (it's actually reporting it under both ipv4 and ipv6, not sure if this is a problem).

avahi-browse.txt

raop-discover sees my Apple TV. Interestingly it sees it twice:

sinks.txt

But any attempt at interacting with the device fails with the log containing "Not alive, connection not established yet." This includes attempting to set the volume with pacmd set-sink-volume (using both indices 1 and 2 to test) and playing music via VLC (which sees the double-instance of Apple TV in the device selector).

I added a few lines of debugging. First, I confirmed that the response to the OPTIONS command returns STATUS_OK. Second, in pa_raop_client_is_alive(), I print the values of c->rtsp and c->sci. It looks like after the check for STATUS_OK in rtsp_auth_cb(), the client is freed and removed in lines 1305 and 1306. Presumably this is why pa_raop_client_is_alive() thinks the client is dead? I don't know enough about the code flow yet to make any judgements, so I'm not sure if this is useful info or not.

Full log of ./src/pulseaudio -n -F src/default.pa -p $(pwd)/src/ --log-time=1 -vvvv -L module-raop-discover 2>&1 (includes my debug statements under XXX:):

log.txt

@jwcxz
Copy link
Author

jwcxz commented Jan 19, 2016

Forgot to add the changes I made for logging:

extra-logging.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant