How to disable toolbar for specifc user

Hello,

I would like to know how i can forced microphone and camera turn off for user

if(condition){

else {
}

thanks

Open the page passing the params: #config.startWithAudioMuted=true&config.startWithVideoMuted=true.

hey I didn’t think of that thank you

Probably worth noting that browser might still ask for Microphone permissions even if config.startWithAudioMuted=true.

If you want to suppress that too, include config.disableInitialGUM=true. User will still be able to enable microphone later, and only then will browser ask for permissions.