# Zoom Video SDK (2.1.10) – Render self‑view with SDK or direct getUserMedia?

**URL:** <https://devforum.zoom.us/t/zoom-video-sdk-2-1-10-render-self-view-with-sdk-or-direct-getusermedia/132267>\
**Category:** Web\
**Created:** [May 2, 2025, 2:48pm UTC](https://devforum.zoom.us/t/zoom-video-sdk-2-1-10-render-self-view-with-sdk-or-direct-getusermedia/132267 "2025-05-02T14:48:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nventurino](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nventurino/32/39339_2.png) [@nventurino](https://devforum.zoom.us/u/nventurino)\
**Post date:** [May 2, 2025, 2:48pm UTC](https://devforum.zoom.us/t/zoom-video-sdk-2-1-10-render-self-view-with-sdk-or-direct-getusermedia/132267/1 "2025-05-02T14:48:09Z")

</div>

I’m building a Next.js 15 telehealth app on Zoom Video SDK Web (v2.1.10, WebRTC).

Question: Is it better to show the self‑view via the SDK’s renderVideo()/startVideo() or capture a separate local preview with navigator.mediaDevices.getUserMedia?

I’m mainly concerned about:  
• CPU / memory (my laptop gets hot during tests)  
• Accurate feedback—seeing what remote participants actually receive  
• Any side‑effects (camera conflicts, duplicate capture, etc.)

@vic.yang

---

<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:** [May 6, 2025, 6:24am UTC](https://devforum.zoom.us/t/zoom-video-sdk-2-1-10-render-self-view-with-sdk-or-direct-getusermedia/132267/2 "2025-05-06T06:24:11Z")

</div>

Hey @nventurino

Thanks for your feedback.

> Is it better to show the self‑view via the SDK’s renderVideo()/startVideo() or capture a separate local preview with navigator.mediaDevices.getUserMedia?

It depends on the effect you want to achieve. If you want the self-view to be visible to remote users, use the `startVideo` method together with `attachVideo`. If it’s only for local self-view preview, you can use `getUserMedia` or the Video SDK’s `localVideoTrack` to achieve that.

> CPU / memory (my laptop gets hot during tests)

As for the performance concern, we are continuously working on improvements. We rolled out the WebRTC video solution starting from version 2.1.0, so please keep the Video SDK up to date.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![nventurino](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nventurino/32/39339_2.png) [@nventurino](https://devforum.zoom.us/u/nventurino)\
**Post date:** [May 6, 2025, 4:16pm UTC](https://devforum.zoom.us/t/zoom-video-sdk-2-1-10-render-self-view-with-sdk-or-direct-getusermedia/132267/3 "2025-05-06T16:16:51Z")

</div>

yes I mean during a videosdk session, so yes I want to send video to the peer. However I noticed that self-view using getUserMedia video seems to be higher quality and I can put it in a `<video>` element to style how I want (draggable container and object-fit:cover), so just wanted to check if I’m overlooking something by doing both.

---

<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:** [May 7, 2025, 5:49am UTC](https://devforum.zoom.us/t/zoom-video-sdk-2-1-10-render-self-view-with-sdk-or-direct-getusermedia/132267/4 "2025-05-07T05:49:05Z")

</div>

Hi @nventurino

The Video SDK allows developers to use `getUserMedia` to capture and render video themselves, without side effects.

Thanks  
Vic

---

<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 7, 2026, 5:49am UTC](https://devforum.zoom.us/t/zoom-video-sdk-2-1-10-render-self-view-with-sdk-or-direct-getusermedia/132267/5 "2026-05-07T05:49:16Z")

</div>

Closed on May 7, 2026, 5:49am UTC

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