# MSDK\_RawDataDemos broken

**URL:** <https://devforum.zoom.us/t/msdk-rawdatademos-broken/94573>\
**Category:** Meeting SDK\
**Created:** [September 6, 2023, 7:30pm UTC](https://devforum.zoom.us/t/msdk-rawdatademos-broken/94573 "2023-09-06T19:30:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![randy](https://avatars.discourse-cdn.com/v4/letter/r/2acd7d/32.png) [@randy](https://devforum.zoom.us/u/randy)\
**Post date:** [September 6, 2023, 7:30pm UTC](https://devforum.zoom.us/t/msdk-rawdatademos-broken/94573/1 "2023-09-06T19:30:27Z")

</div>

@chunsiong.zoom This is your repo, and your examples have been really helpful. This question is particular to GetAudioRawData but your projects all use the same layout.  
The current status is that the projects won’t build - they are looking for curl/curl.h and there are no instructions how to properly add C++ curl. As an aside, it looks like the code is looking to fetch a JWT from a webservice, which will be cool)  
If I comment out the code in Webservice.cpp and set isJWTWebService = false at the top level, I still get a failure on the SDKError err = audioHelper-\>subscribe(audio\_source); line - the error is SDK\_ERR\_NOT\_JOIN\_AUDIO. This is using v5.15.2.18146 of the SDK.  
Any suggestions?

---

<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 7, 2023, 2:08am UTC](https://devforum.zoom.us/t/msdk-rawdatademos-broken/94573/2 "2023-09-07T02:08:14Z")

</div>

@randy ,

Thanks for the headsup. I’ve added some changes which was not committed into the project previously. Each project has their own readme.md guide now.

This sample is based on 5.15.7

Curl can be installed using [Microsoft’s visual c++ package manager](https://vcpkg.io/en/)

`./vcpkg install curl`

The JWT Auth signature is fetched from this sample project [GitHub - zoom/meetingsdk-auth-endpoint-sample: Generate a Meeting SDK JWT to join Zoom meetings and webinars with the Meeting SDK.](https://github.com/zoom/meetingsdk-auth-endpoint-sample).

To fetch raw audio, you need a couple of things.

- host permission or local recording permissions
- join the meeting with audio
- start rawrecording
- subscribe to the audio

To join meeting with audio, here are some programmatic ways to do so

Mandatory: Before joining the meeting, set it in the parameters  
`joinMeetingWithoutLoginParam.isAudioOff = false;`

Optional: Here’s an additional parameter to enable auto joining of audio  
//set join audio to true

```auto
	ZOOM_SDK_NAMESPACE::IAudioSettingContext* pAudioContext = settingService->GetAudioSettings();
	if (pAudioContext)
	{
		pAudioContext->EnableAutoJoinAudio(true);
	}

```

By the way, the project assumes you have running this on a device with soundcard / sound capabilities.  
If your device does not have these capabilities, you might need to look at virtual sound devices such as pulseaudio or vb-audio cable

---

<div class="post-metadata">

**Author:** ![randy](https://avatars.discourse-cdn.com/v4/letter/r/2acd7d/32.png) [@randy](https://devforum.zoom.us/u/randy)\
**Post date:** [September 7, 2023, 7:07pm UTC](https://devforum.zoom.us/t/msdk-rawdatademos-broken/94573/3 "2023-09-07T19:07:32Z")

</div>

@chunsiong.zoom thank you, the changes helped tremendously. You should also note that the developer needs to add  
#include “meeting\_service\_components/meeting\_audio\_interface.h”  
To meeting\_participants\_controller.h

And to add  
#include \<stdint.h\>  
to  
rawdata\_audio\_helper\_interface.h

If I’m running this in a cloud environment to do transcription of audio (for example), why is there a requirement for a sound device? Is there a way to work around that?

Again, thank you for your help!

---

<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 8, 2023, 12:21am UTC](https://devforum.zoom.us/t/msdk-rawdatademos-broken/94573/4 "2023-09-08T00:21:34Z")

</div>

@randy , for the workaround, you might want to look at virtual sound devices such as pulseaudio or vb-audio cable

---

<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:** [November 15, 2023, 3:56am UTC](https://devforum.zoom.us/t/msdk-rawdatademos-broken/94573/6 "2023-11-15T03:56:04Z")

</div>

Closed on November 15, 2023, 3:56am UTC


