Asks for my permission on video and microphone everytime

Description
Does the sdk seek permission everytime? I did join the meeting successfully before and everytime it asks for my permission on video and microphone.

Which Web Meeting SDK version?
2.4.5

Meeting SDK Code Snippets
The code snippets that are causing the error / issue so we can reproduce.

ZoomMtg.init({
        leaveUrl: `${window.location.origin}/finish?type=meeting`,
        isSupportAV: true,
        audioPanelAlwaysOpen: false,
        success: () => {
          ZoomMtg.join({
            sdkKey: key,
            signature: signature,
            meetingNumber: meetingNumber,
            passWord: pwd,
            userName: userName,
            success: res => {
              console.log(res);
            },
            error: error => {
              console.log(error);
            },
          });
        },
        error:(error) => {
          console.log(error);
        }
      });

Screenshots
If applicable, add screenshots to help explain your problem.

Device (please complete the following information):

  • Device: Huawei Mate10
  • OS: Android
  • Browser: Chrome
  • Browser Version: 70.0.3538.110(32 bit)

Hi @weijun.tan this is expected behavior. The browser does not store user context and permission will need to be proactively granted each time. This is a user protection guaranteeing the user does want to provide access to their browser video/audio.

Thank you very much for your help.

Hi @michael.zoom I have an another question, the text of the button is also “Join Audio by Computer” on the mobile end, how can I change the text?

if you host the zoom data on your server

→ /lib/lang/en-US.json

zoom-7

but is change then for mobile AND desktop

Jürgen

1 Like

The desired effect is not achieved in this way. Is there any plan to support different configuration inside the sdk?

it would be nice - but not really necessary

if you want for mobile and desktop different text you could it do with differnet language packages → /dist/lib/lang/…

if (mobile){
    ZoomMtg.i18n.load(<langMobile>);
} else {
    ZoomMtg.i18n.load(<langDesktop>);
}
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.