Starting with iOS 11 and later, the Safari browser supports WebRTC technology.
When viewing the broadcast in the Safari, the iPhone control buttons work as you describe (the physical switch of the phone do not turn off the sound)
But in other browsers for iOS, such as Google Chrome, other solutions are used, for example, WSPlayer, in which the hardware buttons turn off the sound on the entire device.
We recommend that you use Safari.