philippe44 / AirConnect

Use AirPlay to stream to UPnP/Sonos & Chromecast devices
Other
3.43k stars 216 forks source link

Initialisation volume defaults to 30% #468

Closed frankie2784 closed 11 months ago

frankie2784 commented 1 year ago

It would be helpful to be able to set the default volume when initialising aircast, or better yet to maintain the existing volume of the connected speakers.

At the moment, when initially connecting to an aircast speaker(s), the volume appears to default to 30%, regardless of what the speaker(s) was set to before pairing. A 30% default would be fine I guess if it were connected to a Google Nest, for example. However, 30% on my Samsung Q930B soundbar is incredibly loud (about 8% on the soundbar is equivalent to 30% on Google Nest). At the moment, with the current defaults, I have to make sure I'm not playing anything when I first pair the speaker, otherwise my neighbours will become very unhappy with me!

philippe44 commented 1 year ago

The culprit is usually the AirPlay controller. I don't set volume until I've received an order from it. You can send me a log so I can confirm what happens in your case.

Goooooooooood commented 11 months ago

I have seen similar problems elsewhere. https://github.com/philippe44/AirConnect/issues/350

I also have a similar issues. My iOS 12.4.1 volume is OK, it will remember the volume setting. But on my iOS 15.7.1 connection, the volume is always auto set to 30%.

philippe44 commented 11 months ago

I really don't know why. From tests I've made, the controller actually sends a volume command at 30%, so there is not much I can do as volume must be handled.