Audio does not start, same user authorizing

When the zoom is started via browser the audio does not automatically enter.

Console:
js_media.min.js:1 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page

Screen:

Hi @daniel.vieira,

Just to clarify, you want the audio to after the meeting starts?

Thanks

No. I want the audio to start the moment the meeting loads, I believe it is normal.
But this does not occur. The screen is locked in the “join audio …” button

“Sometimes, after I click at the button " Entrar por audio do computador"the screen freezes”

Hi @daniel.vieira,
Right now our web sdk is doesn’t allow to load the audio automatically, you will have to select “Join Audio” button.

Can you provide a screenshot of when the screen freezes?

Thanks

43cdc0233d31e74f502ec6b18639096b1ce83072_2_690x421

Screen freezes atached!

Hi @daniel.vieira,

When it freezes, can you open up the dev tools and let me know what error is showing up? Possibly provide a screenshot of that?

Thanks

Console:
js_media.min.js:1 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page

This is message on console.

Hey @daniel.vieira,

Just confirming that this error is happening on our JS Web SDK?

Also can you provide steps / code so we can reproduce and debug on our end?

Thanks,
Tommy

Hi @tommy,

Just confirming that this error is happening on our [JS Web SDK]?
YES

Also can you provide steps / code so we can reproduce and debug on our end?
Remembering that the problem is intermittent. So you have to try it several times until it happens.

My Includes:
https://dmogdx0jrul3u.cloudfront.net/1.4.2/lib/vendor/react.min.js
https://dmogdx0jrul3u.cloudfront.net/1.4.2/lib/vendor/react-dom.min.js
https://dmogdx0jrul3u.cloudfront.net/1.4.2/lib/vendor/redux.min.js
https://dmogdx0jrul3u.cloudfront.net/1.4.2/lib/vendor/redux-thunk.min.js
https://dmogdx0jrul3u.cloudfront.net/1.4.2/lib/vendor/jquery.min.js
https://dmogdx0jrul3u.cloudfront.net/1.4.2/lib/vendor/lodash.min.js
https://source.zoom.us/zoom-meeting-1.4.2.min.js
js/index.js (my file)

My index.js file:

(function(){

   console.log('checkSystemRequirements');
   console.log(JSON.stringify(ZoomMtg.checkSystemRequirements()));

   ZoomMtg.preLoadWasm();
   ZoomMtg.prepareJssdk();

   var API_KEY = <<<< MY API KEY >>>;
   
  //params from URL 
  var url = new URL(window.location.href);
   var meetingId = url.searchParams.get("meetingId");
   var userName = url.searchParams.get("userName");
   var userEmail = url.searchParams.get("userEmail");
   var sig = url.searchParams.get("sig");

   $.i18n.reload("pt-PT");

   var meetConfig = {
       apiKey: API_KEY,
       meetingNumber: meetingId,
       userName: userName,
       userEmail: userEmail,
       signature: sig,
       leaveUrl: "https://conexasaude.zoom.us",
       role: 0
   };

   ZoomMtg.init({
       leaveUrl: meetConfig.leaveUrl,
       showMeetingHeader: false,
   	disableInvite: true,
       isSupportAV: true,
       isSupportChat: false,
       screenShare: true,
       sharingMode: 'both',
       videoHeader: true,
       audioPanelAlwaysOpen: true,
       disableRecord: false,
       success: function () {
           ZoomMtg.join({
                   meetingNumber: meetConfig.meetingNumber,
                   userName: meetConfig.userName,
                   signature: meetConfig.signature,
                   apiKey: meetConfig.apiKey,
                   userEmail: meetConfig.userEmail,
                   success: function(res){
                       console.log('Join meeting success',res);
                   },
                   error: function(res) {
                       console.log(res);
                   }
               }
           );
       },
       error: function(res) {
           console.log(res);
       }
   });

})();

Hi @daniel.vieira,

Is this only happening with one meeting ID or multiple? Also, can you provide me your system specs, like OS, browser version, HD space, RAM space?

Thanks

Is this only happening with one meeting ID or multiple?
Multiple! Several customers complaining about the problem.

Also, can you provide me your system specs, like OS, browser version, HD space, RAM space?

MacBook Pro Core5 , Chrome v75 , 512 GB ssd, free space 300GB, Ram 8GB.

Acer Notebook Core 5, Chrome v75 , 1TB HD, free space 859GB, Ram 4GB.

outhers…

Hi @daniel.vieira,

Thanks for providing me the info. Can you provide me some of the meeting IDs that are used when this happens as well? We’re trying to reproduce the issue on our end.

Thanks

Hi team,

I am also facing this same issue on websdk version 1.7.7 CDN version . I’m using a macbook air 2017, 8GB ram, 1.8 Ghz intel i5, Chrome version 81. The issue does not replicate everytime. Any help would be appreciated.

@anmol - Can you provide the screenshots/video recordings and meeting IDs so that we can take a look?

Hi Michael,
Thanks for the reply. I have figured a workaround for the issue. Instead of waiting for zoom to ask for permissions after initialising the meetings I asked for the audio n video permissions beforehand. This seems to work for all my test cases. Though still not sure what causes this issue. I didn’t take any screenshots but this got this error in the console.

js_media.min.js:1 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page

Hey @anmol,

That is a clever work around!

That error usually happens if the Audio tries to start without any user clicks or actions due to privacy.

Thanks,
Tommy