# Zoom meeting WebSDK video slows down and freezes

**URL:** <https://devforum.zoom.us/t/zoom-meeting-websdk-video-slows-down-and-freezes/60650>\
**Category:** Web\
**Created:** [November 24, 2021, 7:02am UTC](https://devforum.zoom.us/t/zoom-meeting-websdk-video-slows-down-and-freezes/60650 "2021-11-24T07:02:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dannyJack](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dannyjack/32/32835_2.png) [@dannyJack](https://devforum.zoom.us/u/dannyJack)\
**Post date:** [November 24, 2021, 7:02am UTC](https://devforum.zoom.us/t/zoom-meeting-websdk-video-slows-down-and-freezes/60650/1 "2021-11-24T07:02:26Z")

</div>

**Description**  
We integrated Zoom WebSDK 1.9.9 currently.  
Our concern is that when some of the cameras are on, the videos will sometimes freeze and delayed sometimes for a 1-5 seconds. Specialy on MacOS Chrome browser

Testing:

> Windows (Chrome) = Sometimes video slows down  
> MacOS (Chrome) = Sometimes video freezes and slows down  
> MacOS (Safari) = currently not used as there where still some issues with it with the lower versions

#of attendees on testing  
even 2 videos/camera (1 host 1 attendee) = will still slow down and freezes

**Which Web Meeting SDK version?**  
1.9.9

**Meeting SDK Code Snippets**  
`  
// get meeting args from url  
var testTool = window.testTool;  
var meetingConfig = {  
apiKey: ZoomPhp.apiKey,  
meetingNumber: ZoomPhp.meeting.meeting\_id,  
userName: (function () {  
if (ZoomPhp.is\_oem) {  
return ZoomPhp.name;  
} else {  
if (ZoomPhp.name) {  
try {  
return testTool.b64DecodeUnicode(ZoomPhp.name);  
} catch (e) {  
return ZoomPhp.name;  
}  
}  
}  
})(),  
passWord: ZoomPhp.meeting.pwd,  
leaveUrl: ZoomPhp.prevUrl,  
role: parseInt(ZoomPhp.role, 10),  
userEmail: (function () {  
if (ZoomPhp.is\_oem) {  
return ZoomPhp.email;  
} else {  
try {  
return testTool.b64DecodeUnicode(ZoomPhp.email);  
} catch (e) {  
return ZoomPhp.email;  
}  
}  
})(),  
lang: ZoomPhp.lang,  
signature: ZoomPhp.signature || “”,  
china: 0,  
};  
var meeting\_info = null;  
if (ZoomPhp.role == 0) {  
meeting\_info = [  
‘topic’,  
‘host’,  
‘participant’,  
‘report’  
];  
}

```
ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();
function beginJoin(signature) {
  ZoomMtg.init({
    leaveUrl: ZoomPhp.prevUrl,
    webEndpoint: meetingConfig.webEndpoint,
    meetingInfo: meeting_info,
    success: function () {
      ZoomMtg.i18n.reload(meetingConfig.lang);
      ZoomMtg.join({
        meetingNumber: meetingConfig.meetingNumber,
        userName: meetingConfig.userName,
        signature: signature,
        apiKey: meetingConfig.apiKey,
        userEmail: meetingConfig.userEmail,
        passWord: meetingConfig.passWord,
        success: function (res_join) {
            checkIfAlreadyJoined();
            ZoomMtg.getCurrentUser({
                success: function(e) {
                    window.ZoomMtg_currentUser = e.result.currentUser;
                }
            });
        },
        error: function (res) {
            // console.log(['DEBUG', res]);
        },
      });
    },
    error: function (res) {
        // console.log(['DEBUG', res]);
    },
  });

  ZoomMtg.inMeetingServiceListener('onUserJoin', function (data) {
        setTimeout(function(){
            ZoomMtg.getAttendeeslist({
                success: function(e) {
                    if (e.result.attendeesList != undefined) {
                        document.querySelector('body').setAttribute("zoom-users", e.result.attendeesList.length);
                    }
                }
            });
        }, 500);
  });

  ZoomMtg.inMeetingServiceListener('onUserLeave', function (data) {
        setTimeout(function(){
            ZoomMtg.getAttendeeslist({
                success: function(e) {
                    if (e.result.attendeesList != undefined) {
                        document.querySelector('body').setAttribute("zoom-users", e.result.attendeesList.length);
                    }
                }
            });
        }, 500);
  });

  if( navigator.userAgent.match(/Android/i)
    || navigator.userAgent.match(/webOS/i)
    || navigator.userAgent.match(/iPhone/i)
    || navigator.userAgent.match(/iPad/i)
    || navigator.userAgent.match(/iPod/i)
    || navigator.userAgent.match(/BlackBerry/i)
    || navigator.userAgent.match(/Windows Phone/i)) {
        document.querySelector('body').classList.add('on-mobile');
    }
}

beginJoin(ZoomPhp.signature);`

```

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

**Device (please complete the following information):**

> Windows  
> Device name DESKTOP-J84RJL2  
> Processor Intel(R) Core™ i5-4460 CPU @ 3.20GHz 3.20 GHz  
> Installed RAM 8.00 GB (7.88 GB usable)  
> Device ID 78052811-7F89-4AF9-9893-0796A5DAF248  
> Product ID 00330-80000-00000-AA899  
> System type 64-bit operating system, x64-based processor  
> Pen and touch No pen or touch input is available for this display

> Mac  
> Model Name: MacBook Air  
> Model Identifier: MacBookAir7,1  
> Processor Name: Intel Core i5  
> Processor Speed: 1.6 GHz  
> Number of Processors: 1  
> Total Number of Cores: 2  
> L2 Cache (per Core): 256 KB  
> L3 Cache: 3 MB  
> Memory: 4 GB  
> Boot ROM Version: 188.0.0.0.0

Note: where not really concern about what device we are using cause we also tested on higher ends devices with much more processing capability but still the video freezes and slows down.

---

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [December 1, 2021, 12:29am UTC](https://devforum.zoom.us/t/zoom-meeting-websdk-video-slows-down-and-freezes/60650/2 "2021-12-01T00:29:26Z")

</div>

Looks like the same problem as reported [here](https://devforum.zoom.us/t/poor-video-and-sound-quality/60717)

Seems to be a regular & increasing issue over the last days/week but especially visible on 23/24 november.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [December 1, 2021, 10:20pm UTC](https://devforum.zoom.us/t/zoom-meeting-websdk-video-slows-down-and-freezes/60650/3 "2021-12-01T22:20:51Z")

</div>

Hey @dannyJack,

Thank you for reaching out to the Zoom Developer Forum. This does seem to be the same issue mentioned by @nvivot. Are you still encountering this issue or was it during the time period referenced?

I’ve followed up with our engineering team and will update the following forum post with further details:

> [@Poor video and sound quality](https://devforum.zoom.us/t/poor-video-and-sound-quality/60717/4):
>
> Hey @eventos.gestao and @nvivot, Thank you for reporting this, I’m sorry to hear that you’re seeing this degradation of service. I’ve reached out to our engineering team with the details I’ve been able to gather and will update you as soon as I hear back from them. (ZOOM-327692) Thanks, Max

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [January 1, 2022, 8:21am UTC](https://devforum.zoom.us/t/zoom-meeting-websdk-video-slows-down-and-freezes/60650/4 "2022-01-01T08:21:12Z")

</div>

Closed on January 1, 2022, 8:21am UTC

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