# Elongated self video in zoom SDK version 2.9.7

**URL:** <https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385>\
**Category:** Meeting SDK\
**Created:** [March 8, 2023, 3:33pm UTC](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385 "2023-03-08T15:33:14Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![software4](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/software4/32/46267_2.png) [@software4](https://devforum.zoom.us/u/software4)\
**Post date:** [March 8, 2023, 3:33pm UTC](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385/1 "2023-03-08T15:33:15Z")

</div>

Self video is coming in a distorted (elongated) format after updating @zoomus/websdk to 2.9.7. The distortion is only happening for the participant who is sharing their video, for other participants present in the meeting, video seems normal. I am sharing both screenshots of how a participant is seeing their own video and how other participants are seeing them.

[Distorted Self video](https://drive.google.com/file/d/1jFSpTWWsP75giUQEc3OCAriDBC3RBGhl/view?usp=sharing)

[Video seen by others](https://drive.google.com/file/d/1RMBh_x8FcE1l2CIOwic74DfjgynXUd-d/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![rehema.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rehema.zoom/32/40323_2.png) [@rehema.zoom](https://devforum.zoom.us/u/rehema.zoom)\
**Post date:** [March 8, 2023, 8:14pm UTC](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385/2 "2023-03-08T20:14:52Z")

</div>

Hi @software4 ,

Thank you for your post and welcome to the forum! On which browser are you experiencing this issue? Also, are you seeing the issue when using the sample application?

Thanks,  
Rehema

---

<div class="post-metadata">

**Author:** ![software4](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/software4/32/46267_2.png) [@software4](https://devforum.zoom.us/u/software4)\
**Post date:** [March 10, 2023, 6:10am UTC](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385/3 "2023-03-10T06:10:28Z")

</div>

Hi Rehema,

We are using google chrome browser and devices are MacBook pro and MacBook Air. And I am not seeing the issue in the sample application.

---

<div class="post-metadata">

**Author:** ![software4](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/software4/32/46267_2.png) [@software4](https://devforum.zoom.us/u/software4)\
**Post date:** [March 10, 2023, 10:27am UTC](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385/4 "2023-03-10T10:27:33Z")

</div>

Hi,

I think there has been a miscommunication. So we have made a separate repository for zoom sdk and it is not integrated to our existing project. I think we can consider our repo same as a sample application. And yes we are seeing the issue here as well.

---

<div class="post-metadata">

**Author:** ![rehema.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rehema.zoom/32/40323_2.png) [@rehema.zoom](https://devforum.zoom.us/u/rehema.zoom)\
**Post date:** [March 10, 2023, 4:30pm UTC](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385/5 "2023-03-10T16:30:46Z")

</div>

Hi @software4 ,

Thank you for the information. To make sure I understand what’s going on clearly, you see the issue in a separately created repo that is identical to the sample application, but not in the actual cloned sample application. Is this correct? If so, this may be an issue with the passed-in dimensions used for your startVideo function, as I’m not experiencing the same problem when testing with the latest version of the SDK on Chrome. Could you share a screenshot of your start video functionality and the HTML tag where you render the video?

Thanks,  
Rehema

---

<div class="post-metadata">

**Author:** ![software4](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/software4/32/46267_2.png) [@software4](https://devforum.zoom.us/u/software4)\
**Post date:** [March 15, 2023, 8:27am UTC](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385/6 "2023-03-15T08:27:34Z")

</div>

Hi Rehema,

I could not find any startVideo function in the repository. If this, [GitHub - zoom/zoomapps-sample-js: A Hello World Zoom App built with Vanilla JS](https://github.com/zoom/zoomapps-sample-js), is the sample application you are referring to, I could not find startVideo function here as well. But we do have startMeeting function. I am sharing my code below.

function startMeeting() {  
document.getElementById(‘zmmtg-root’).style.display = ‘block’;

```
setTimeout(() => {
  if (getBrowser() === 'safari') {
    console.log('with === ', document.getElementById('join-btn'));
    const warningDiv = document.createElement('div');
    warningDiv.innerHTML = 'Screenshare and Gallery View not available in Safari!';

    warningDiv.classList.add('warningDiv');
    // const warningDiv = (
    // <div>
    // <p>This is warning</p>
    // </div>
    // );
    document.getElementById('join-btn').parentElement.appendChild(warningDiv);
  }
}, 1000);

ZoomMtg.init({
  leaveUrl,
  disableInvite: true,
  showMeetingHeader: false,
  meetingInfo: ['topic', 'host', 'dc'],
  success: (success) => {
    console.log(success);

    ZoomMtg.join({
      // helper: './helper.html',
      signature: videoCallDetails?.zoomSignatureKey,
      meetingNumber: videoCallDetails?.zoomMeetingNumber,
      userName: userDetails?.name,
      sdkKey,
      userEmail: userDetails?.email,
      passWord,
      tk: registrantToken,
      success: (s) => {
        console.log(s);
        setInMeeting(true);
      },
      error: (error) => {
        console.log('error = ', error);
      },
    });
  },
  error: (error) => {
    console.log(error);
  },
});
ZoomMtg.inMeetingServiceListener('onUserJoin', (data) => {
  console.log('inMeetingServiceListener onuserJoin ', data);
  setTimeout(() => {
    console.log(document.querySelector('[aria-label="Gallery View"]'));
    if (document.querySelector('[aria-label="Gallery View"]') !== null) {
      document.querySelector('[aria-label="Gallery View"]').click();
    }
  }, 2000);
});

```

}

Thanks,  
Shrabanti

---

<div class="post-metadata">

**Author:** ![software4](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/software4/32/46267_2.png) [@software4](https://devforum.zoom.us/u/software4)\
**Post date:** [March 15, 2023, 8:37am UTC](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385/7 "2023-03-15T08:37:19Z")

</div>

Hi,

I found one more repository, [GitHub - zoom/meetingsdk-react-sample: Use the Zoom Meeting SDK in a React App](https://github.com/zoom/meetingsdk-react-sample). Is this the sample application you are referring to ? But I could not find any startVideo function here as well.

Regards,  
Shrabanti

---

<div class="post-metadata">

**Author:** ![rehema.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rehema.zoom/32/40323_2.png) [@rehema.zoom](https://devforum.zoom.us/u/rehema.zoom)\
**Post date:** [March 15, 2023, 1:46pm UTC](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385/8 "2023-03-15T13:46:59Z")

</div>

Hi @software4 ,

My apologies, I should have linked the sample application I was referring to. [This is the application](https://github.com/zoom/videosdk-web-sample) I tested with.

For clarification, though, are you working with the Meeting SDK or the Video SDK? I only ask because the code snippet you attached looks like functionality for the Meeting SDK.

Thanks,  
Rehema

---

<div class="post-metadata">

**Author:** ![software4](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/software4/32/46267_2.png) [@software4](https://devforum.zoom.us/u/software4)\
**Post date:** [March 16, 2023, 12:22pm UTC](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385/9 "2023-03-16T12:22:28Z")

</div>

Hi Rehema,

Yes we are using Meeting SDK.

Thanks,  
Shrabanti

---

<div class="post-metadata">

**Author:** ![rehema.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rehema.zoom/32/40323_2.png) [@rehema.zoom](https://devforum.zoom.us/u/rehema.zoom)\
**Post date:** [March 17, 2023, 2:41pm UTC](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385/10 "2023-03-17T14:41:21Z")

</div>

Hi @software4 ,

Got it. The startVideo function I was referring to is in reference to the Video SDK, as I believed that’s what we were working with (the post was tagged for Video SDK). With that, are you experiencing the elongation issue when testing with the sample application you linked in your last reply?

Thanks,  
Rehema

---

<div class="post-metadata">

**Author:** ![GoodDev](https://avatars.discourse-cdn.com/v4/letter/g/e19b73/32.png) [@GoodDev](https://devforum.zoom.us/u/GoodDev)\
**Post date:** [March 21, 2023, 2:11am UTC](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385/11 "2023-03-21T02:11:47Z")

</div>

We are experiencing the same issue with elongated self video.

- Meeting SDK version 2.10.1
- Client view
- latest version of Chrome
- one person was on a MacBook Pro and the other was on a Windows laptop. Both parties experienced the same elongated video for themselves

After playing around with settings, we noticed that the video displayed correctly once we turned on the blur background. If we turned the blur background off, it elongated again.

---

<div class="post-metadata">

**Author:** ![software4](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/software4/32/46267_2.png) [@software4](https://devforum.zoom.us/u/software4)\
**Post date:** [March 21, 2023, 1:37pm UTC](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385/12 "2023-03-21T13:37:14Z")

</div>

Hi Rehema,

Actually we are using Meeting SDK in our platform. Can I change the tag to Meeting SDK ? or will I have to make a separate ticket ?

Thanks,  
Shrabanti

---

<div class="post-metadata">

**Author:** ![rehema.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rehema.zoom/32/40323_2.png) [@rehema.zoom](https://devforum.zoom.us/u/rehema.zoom)\
**Post date:** [March 21, 2023, 1:57pm UTC](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385/13 "2023-03-21T13:57:17Z")

</div>

Hi @software4,

I’ve changed the tag so it is now in the Meeting SDK category. I will continue to look into this issue and reach out when I have more information.

Thanks,  
Rehema

---

<div class="post-metadata">

**Author:** ![software4](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/software4/32/46267_2.png) [@software4](https://devforum.zoom.us/u/software4)\
**Post date:** [March 23, 2023, 8:11am UTC](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385/14 "2023-03-23T08:11:45Z")

</div>

Hi,

Thank you for changing the tag. Will be awaiting your response.

Regards,  
Shrabanti

---

<div class="post-metadata">

**Author:** ![GoodDev](https://avatars.discourse-cdn.com/v4/letter/g/e19b73/32.png) [@GoodDev](https://devforum.zoom.us/u/GoodDev)\
**Post date:** [March 24, 2023, 2:12am UTC](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385/15 "2023-03-24T02:12:27Z")

</div>

@software4 Did turning on the blur background cause the issue to go away for you?

---

<div class="post-metadata">

**Author:** ![software4](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/software4/32/46267_2.png) [@software4](https://devforum.zoom.us/u/software4)\
**Post date:** [March 24, 2023, 10:19am UTC](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385/16 "2023-03-24T10:19:00Z")

</div>

Yes @GoodDev I just checked. It went away once I turned on the blur background.

---

<div class="post-metadata">

**Author:** ![GoodDev](https://avatars.discourse-cdn.com/v4/letter/g/e19b73/32.png) [@GoodDev](https://devforum.zoom.us/u/GoodDev)\
**Post date:** [March 24, 2023, 11:28pm UTC](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385/17 "2023-03-24T23:28:01Z")

</div>

Thank you.

@rehema.zoom does this help track down what the issue could be? It wouldn’t be feasible for us to tell hundreds of participants to blur their backgrounds to get their video to look right.

---

<div class="post-metadata">

**Author:** ![software4](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/software4/32/46267_2.png) [@software4](https://devforum.zoom.us/u/software4)\
**Post date:** [March 29, 2023, 9:49am UTC](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385/18 "2023-03-29T09:49:20Z")

</div>

Hi @rehema.zoom,

Is there any update regarding the issue ?

Thanks,  
@software4

---

<div class="post-metadata">

**Author:** ![rehema.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rehema.zoom/32/40323_2.png) [@rehema.zoom](https://devforum.zoom.us/u/rehema.zoom)\
**Post date:** [March 30, 2023, 8:09pm UTC](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385/20 "2023-03-30T20:09:58Z")

</div>

Hi @software4 & @GoodDev,

Could you all update to the latest version of the Meeting SDK (2.10.1) and see if the issue is still occurring?

Thanks,  
Rehema

---

<div class="post-metadata">

**Author:** ![GoodDev](https://avatars.discourse-cdn.com/v4/letter/g/e19b73/32.png) [@GoodDev](https://devforum.zoom.us/u/GoodDev)\
**Post date:** [March 30, 2023, 8:46pm UTC](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385/21 "2023-03-30T20:46:51Z")

</div>

Hi @rehema.zoom, that’s the version in which I’m reporting the issue. See my original report above.

[Next page](https://devforum.zoom.us/t/elongated-self-video-in-zoom-sdk-version-2-9-7/84385.md?page=2)
