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...