pwt / docker-airconnect-arm

Docker builds of AirConnect for Raspberry Pi devices. Optimised for Sonos.
Apache License 2.0
37 stars 8 forks source link

Feedback and Suggestions #5

Closed pwt closed 3 years ago

pwt commented 5 years ago

Feel free to use this issue to leave feedback and make suggestions.

polyzen commented 4 years ago

Hi @pwt, I'm wondering why 1000:1000:f is used as the default latency here when 1000:2000 is suggested in AirConnect's readme for Sonos.

pwt commented 4 years ago

Hi @polyzen. It's just based on experience, really: I've used AirConnect extensively in multiple network environments and I find that latency settings of 750:750:f provide very reliable buffering with Sonos. I make it 1000:1000:f as the default for the Docker image just to be conservative.

You can adjust this back to the recommended defaults using -e LATENCY='1000:2000' (or whatever else you wish) on the Docker command line to start the container. See the 'Other configuration settings' section in the README.

The :f parameter just makes sure that silence frames are sent if the incoming stream is interrupted. This is to mitigate against the speaker closing its connection if there's a temporary interruption on the sending side.

jlambert121 commented 3 years ago

Just wanted to leave some feedback - thanks for this! Worked exactly as expected and I didn't have to write the Dockerfile or build the image!

pwt commented 3 years ago

Just wanted to leave some feedback - thanks for this! Worked exactly as expected and I didn't have to write the Dockerfile or build the image!

Great! Glad it's useful. Thanks for the feedback.

pwt commented 3 years ago

Closing this issue in favour of using Discussions instead.