-
Notifications
You must be signed in to change notification settings - Fork 255
Airplay speaker disconnects after a few seconds. #2
Comments
I can confirm, I'm having the same issue. I really like the idea of Airsonos, I'd love to help, but I'm not much of a node developer. I can provide any debug info you need though 😄 |
It's unfortunately fairly difficult with the current codebase for me to debug these types of issues without access to the network. Currently, there's not a lot of testing/verbosity in the code so it's hard to tell what's failing in a given scenario. Hopefully, as I continue to refactor hacked-together parts, I can get a better idea of what's wrong. For some clarity - The problem could be with either the AirPlay side of things (having OS X/iOS talk to the server, which is handled by nodetunes), or with the Sonos side of things (having the server talk mp3stream to the device, which is handled by nicercast and node-sonos). Would love any help you guys can provide on fixing these issues. |
I tested it again, still gives a few errors but works for now. With all the errors I was on a wired connection. Now working with wireless, and it works!! Still got a few errors but no big deal. This is a great tool!!! Ps. I just installed the version from git today, so that might also the solution of the problem. |
Interesting - is the
|
Yes only error. |
I traced this down to a leading carriage return in the setup RTSP request.
|
@danburke Do you mind submitting an issue + patch on https://github.com/stephen/nodetunes so I can take a look? (nodetunes is the library that handles the rtsp functionality) Thanks for your help! |
Sure ! |
Not really, it just happens consistently every time as soon as I choose a Sonos as output device. I haven't managed to get things working yet. |
What device are trying to AirPlay from? How strong is the network connection? I've seen it happen on my end before, but not immediately after startup. |
MBA 11", Mid 2012. The connection is perfect, I’m practically sitting next On Fri, Apr 25, 2014 at 9:03 AM, Stephen Wan [email protected]:
|
Gotcha. Unfortunately, I'm not able to repro this problem consistently with my setup (MBP, 1 x Play:3), so will have to for some more clarity on how to make this happen.. |
Hi, I can reproduce this error. |
Hey @RobertBiehl, AirSonos support on RPI is a different issue with lame encoder performance. (see stephen/nicercast#2). A possible workaround is to compile the shine encoder, and replace the lame bindings with shine, but currently not officially supported. |
Does this also fix this error? Thanks for the info! I'll try to add trim on the command and see if I need to switch to shineenc. |
|
When attempting to Airplay to to Airsonos, the AirPlay devices are present and selectable on iOS devices, but after a few second of playback (nothing is heard on the Sonos system, you can just see the time of the track ticking along for a few seconds), the music pauses and returns to the default output (e.g. the iPhone speaker.) At this point, you can reselect the Airsonos speaker in the Airplay settings, but the issue repeats as before.
It appears to be random and every now and again the package works successfully.
When it disconnects, there is nothing logged. However, when I tried with just one of my speakers online, I got this error message (but only once and I cannot reproduce the error!):
The issue persists when node is installed both globally and in the home directory and also if run as root.
System information:
Ubuntu 13.10 (server)
Airsonos version 0.0.4
Sonos Devices: 2x ZP90s
The text was updated successfully, but these errors were encountered: