-
Notifications
You must be signed in to change notification settings - Fork 255
Cannot send system audio to P:1 #17
Comments
Hmm, can you see which port airsonos is trying to use (add When finding a port, it should compensate for ports being used via portastic.. |
So I've added I just get...
but no 'Client connected' |
Yes, those console.log lines should happen... Are you modifying a local copy (vs. the -g globally installed) version? |
Are you actively playing sound? AirPlay doesn't actually attempt to connect until there's audio being played on the device. When does the error you're seeing actually happen? |
Ah ok! I thought it would connect as soon as I set it to be the active device. So after that, I start to hit volume up, and it continuously logs client connected and an incrementing port number until it gets to 8050, then crashes...
|
Interesting.. Do you have anything running on those ports? (Try a netstat -p)? |
Nothing running on 8051. If I update the max portastic port to 8060, it'll go to 8060 before throwing the same error. Also, the clicking sounds that you get when you change the volume don't come out of the P:1 when this is happening, both it and my mac are completely silent. |
Odd. Can you try running portastic's example and see if that works? (https://github.com/cranic/node-portastic) Seems like an issue with portastic at this point.. Makes sees that the volume change click isn't happening (in the context of the error you're seeing) - what's happening is that the server the Sonos speaker attempts to connect to for audio isn't being started because it's not able to connect to any port 8000-8050. |
I'm not sure it's a portastic issue, more to do with the client connecting every time I hit volume up. If I set the airsonos as my output device for audio, open VLC and open a video file, I get audio playing after a few seconds. Is it possible to make airsonos reuse the same port for streaming each time I hit volume up, rather than creating a new icecastServer instance every time and starting it on another port? |
I don't think the volume change is directly coupled with AirSonos attempting to re-connect. (Although it might be indirectly, when the "click" noise attempts to play, OS X attempts to connect to AirSonos to pipe the audio (which fails each time, thereby having OS X try again the next time you hit volume change, etc. etc.)). Does this only happen when you press on volume up/down? (i.e. play audio on vlc, don't touch volume does it work fine until you change volume?) Can you also try a different port range? e.g. something in the 50000's range? |
I'm getting an Error: listen EADDRINUSE with the system audio set to stream to the airplay. Here's what I'm doing:
• Start airsonos, which successfully finds my P:1
• Open Sound settings in sysprefs and select AirSonos output device
• Mash the volume keys on my mac up and down
• No clicking sound is heard through sonos, which crashes with the following shortly after:
Any ideas?
The text was updated successfully, but these errors were encountered: