The isMuted - https://developer.apple.com/documentation/avfoundation/avsamplebufferaudiorenderer/2866177-ismuted and volume - https://developer.apple.com/documentation/avfoundation/avsamplebufferaudiorenderer/2866179-volume are used to set volumes of player.
I tried to mute audio playing by setting isMuted to true and volume to 0.0. it doesn't work when the HomePod is the audio output device using AirPlay, but if it works on iPhone speaker output.
How should I mute the audio when using AirPlay device as audio output?
Selecting any option will automatically load the page