# onRawDataFrameRecieved provides cropped frame with crop width and crop height of frame

**URL:** <https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422>\
**Category:** Windows\
**Created:** [March 11, 2021, 8:57am UTC](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422 "2021-03-11T08:57:49Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mtaha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mtaha/32/17373_2.png) [@mtaha](https://devforum.zoom.us/u/mtaha)\
**Post date:** [March 11, 2021, 8:57am UTC](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422/1 "2021-03-11T08:57:50Z")

</div>

**Description**  
I pass 1280x720 resolution yuv frame from one client in a session but other client in a session receives 640x360 resolution yuv frame from onRawDataFrameRecieved api.  
i.e.,  
**IZoomInstantSDKRawDataPipeDelegate** ::onRawDataFrameRecieved provides cropped frame with crop width and crop height of frame.

**Which Fully Customizable Windows SDK version?**  
v1.0.1

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

---

<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:** [March 11, 2021, 11:42pm UTC](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422/2 "2021-03-11T23:42:39Z")

</div>

Hey @mtaha,

Thanks for using the dev forum! It is good to see you again 🙂

Does this happen every time? What is the supportCap that

```auto
onPropertyChange(IInstantSDKVector<VideoSourceCapability >* support_cap_list, VideoSourceCapability suggest_cap)

```

is reporting?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![mtaha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mtaha/32/17373_2.png) [@mtaha](https://devforum.zoom.us/u/mtaha)\
**Post date:** [March 12, 2021, 3:11am UTC](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422/3 "2021-03-12T03:11:03Z")

</div>

Yes, It happens every time.  
In sending side(Encoder side) I get supportCap:  
640 x 480  
1280 x 720  
1920 x 1080

But at receiving side(Decoder side) I am getting 640x360 from onRawDataFrameRecieved.

---

<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:** [March 13, 2021, 1:11am UTC](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422/4 "2021-03-13T01:11:55Z")

</div>

Hey @mtaha,

Hmm interesting, that sounds like a bug! Would you be able to make a simple sample application reproducing the issue and send it to [DeveloperSupport@zoom.us](mailto:DeveloperSupport@zoom.us) so that we can investigate further?  
Please mention my name and a link to this post.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![mtaha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mtaha/32/17373_2.png) [@mtaha](https://devforum.zoom.us/u/mtaha)\
**Post date:** [March 15, 2021, 8:47am UTC](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422/5 "2021-03-15T08:47:32Z")

</div>

> [@Michael\_Condon](#):
>
> [DeveloperSupport@zoom.us](mailto:DeveloperSupport@zoom.us)

Hi @Michael_Condon

I have mailed just now the sample application which will help your team to investigate further.  
Sample application includes two sample 1- ZoomEncoderCustom, 2- ZoomDecoderCustom.

ZoomEncoderCustom: Sends 1280x720 yuv frame after reader it from yuv file, yuv file is placed in sample enoder.

ZoomDecoderCustom: Received cropped image and dump it in a file. This is causing issue to us.

Sample application has ReadMe which will explains how to run the samples.

Hope this will helps you.

---

<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:** [March 15, 2021, 6:49pm UTC](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422/6 "2021-03-15T18:49:21Z")

</div>

Hey @mtaha,

Thanks for sending that over! I will continue our conversation there.

Michael

---

<div class="post-metadata">

**Author:** ![mtaha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mtaha/32/17373_2.png) [@mtaha](https://devforum.zoom.us/u/mtaha)\
**Post date:** [March 22, 2021, 5:58am UTC](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422/7 "2021-03-22T05:58:12Z")

</div>

Hey Michael,

Is there any update on this issue?

---

<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:** [March 23, 2021, 7:47pm UTC](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422/8 "2021-03-23T19:47:19Z")

</div>

Hey @mtaha,

I got around to running the application and have forwarded it to the engineers for deeper investigation. Should have an update soon.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![tlol91](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tlol91/32/24127_2.png) [@tlol91](https://devforum.zoom.us/u/tlol91)\
**Post date:** [April 19, 2021, 9:20am UTC](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422/10 "2021-04-19T09:20:23Z")

</div>

@mtaha  
Hello, I’m yoonha, and I want to show a session on Window Screen. I completed to create a session, but I don’t know how to show it on the screen. Would you mind to share your code? If you don’t mind, would you send me your code ###?

Thank you.

---

<div class="post-metadata">

**Author:** ![mtaha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mtaha/32/17373_2.png) [@mtaha](https://devforum.zoom.us/u/mtaha)\
**Post date:** [April 19, 2021, 9:38am UTC](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422/11 "2021-04-19T09:38:24Z")

</div>

Hi Yoonha, sorry I can’t share code with you. But I have created the sample by following : [https://marketplace.zoom.us/docs/sdk/video/windows/essential/initialize](https://marketplace.zoom.us/docs/sdk/video/windows/essential/initialize)  
[https://marketplace.zoom.us/docs/sdk/video/windows/essential/callbacks](https://marketplace.zoom.us/docs/sdk/video/windows/essential/callbacks)  
[https://marketplace.zoom.us/docs/sdk/video/windows/essential/create-join-session](https://marketplace.zoom.us/docs/sdk/video/windows/essential/create-join-session).

Kindly follow these links and you will be able to have running sample.

If this not works, Open a new issue on Zoom forum. There you will find the solutions.

---

<div class="post-metadata">

**Author:** ![tlol91](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tlol91/32/24127_2.png) [@tlol91](https://devforum.zoom.us/u/tlol91)\
**Post date:** [April 19, 2021, 9:41am UTC](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422/12 "2021-04-19T09:41:59Z")

</div>

Thanks for your reply. I’ll try with those link. Did you use ‘DirectShow’ for showing sessions on the screen?

---

<div class="post-metadata">

**Author:** ![mtaha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mtaha/32/17373_2.png) [@mtaha](https://devforum.zoom.us/u/mtaha)\
**Post date:** [April 19, 2021, 9:43am UTC](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422/13 "2021-04-19T09:43:45Z")

</div>

No, I didn’t use DirectShow, I have dump incoming data to YUV file for verification(testing).

---

<div class="post-metadata">

**Author:** ![tlol91](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tlol91/32/24127_2.png) [@tlol91](https://devforum.zoom.us/u/tlol91)\
**Post date:** [April 19, 2021, 9:44am UTC](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422/14 "2021-04-19T09:44:34Z")

</div>

I really appreciate for your answer. Thank you.

---

<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:** [April 19, 2021, 6:29pm UTC](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422/15 "2021-04-19T18:29:15Z")

</div>

Hey @mtaha,

After investigation we have discovered a backend issue that is causing problems for 720p and live streaming in the Video SDK. We are looking into a fix for this and I will forward you updates as I receive them.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![mtaha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mtaha/32/17373_2.png) [@mtaha](https://devforum.zoom.us/u/mtaha)\
**Post date:** [April 20, 2021, 5:13am UTC](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422/16 "2021-04-20T05:13:14Z")

</div>

Hey Michael,

Thanks for confirming that there is an issue at backend side.  
Please, do let me know once it will fixed.

---

<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:** [April 20, 2021, 6:17pm UTC](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422/17 "2021-04-20T18:17:51Z")

</div>

Hey @mtaha,

Will do!

Michael

---

<div class="post-metadata">

**Author:** ![mtaha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mtaha/32/17373_2.png) [@mtaha](https://devforum.zoom.us/u/mtaha)\
**Post date:** [May 10, 2021, 9:05am UTC](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422/18 "2021-05-10T09:05:46Z")

</div>

Hey Michael,

Is there any update on this?

---

<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:29pm UTC](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422/19 "2021-05-10T20:29:39Z")

</div>

Hi @mtaha,

We are still working towards a solution for this. We apologize for the delay in getting this resolved and greatly appreciate your patience as we continue to work on this.

Thanks!

---

<div class="post-metadata">

**Author:** ![mtaha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mtaha/32/17373_2.png) [@mtaha](https://devforum.zoom.us/u/mtaha)\
**Post date:** [May 21, 2021, 5:08am UTC](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422/20 "2021-05-21T05:08:42Z")

</div>

Hi Jon,

Is there any update on this? Are you guys able to solve this.

---

<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 21, 2021, 6:22pm UTC](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422/21 "2021-05-21T18:22:11Z")

</div>

Hey @mtaha,

No updates yet.

Thanks!  
Michael

[Next page](https://devforum.zoom.us/t/onrawdataframerecieved-provides-cropped-frame-with-crop-width-and-crop-height-of-frame/45422.md?page=2)
