# Autochange self video frame with "Change capture screen resolution to 1280 720" in console

**URL:** <https://devforum.zoom.us/t/autochange-self-video-frame-with-change-capture-screen-resolution-to-1280-720-in-console/79315>\
**Category:** Web\
**Created:** [November 25, 2022, 8:49am UTC](https://devforum.zoom.us/t/autochange-self-video-frame-with-change-capture-screen-resolution-to-1280-720-in-console/79315 "2022-11-25T08:49:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![efron.vit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/efron.vit/32/33711_2.png) [@efron.vit](https://devforum.zoom.us/u/efron.vit)\
**Post date:** [November 25, 2022, 8:49am UTC](https://devforum.zoom.us/t/autochange-self-video-frame-with-change-capture-screen-resolution-to-1280-720-in-console/79315/1 "2022-11-25T08:49:25Z")

</div>

Hi,  
I noticed an interesting behavior of the canvas on which the video is being rendered. This happens only on one computer out of two.

I’m running this code:  
`ZOOM.stream.renderVideo(canvas, zoomId, width, height, 0, 0, VideoQuality.Video_720P);`  
On this canvas:

 ![1](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/9/e95a72441a9236bf7dd76b698eae19ba4b9ed1a6.jpeg)

First the video starts taking up the entire surface of the canvas.  
But, after 30-60 seconds, a message comes to the console: **“сhange capture screen resolution to 1280 720”.** After that, the video on the host itself changes size (I do not make any resize canvas, I don’t run adjustRenderedVideoPosition or updateVideoCanvasDimension).

 ![2](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/f/8f6b695e7e87db87b6e90eca0645abc889b26926.jpeg)

Here is another example for clarity:  
before

 ![3](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/a/2a55ee5caa696c2f6e8de41f0a92971fa89e2aad.jpeg)

after

 ![4](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/d/9dc1067b73bd5c6abe0f2b56c93734495aaec80e.jpeg)

WEB SDK 1.5.0.

---

<div class="post-metadata">

**Author:** ![aux.li](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aux.li/32/43362_2.png) [@aux.li](https://devforum.zoom.us/u/aux.li)\
**Post date:** [November 29, 2022, 8:50am UTC](https://devforum.zoom.us/t/autochange-self-video-frame-with-change-capture-screen-resolution-to-1280-720-in-console/79315/2 "2022-11-29T08:50:57Z")

</div>

Hey @efron.vit ,

Thanks for your feedback. Could you share your code snippet for this functionality and provide more infomation about two computers and browsers?

Thanks,  
Aux

---

<div class="post-metadata">

**Author:** ![efron.vit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/efron.vit/32/33711_2.png) [@efron.vit](https://devforum.zoom.us/u/efron.vit)\
**Post date:** [November 29, 2022, 10:34am UTC](https://devforum.zoom.us/t/autochange-self-video-frame-with-change-capture-screen-resolution-to-1280-720-in-console/79315/3 "2022-11-29T10:34:11Z")

</div>

@aux.li  
What specific information is needed and which sections of the code? I seem to have described all the necessary information.

Could you explain under what conditions “change capture screen resolution to 1280 720” is triggered

---

<div class="post-metadata">

**Author:** ![aux.li](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aux.li/32/43362_2.png) [@aux.li](https://devforum.zoom.us/u/aux.li)\
**Post date:** [November 30, 2022, 2:28am UTC](https://devforum.zoom.us/t/autochange-self-video-frame-with-change-capture-screen-resolution-to-1280-720-in-console/79315/4 "2022-11-30T02:28:37Z")

</div>

Hey @efron.vit

“change capture screen resolution to 1280 720” is common log. And I follow this case step includes using renderVideo and SDK 1.5.0, but did not reproduce it.  
I noticed that the ID of canvas changed in the first two screenshots. What code caused this change? Does this code also call the updateVideoCanvasDimension? This is a guess.  
The video angle of the last screenshot looks like the video stream from an iPad device on the desktop?  
We want more code snippet for this functionality if you can share. It can help us find the reason for this issue.

Thanks,  
Aux

---

<div class="post-metadata">

**Author:** ![efron.vit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/efron.vit/32/33711_2.png) [@efron.vit](https://devforum.zoom.us/u/efron.vit)\
**Post date:** [November 30, 2022, 2:30pm UTC](https://devforum.zoom.us/t/autochange-self-video-frame-with-change-capture-screen-resolution-to-1280-720-in-console/79315/5 "2022-11-30T14:30:09Z")

</div>

I do not make any resize canvas, I don’t run adjustRenderedVideoPosition or updateVideoCanvasDimension. It’s not an iPad, it’s an app on a Droidcam phone that turns the phone into a webcam.

You’re right about the changed id, maybe that’s the problem. I will try to understand why he could have changed.

---

<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:** [December 31, 2022, 12:30am UTC](https://devforum.zoom.us/t/autochange-self-video-frame-with-change-capture-screen-resolution-to-1280-720-in-console/79315/6 "2022-12-31T00:30:16Z")

</div>

Closed on December 31, 2022, 12:30am UTC

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