# Access raw data on meeting sdk windows custom UI

**URL:** <https://devforum.zoom.us/t/access-raw-data-on-meeting-sdk-windows-custom-ui/93712>\
**Category:** Windows\
**Created:** [August 21, 2023, 10:07am UTC](https://devforum.zoom.us/t/access-raw-data-on-meeting-sdk-windows-custom-ui/93712 "2023-08-21T10:07:19Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ranjana](https://avatars.discourse-cdn.com/v4/letter/r/ccd318/32.png) [@Ranjana](https://devforum.zoom.us/u/Ranjana)\
**Post date:** [August 21, 2023, 10:07am UTC](https://devforum.zoom.us/t/access-raw-data-on-meeting-sdk-windows-custom-ui/93712/1 "2023-08-21T10:07:19Z")

</div>

@chunsiong.zoom I am trying to enable raw audio and video access in windows sdk and we are getting linker error . I am referring your code in [repo](https://github.com/tanchunsiong/raw-data-access-on-zoom-meeting-sdk-for-windows-custom-ui)., have followed exact procedure in readme ,

I might have done some silly mistake. I am new to c++ Sdk. Please help me to resolve.

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

- Device: [e.g. HP EliteBook]
- OS: [e.g. Windows 10]

Here are the detailed error:

`Error LNK2001 unresolved external symbol “public: virtual void \_\_thiscall RawAudioDelegate::onMixedAudioRawDataReceived(class AudioRawData \*)” (?onMixedAudioRawDataReceived@RawAudioDelegate@@UAEXPAVAudioRawData@@@Z) sdk\_demo\_v2 D:\zoom-sdk-windows-5.15.2.18146\zoom-sdk-windows-5.15.2.18146\_rawdata\x86\demo\sdk\_demo\_v2\CustomizedUIRecordMgr.obj 1   
Error LNK2001 unresolved external symbol “public: virtual void \_\_thiscall RawAudioDelegate::onOneWayAudioRawDataReceived(class AudioRawData \*,unsigned int)” (?onOneWayAudioRawDataReceived@RawAudioDelegate@@UAEXPAVAudioRawData@@I@Z) sdk\_demo\_v2 D:\zoom-sdk-windows-5.15.2.18146\zoom-sdk-windows-5.15.2.18146\_rawdata\x86\demo\sdk\_demo\_v2\CustomizedUIRecordMgr.obj 1   
Error LNK2001 unresolved external symbol “public: virtual void \_\_thiscall RawVideoDelegate::onRawDataFrameReceived(class YUVRawDataI420 \*)” (?onRawDataFrameReceived@RawVideoDelegate@@UAEXPAVYUVRawDataI420@@@Z) sdk\_demo\_v2 D:\zoom-sdk-windows-5.15.2.18146\zoom-sdk-windows-5.15.2.18146\_rawdata\x86\demo\sdk\_demo\_v2\CustomizedUIRecordMgr.obj 1   
Error LNK2001 unresolved external symbol “public: virtual void \_\_thiscall RawVideoDelegate::onRawDataStatusChanged(enum ZOOMSDK::IZoomSDKRendererDelegate::RawDataStatus)” (?onRawDataStatusChanged@RawVideoDelegate@@UAEXW4RawDataStatus@IZoomSDKRendererDelegate@ZOOMSDK@@@Z) sdk\_demo\_v2 D:\zoom-sdk-windows-5.15.2.18146\zoom-sdk-windows-5.15.2.18146\_rawdata\x86\demo\sdk\_demo\_v2\CustomizedUIRecordMgr.obj 1   
Error LNK2001 unresolved external symbol “public: virtual void \_\_thiscall RawVideoDelegate::onRendererBeDestroyed(void)” (?onRendererBeDestroyed@RawVideoDelegate@@UAEXXZ) sdk\_demo\_v2 D:\zoom-sdk-windows-5.15.2.18146\zoom-sdk-windows-5.15.2.18146\_rawdata\x86\demo\sdk\_demo\_v2\CustomizedUIRecordMgr.obj 1   
Error LNK1120 5 unresolved externals sdk\_demo\_v2 D:\zoom-sdk-windows-5.15.2.18146\zoom-sdk-windows-5.15.2.18146\_rawdata\x86\bin\sdk\_demo\_v2.exe 1

Thanks  
`

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 21, 2023, 12:58pm UTC](https://devforum.zoom.us/t/access-raw-data-on-meeting-sdk-windows-custom-ui/93712/2 "2023-08-21T12:58:06Z")

</div>

@Ranjana ,

I’ve just updated the code to 5.15.7, you may want to try it again

---

<div class="post-metadata">

**Author:** ![Ranjana](https://avatars.discourse-cdn.com/v4/letter/r/ccd318/32.png) [@Ranjana](https://devforum.zoom.us/u/Ranjana)\
**Post date:** [August 21, 2023, 2:42pm UTC](https://devforum.zoom.us/t/access-raw-data-on-meeting-sdk-windows-custom-ui/93712/3 "2023-08-21T14:42:23Z")

</div>

@chunsiong.zoom I tried updated code for 5.15.7.20385 and got same linker error.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 21, 2023, 11:36pm UTC](https://devforum.zoom.us/t/access-raw-data-on-meeting-sdk-windows-custom-ui/93712/4 "2023-08-21T23:36:22Z")

</div>

@Ranjana are you running this on “release” instead of “debug” when building and running on visual studio?

---

<div class="post-metadata">

**Author:** ![Ranjana](https://avatars.discourse-cdn.com/v4/letter/r/ccd318/32.png) [@Ranjana](https://devforum.zoom.us/u/Ranjana)\
**Post date:** [August 22, 2023, 4:14am UTC](https://devforum.zoom.us/t/access-raw-data-on-meeting-sdk-windows-custom-ui/93712/5 "2023-08-22T04:14:09Z")

</div>

@chunsiong.zoom yes running on release .

At first I tried to run on debug and got below error

` Error	C1083	Cannot open include file: 'UIlib.h': No such file or directory	sdk_demo_v2	D:\zoom-sdk-windows-5.15.7.20385\zoom-sdk-windows-5.15.7.20385\x86\demo\sdk_demo_v2\stdafx.h`

then I run changing to release and getting linker error.

Also I am using visual studio 2019, Platform tool v142, windows sdk version 10.0.  
I don’t know does this makes difference.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 22, 2023, 5:19am UTC](https://devforum.zoom.us/t/access-raw-data-on-meeting-sdk-windows-custom-ui/93712/6 "2023-08-22T05:19:26Z")

</div>

@Ranjana ,

I’m not sure if the version makes a difference.  
Nonetheless I’ve just tried out on my machine,

It is on VS 2022, Platform tool v143 and Windows SDK 10

---

<div class="post-metadata">

**Author:** ![Ranjana](https://avatars.discourse-cdn.com/v4/letter/r/ccd318/32.png) [@Ranjana](https://devforum.zoom.us/u/Ranjana)\
**Post date:** [August 22, 2023, 8:24am UTC](https://devforum.zoom.us/t/access-raw-data-on-meeting-sdk-windows-custom-ui/93712/7 "2023-08-22T08:24:21Z")

</div>

@chunsiong.zoom we are getting same error when tried runnning in VS 2022, Platform tool v143 and Windows SDK 10.

Could you please help us to resolve this.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 22, 2023, 8:54am UTC](https://devforum.zoom.us/t/access-raw-data-on-meeting-sdk-windows-custom-ui/93712/8 "2023-08-22T08:54:08Z")

</div>

> [@Ranjana](#):
>
> Cannot open include file: 'UIlib.h

@Ranjana ,

Is there such a file in your folder?  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/2/327356561fb9bbdc9df6e8d778507795ebe39a5f.png)

stafx.h references UIlib.h

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/2/f27e71f42047692323c00c16724bf82f109b7942.jpeg)

---

<div class="post-metadata">

**Author:** ![Ranjana](https://avatars.discourse-cdn.com/v4/letter/r/ccd318/32.png) [@Ranjana](https://devforum.zoom.us/u/Ranjana)\
**Post date:** [August 22, 2023, 9:54am UTC](https://devforum.zoom.us/t/access-raw-data-on-meeting-sdk-windows-custom-ui/93712/9 "2023-08-22T09:54:03Z")

</div>

@chunsiong.zoom yes I have the file

 ![zoomublib](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/8/b85a81fe5d01eadd2ff5a43b6803ab87ccb5371f.png)

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 22, 2023, 10:13am UTC](https://devforum.zoom.us/t/access-raw-data-on-meeting-sdk-windows-custom-ui/93712/10 "2023-08-22T10:13:50Z")

</div>

@Ranjana could you share again which files are complaining about the dulib?

---

<div class="post-metadata">

**Author:** ![Ranjana](https://avatars.discourse-cdn.com/v4/letter/r/ccd318/32.png) [@Ranjana](https://devforum.zoom.us/u/Ranjana)\
**Post date:** [August 22, 2023, 10:31am UTC](https://devforum.zoom.us/t/access-raw-data-on-meeting-sdk-windows-custom-ui/93712/11 "2023-08-22T10:31:34Z")

</div>

@chunsiong.zoom sure.

This is the error

 ![error](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/9/09b4de6eeda4a8be54eaf63d5eeb61f679be38e8.png)

and sdatx.h has

 ![stdafx_file](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/6/d67159736c650c4e660ed4231fa712c378bda09f.png)

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 22, 2023, 2:55pm UTC](https://devforum.zoom.us/t/access-raw-data-on-meeting-sdk-windows-custom-ui/93712/12 "2023-08-22T14:55:07Z")

</div>

@Ranjana ，

I’m not exactly sure what causes this, but here are some addition things which I would try in order of effort needed

1. Try the x64 version
2. Clean and build the solution (try for both x86 and x64)
3. Reinstall visual studio

when you originally downloaded the Meeting SDK for Windows, did you change any of the properties?

---

<div class="post-metadata">

**Author:** ![Ranjana](https://avatars.discourse-cdn.com/v4/letter/r/ccd318/32.png) [@Ranjana](https://devforum.zoom.us/u/Ranjana)\
**Post date:** [August 23, 2023, 4:16am UTC](https://devforum.zoom.us/t/access-raw-data-on-meeting-sdk-windows-custom-ui/93712/13 "2023-08-23T04:16:27Z")

</div>

@chunsiong.zoom Thanks. The code is working fine. I reinstalled the visual studio

But when I joined the meeting ( run in custom UI mode) and start local recording taking permission from host, At the end of the meeting I can see only local recording (mp4). I couldn’t see either raw data output.yuv or audio.pcm.

I can see in this thread  
[https://devforum.zoom.us/t/access-raw-data-with-meeting-sdk-requires-the-host-to-be-licensed/87871/14](https://devforum.zoom.us/t/access-raw-data-with-meeting-sdk-requires-the-host-to-be-licensed/87871/14)  
raw recording does not require any license . But last reply say host should be licensed

Could you please help me understanding this.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 23, 2023, 4:34am UTC](https://devforum.zoom.us/t/access-raw-data-on-meeting-sdk-windows-custom-ui/93712/14 "2023-08-23T04:34:00Z")

</div>

@Ranjana ,

That response is from a bot, and is not accurate. I have deleted the reply to prevent future confusion.  
You do not need a license to access raw data.

I would recommend you to pull the sample code again, as there are updates to the code.  
You will need to comment out the part where it is doing local recording to an mp4 file.

---

<div class="post-metadata">

**Author:** ![Ranjana](https://avatars.discourse-cdn.com/v4/letter/r/ccd318/32.png) [@Ranjana](https://devforum.zoom.us/u/Ranjana)\
**Post date:** [August 31, 2023, 7:02am UTC](https://devforum.zoom.us/t/access-raw-data-on-meeting-sdk-windows-custom-ui/93712/15 "2023-08-31T07:02:32Z")

</div>

@chunsiong.zoom Appreciate your help and support . We are able to execute code and getting output.yuv and audio.pcm .

Since I am not so familiar with C++, have few queries .

The raw data we receive has only the video and audio of host, even though camera and mic of other participant is on .

Also we are not able to view all participant video in sdk even after changing gallery view.

Please help us to identify and understand the function we need to check to find the video render of each participant and corresponding data in raw recording

Thanks.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 31, 2023, 8:03am UTC](https://devforum.zoom.us/t/access-raw-data-on-meeting-sdk-windows-custom-ui/93712/16 "2023-08-31T08:03:02Z")

</div>

@Ranjana ,

Please refer to the docs.  
When subscribing to raw audio, you can subscribe to individual audio or mixed audio stream  
When subscribing to raw video, you need to specify each individual’s ID

---

<div class="post-metadata">

**Author:** ![Ranjana](https://avatars.discourse-cdn.com/v4/letter/r/ccd318/32.png) [@Ranjana](https://devforum.zoom.us/u/Ranjana)\
**Post date:** [September 4, 2023, 4:50pm UTC](https://devforum.zoom.us/t/access-raw-data-on-meeting-sdk-windows-custom-ui/93712/17 "2023-09-04T16:50:28Z")

</div>

@chunsiong.zoom we modified the code to subscribe each participant

> // Loop through the list of participants  
> for (int i = 0; i \< participants-\>GetCount(); i++) {
> 
> int returnvalue = m\_pParticipantsController-\>GetParticipantsList()-\>GetItem(i);
> 
> rawVideoDelegate = new RawVideoDelegate(returnvalue);  
> SDKError err2 = createRenderer(&videoRenderer, rawVideoDelegate);  
> if (err2 != SDKERR\_SUCCESS) {  
> cout \<\< “Error occurred”;  
> //handle error  
> }  
> else {
> 
> ```
> int returnvalue = m_pParticipantsController->GetParticipantsList()->GetItem(i);
> 
> videoRenderer->setRawDataResolution(ZoomSDKResolution_1080P);
> //subscribe to the user's raw video by their userID
> videoRenderer->subscribe(returnvalue, RAW_DATA_TYPE_VIDEO);
>   
> //this will trigger callbacks in onRawDataFrameReceived(... ...) within RawVideoDelegate.cpp
> 
> ```
> 
> }

}  
and we try to write data to different file names with below code

> int participantId = data-\>GetSourceID();
> 
> // Create a filename based on the participant’s name.  
> std::string filename =“output”+ std::to\_string(participantId) + “.yuv”;

Still we are unable to have multiple output files . As per our understanding each time we subscribe with different participant id , _onRawDataFrameReceived_ will be trigger with different participant data having unique source ID .

Please help us understanding this. Since we are not able to debug the code without errors.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [September 5, 2023, 12:56am UTC](https://devforum.zoom.us/t/access-raw-data-on-meeting-sdk-windows-custom-ui/93712/18 "2023-09-05T00:56:26Z")

</div>

@Ranjana ,

This is a sample code, you will probably need to debug this further yourself.

If I’m not mistaken, everytime you run the loop, it is destroying / dereferencing the previous object, and creating a new RawVideoDelegate.

---

<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:** [October 5, 2023, 10:56am UTC](https://devforum.zoom.us/t/access-raw-data-on-meeting-sdk-windows-custom-ui/93712/19 "2023-10-05T10:56:27Z")

</div>

Closed on October 5, 2023, 10:56am UTC

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