# Upgrade Web Video SDK v1.2.0

**URL:** <https://devforum.zoom.us/t/upgrade-web-video-sdk-v1-2-0/66436>\
**Category:** Web\
**Created:** [March 25, 2022, 1:01pm UTC](https://devforum.zoom.us/t/upgrade-web-video-sdk-v1-2-0/66436 "2022-03-25T13:01:06Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![muellseb](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/muellseb/32/31903_2.png) [@muellseb](https://devforum.zoom.us/u/muellseb)\
**Post date:** [March 25, 2022, 1:01pm UTC](https://devforum.zoom.us/t/upgrade-web-video-sdk-v1-2-0/66436/1 "2022-03-25T13:01:06Z")

</div>

**Description**  
We have faced issues after upgrading to Web Video SDK version 1.2.0.  
As soon as we start a session, the video gets frozen immediately.  
Audio cracks hardly or is not working at all.

**Browser Console Error**  
none

**Which Web Video SDK version?**  
1.2.0

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Upgrade from 1.1.7 to 1.2.0
2. Join a session
3. Video freeze happens and audio is not working / cracking hardly

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

- Device: HP Laptop
- OS: Windows 10
- Browser: Chrome
- Browser Version: 99.0.4844.82

**Additional context**  
Assets: self hosted, updated and copied from NPM module  
We switched from self hosted assets to the global CDN.  
No improvement.  
Shared Array Buffer: enabled using Cross-Origin-Embedder-Policy: require-corp and  
Cross-Origin-Opener-Policy: same-origin configuration

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [March 28, 2022, 8:04am UTC](https://devforum.zoom.us/t/upgrade-web-video-sdk-v1-2-0/66436/2 "2022-03-28T08:04:48Z")

</div>

Hey @muellseb

Thanks for your feedback.

Could you test with our [sample-app](https://github.com/zoom/sample-app-videosdk/tree/master/react-demo), will the same problem occur?

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![muellseb](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/muellseb/32/31903_2.png) [@muellseb](https://devforum.zoom.us/u/muellseb)\
**Post date:** [March 30, 2022, 9:28pm UTC](https://devforum.zoom.us/t/upgrade-web-video-sdk-v1-2-0/66436/3 "2022-03-30T21:28:11Z")

</div>

Hi @vic.yang

no i did not.  
I already updated to SDK version 1.2.3 after I have seen your changelog.  
The issues are fixed with that version.

1. Audio and video not reconnecting properly on failover
2. Known issue with the video stops playing and goes black when resolution changes to or from 720p

> **[web – Zoom Developer Support](https://devsupport.zoom.us/hc/en-us/sections/9481948737421-web)**

Now I am facing another issue.

User 1 joins a session and switches on the camera.  
User 2 joins the session.  
Everything is rendered correctly.

User 2 leaves the session and re-joins.  
The dimensions are calculated correctly. But the video of User 1 takes the whole size of the canvas with the video. The avatar dimensions are correct.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/6/36b09cf98a83d55fc71ba64db257959be1c7d736.jpeg)

When I resize the window, the video is adjusted to the correct dimensions.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/1/519cdd58ffc2e6a29c83cc05792a3e86dea87f1f.jpeg)

any idea?

---

<div class="post-metadata">

**Author:** ![muellseb](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/muellseb/32/31903_2.png) [@muellseb](https://devforum.zoom.us/u/muellseb)\
**Post date:** [March 30, 2022, 11:53pm UTC](https://devforum.zoom.us/t/upgrade-web-video-sdk-v1-2-0/66436/4 "2022-03-30T23:53:00Z")

</div>

@vic.yang@tommy

I made the very same experience in the sample app.  
Seams like a bug.

User 1 joins and switch on camera

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/1/c140f60f8a1bdf1d53e0f6f3cf85374c6d9d24d2.jpeg)

User 2 joins and everything is fine so far.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/0/f01dbaba4f622a73b8823ad3ba19dcc8dbebaf11.jpeg)

user 2 refreshs the browser.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/9/59d6555503a759e7f0e32dd4568214dc79d993f2.png)

user 2 joins again.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/2/e2de1854ab6e97d44702e25cbe292da8cdd5a204.png)

Result:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/6/46de56488d114334208ec963e1620d1a689afaa9.jpeg)

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [March 31, 2022, 3:06am UTC](https://devforum.zoom.us/t/upgrade-web-video-sdk-v1-2-0/66436/5 "2022-03-31T03:06:16Z")

</div>

Hey @muellseb

There are some issues with the sample-app, we left out the logic to reset the `mediaState` when leaving the session, so next time when joining the session, the `isVideoDecodeReady` is falsely treated as `true`, but actually, it is `false`. We have updated the sample app, you can check the [change](https://github.com/zoom/sample-app-videosdk/commit/e15fb6e12099f76f90aaa2dd44b3e664acf81dfc).

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![muellseb](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/muellseb/32/31903_2.png) [@muellseb](https://devforum.zoom.us/u/muellseb)\
**Post date:** [March 31, 2022, 8:10am UTC](https://devforum.zoom.us/t/upgrade-web-video-sdk-v1-2-0/66436/6 "2022-03-31T08:10:12Z")

</div>

Good morning @vic.yang

yes, this change fixed it.  
We will battle test it with our QA team.

Thanks a lot for your support!  
Also to you @tommy !

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 31, 2022, 3:30pm UTC](https://devforum.zoom.us/t/upgrade-web-video-sdk-v1-2-0/66436/7 "2022-03-31T15:30:58Z")

</div>

Happy to help @muellseb ! 🙂

Thanks @vic.yang !

---

<div class="post-metadata">

**Author:** ![weinbergersontroupe9](https://avatars.discourse-cdn.com/v4/letter/w/53a042/32.png) [@weinbergersontroupe9](https://devforum.zoom.us/u/weinbergersontroupe9)\
**Post date:** [April 19, 2022, 6:49pm UTC](https://devforum.zoom.us/t/upgrade-web-video-sdk-v1-2-0/66436/8 "2022-04-19T18:49:25Z")

</div>

> [@muellseb](#):
>
> Good morning @vic.yang
> 
> yes, this change fixed it.  
> We will battle test it with our QA team on [kharif crops examples](https://rabicrop.com/kharif-crops-examples/).
> 
> Thanks a lot for your support!  
> Also to you @tommy !

I have tested it. It working when we did the setting just like mentioned in the upper replies.

---

<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:** [May 20, 2022, 4:50am UTC](https://devforum.zoom.us/t/upgrade-web-video-sdk-v1-2-0/66436/9 "2022-05-20T04:50:11Z")

</div>

Closed on May 20, 2022, 4:50am UTC

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