How to turn off the audio and the audio when connected?

I’m customizing using the “openvidu-webcomponent” tutorial.

It is understood that the “ovSettings” variable can be used to prevent audio or video buttons from appearing on the toolbar.

What I want to implement is to make the audio or video off when the button does not appear on the toolbar.
Please explain what I should do.

I found a solution for myself. I’m sorry to ask you a stupid question.