# Video resolution set or render using zoom-instant-sdk-1.O.2

**URL:** <https://devforum.zoom.us/t/video-resolution-set-or-render-using-zoom-instant-sdk-1-o-2/49803>\
**Category:** Windows\
**Created:** [May 7, 2021, 5:56am UTC](https://devforum.zoom.us/t/video-resolution-set-or-render-using-zoom-instant-sdk-1-o-2/49803 "2021-05-07T05:56:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![basawaraj.bijjaragi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/basawaraj.bijjaragi/32/26637_2.png) [@basawaraj.bijjaragi](https://devforum.zoom.us/u/basawaraj.bijjaragi)\
**Post date:** [May 7, 2021, 5:56am UTC](https://devforum.zoom.us/t/video-resolution-set-or-render-using-zoom-instant-sdk-1-o-2/49803/1 "2021-05-07T05:56:13Z")

</div>

Hi Zoom,

We thought using “zoom-instant-sdk-windows-1.0.2” and render video or set each user video resolution to 1080p…

System will be running on Windows 10…

I am in needing of sample code for rendering video and setting resolution…  
Please find my Gmail id- [basawaraj.bijjaragi@gmail.com](mailto:basawaraj.bijjaragi@gmail.com)

Regards,  
Basawaraj Bijjaragi

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 7, 2021, 7:09pm UTC](https://devforum.zoom.us/t/video-resolution-set-or-render-using-zoom-instant-sdk-1-o-2/49803/2 "2021-05-07T19:09:15Z")

</div>

Hi @basawaraj.bijjaragi, thanks for the post.

Unfortunately we do not have any sample code available for this area of the Windows SDK yet, but here are some functions you may find useful:

- [`sendVideoFrame`](https://marketplacefront.zoom.us/sdk/custom/windows/class_i_zoom_instant_s_d_k_video_sender.html#a3bee835ddda03c56b6a189e20a27b463) allows you to specify a width and height for the video you are sending
- [`GetStreamWidth`](https://marketplacefront.zoom.us/sdk/custom/windows/class_y_u_v_raw_data_i420.html#acf642aa2b09953721e519e1cdea1005d)
- [`GetStreamHeight`](https://marketplacefront.zoom.us/sdk/custom/windows/class_y_u_v_raw_data_i420.html#a5a02e6d5bdb018fc2fa616f77d856370)

Thanks!

---

<div class="post-metadata">

**Author:** ![basawaraj.bijjaragi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/basawaraj.bijjaragi/32/26637_2.png) [@basawaraj.bijjaragi](https://devforum.zoom.us/u/basawaraj.bijjaragi)\
**Post date:** [May 8, 2021, 6:41am UTC](https://devforum.zoom.us/t/video-resolution-set-or-render-using-zoom-instant-sdk-1-o-2/49803/3 "2021-05-08T06:41:57Z")

</div>

Jon,

Thank you for your prompt reply.

class CExampleRenderer :  
public ZOOMINSTANTSDK::IZoomInstantSDKRawDataPipeDelegate

I’m able to CExampleRenderer::Subscribe on each user OnUserJoin.

And set resolution to 1080p in Subscribe method as described below:

```
ZOOMINSTANTSDK::ZoomInstantSDKResolution resolution = ZOOMINSTANTSDK::ZoomInstantSDKResolution_1080P;

// Get the video pipe for the user.
ZOOMINSTANTSDK::IZoomInstantSDKRawDataPipe* pPipe = NULL;
pPipe = pUser->GetVideoPipe();
if (!pPipe) return ZOOMINSTANTSDK::ZoomInstantSDKErrors_RAWDATA_NO_VIDEO_DATA;

// Call subscribe.
return pPipe->subscribe(resolution, this);

```

But why still I getting stream as 360P as below ? Please explain me.

uWidth = 640  
uHeight = 360

CExampleRenderer::onRawDataFrameReceived(YUVRawDataI420\* data\_)

unsigned int uWidth = data\_-\>GetStreamWidth();  
unsigned int uHeight = data\_-\>GetStreamHeight();

I want to render YUV format but I should get 1080p raw data frame right?  
What I need to handle or implement to get 1080p?

Thanks,  
Basawaraj Bijjarargi

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 10, 2021, 8:27pm UTC](https://devforum.zoom.us/t/video-resolution-set-or-render-using-zoom-instant-sdk-1-o-2/49803/4 "2021-05-10T20:27:23Z")

</div>

Hi @basawaraj.bijjaragi,

Upon further investigation, I have found that there is a known issue with our back end that is causing HD video to default to disabled for all accounts. Unfortunately there is no workaround for this at the moment. We are working towards identifying a solution for this.

Thanks!

---

<div class="post-metadata">

**Author:** ![basawaraj.bijjaragi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/basawaraj.bijjaragi/32/26637_2.png) [@basawaraj.bijjaragi](https://devforum.zoom.us/u/basawaraj.bijjaragi)\
**Post date:** [May 11, 2021, 5:21am UTC](https://devforum.zoom.us/t/video-resolution-set-or-render-using-zoom-instant-sdk-1-o-2/49803/5 "2021-05-11T05:21:09Z")

</div>

I have tried with ZoomInstantSDKResolution\_720P too but receiving 640  
\*360 ie 360p…whether it will work for 720p?

Please provide me release notes link with known issue if it wont work…

ZOOMINSTANTSDK::ZoomInstantSDKResolution resolution = ZOOMINSTANTSDK::ZoomInstantSDKResolution\_720P;

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 11, 2021, 5:16pm UTC](https://devforum.zoom.us/t/video-resolution-set-or-render-using-zoom-instant-sdk-1-o-2/49803/6 "2021-05-11T17:16:31Z")

</div>

Hi @basawaraj.bijjaragi,

Since this is a back end issue, this will not require a new SDK release to fix. We will let you know as soon as we have any updates on this.

Thanks!

---

<div class="post-metadata">

**Author:** ![gpayyavula](https://avatars.discourse-cdn.com/v4/letter/g/58956e/32.png) [@gpayyavula](https://devforum.zoom.us/u/gpayyavula)\
**Post date:** [May 26, 2021, 2:22pm UTC](https://devforum.zoom.us/t/video-resolution-set-or-render-using-zoom-instant-sdk-1-o-2/49803/7 "2021-05-26T14:22:04Z")

</div>

> [@basawaraj.bijjaragi](#):
>
> [basawaraj.bijjaragi@gmail.com](mailto:basawaraj.bijjaragi@gmail.com)

Basavaraj,

could you please share the instructions you followed to download zoom-instant-sdk-windows. I am not able to download it even after following the instructions found in [https://marketplace.zoom.us/docs/sdk/video/windows](https://marketplace.zoom.us/docs/sdk/video/windows)

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [May 26, 2021, 7:42pm UTC](https://devforum.zoom.us/t/video-resolution-set-or-render-using-zoom-instant-sdk-1-o-2/49803/8 "2021-05-26T19:42:53Z")

</div>

Hey @gpayyavula,

Do you have a video SDK developer account?

Thanks!  
Michael

---

<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:** [June 26, 2021, 5:43am UTC](https://devforum.zoom.us/t/video-resolution-set-or-render-using-zoom-instant-sdk-1-o-2/49803/9 "2021-06-26T05:43:51Z")

</div>

Closed on June 26, 2021, 5:43am UTC

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