# Is it possible to get compressed video frames from the Raw Data API?

**URL:** <https://devforum.zoom.us/t/is-it-possible-to-get-compressed-video-frames-from-the-raw-data-api/41674>\
**Category:** iOS\
**Created:** [January 27, 2021, 9:18am UTC](https://devforum.zoom.us/t/is-it-possible-to-get-compressed-video-frames-from-the-raw-data-api/41674 "2021-01-27T09:18:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![s.nikitin](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@s.nikitin](https://devforum.zoom.us/u/s.nikitin)\
**Post date:** [January 27, 2021, 9:18am UTC](https://devforum.zoom.us/t/is-it-possible-to-get-compressed-video-frames-from-the-raw-data-api/41674/1 "2021-01-27T09:18:06Z")

</div>

**Description**  
We are adopting the Raw Data API in our application. Currently we are getting an uncompressed YUV CVPixelBuffers via the ‘onMobileRTCRender(\_ renderer: MobileRTCRenderer, framePixelBuffer pixelBuffer: CVPixelBuffer?, rotation: MobileRTCVideoRawDataRotation)’ callback.  
Is it possible to get the frame data in some compressed form before decoding? E.g. in H264 or any other codec you use to transfer the frames over the network.

**Which version?**  
5.4.54520.1229

---

<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:** [January 27, 2021, 6:09pm UTC](https://devforum.zoom.us/t/is-it-possible-to-get-compressed-video-frames-from-the-raw-data-api/41674/2 "2021-01-27T18:09:18Z")

</div>

Hey @s.nikitin,

Thanks for using the dev forum!

At this time the data that provided by

> onMobileRTCRender(\_ renderer: MobileRTCRenderer, framePixelBuffer pixelBuffer: CVPixelBuffer?, rotation: MobileRTCVideoRawDataRotation)

and

> onMobileRTCRender:(MobileRTCRenderer \* **\_Nonnull** )renderer, frameRawData:(MobileRTCVideoRawData \* **\_Nonnull** )rawData

is the only form of raw video data that is provided by the SDK.

Thanks!  
Michael
