# RawAudioAPI seems to only return silence (data is only 0s)

**URL:** <https://devforum.zoom.us/t/rawaudioapi-seems-to-only-return-silence-data-is-only-0s/73982>\
**Category:** Windows\
**Created:** [August 10, 2022, 11:22am UTC](https://devforum.zoom.us/t/rawaudioapi-seems-to-only-return-silence-data-is-only-0s/73982 "2022-08-10T11:22:39Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![digital-medium](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/digital-medium/32/40359_2.png) [@digital-medium](https://devforum.zoom.us/u/digital-medium)\
**Post date:** [August 10, 2022, 11:22am UTC](https://devforum.zoom.us/t/rawaudioapi-seems-to-only-return-silence-data-is-only-0s/73982/1 "2022-08-10T11:22:39Z")

</div>

Hi there,

I was instructed in Zoom Support to open a topic here to get assistance with regard to my issue. Previous discussion has taken place both here [Setting up the AudioRawdataHelper - #2 by jon.zoom](https://devforum.zoom.us/t/setting-up-the-audiorawdatahelper/68600/2) (through my colleague @tim.vandeurzen) and also in ticket 14606822 in Zoom Support

Tim has been trying to set-up the RawAudio API from the meetingsdk to record audio from a session. However, when he gives permission to the application to record, all he receives is buffers with only zeroes. Tim asked on the forums and it was suggested that he share his logs for analysis (which you can access and download through this Dropbox link [Dropbox - ZoomMeetingAPI.exe\_Video\_4.log - Simplify your life](https://www.dropbox.com/s/bvww397r62su7y8/ZoomMeetingAPI.exe_Video_4.log?dl=0))

He may well be doing something entirely wrong, but the forums, documentation and demo application have not helped clarify what that might be. Therefore we are reaching out to hopefully get more information this way.

Please let me know if the log that’s provided is helpful in understanding what the issue is.

Thanks,

Jonathan

---

<div class="post-metadata">

**Author:** ![digital-medium](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/digital-medium/32/40359_2.png) [@digital-medium](https://devforum.zoom.us/u/digital-medium)\
**Post date:** [August 24, 2022, 12:45pm UTC](https://devforum.zoom.us/t/rawaudioapi-seems-to-only-return-silence-data-is-only-0s/73982/2 "2022-08-24T12:45:37Z")

</div>

Hi there,

I’m still looking for a response on this post. Can someone please get back to us as soon as possible so that we can sort this issue out?

Thanks,

Jonathan

---

<div class="post-metadata">

**Author:** ![digital-medium](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/digital-medium/32/40359_2.png) [@digital-medium](https://devforum.zoom.us/u/digital-medium)\
**Post date:** [September 2, 2022, 12:29pm UTC](https://devforum.zoom.us/t/rawaudioapi-seems-to-only-return-silence-data-is-only-0s/73982/3 "2022-09-02T12:29:34Z")

</div>

Could someone get back to us to let us know that this problem is being investigated?

---

<div class="post-metadata">

**Author:** ![digital-medium](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/digital-medium/32/40359_2.png) [@digital-medium](https://devforum.zoom.us/u/digital-medium)\
**Post date:** [September 16, 2022, 12:04pm UTC](https://devforum.zoom.us/t/rawaudioapi-seems-to-only-return-silence-data-is-only-0s/73982/4 "2022-09-16T12:04:09Z")

</div>

Please let me know if this issue is being investigated

---

<div class="post-metadata">

**Author:** ![digital-medium](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/digital-medium/32/40359_2.png) [@digital-medium](https://devforum.zoom.us/u/digital-medium)\
**Post date:** [September 23, 2022, 3:00pm UTC](https://devforum.zoom.us/t/rawaudioapi-seems-to-only-return-silence-data-is-only-0s/73982/5 "2022-09-23T15:00:03Z")

</div>

Following up on this again

---

<div class="post-metadata">

**Author:** ![amanda-recallai](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/amanda-recallai/32/44747_2.png) [@amanda-recallai](https://devforum.zoom.us/u/amanda-recallai)\
**Post date:** [September 26, 2022, 6:59am UTC](https://devforum.zoom.us/t/rawaudioapi-seems-to-only-return-silence-data-is-only-0s/73982/6 "2022-09-26T06:59:20Z")

</div>

@digital-medium are you trying to use the RawAudioAPI to build a Zoom bot?

---

<div class="post-metadata">

**Author:** ![digital-medium](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/digital-medium/32/40359_2.png) [@digital-medium](https://devforum.zoom.us/u/digital-medium)\
**Post date:** [September 26, 2022, 10:26am UTC](https://devforum.zoom.us/t/rawaudioapi-seems-to-only-return-silence-data-is-only-0s/73982/7 "2022-09-26T10:26:10Z")

</div>

Hi Amanda

_Are you trying to use the RawAudioAPI to build a Zoom bot?_

Essentially. What we are trying to do is have our bot join a Zoom meeting and receive and record the raw audio data. So far we have managed to get the bot to join the meeting and then start a raw recording via [`StartRawRecording`](https://marketplacefront.zoom.us/sdk/meeting/windows/class_i_meeting_recording_controller.html#afa1976b3de8316ece57f0cb8ded0ac45) but all we receive is buffers with only zeroes.

I hope that answers your question. If not, then my original post has more information including a link to a previous developer forum post from my colleague @tim.vandeurzen which explains more about where we have got to so far.

---

<div class="post-metadata">

**Author:** ![amanda-recallai](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/amanda-recallai/32/44747_2.png) [@amanda-recallai](https://devforum.zoom.us/u/amanda-recallai)\
**Post date:** [September 27, 2022, 7:38am UTC](https://devforum.zoom.us/t/rawaudioapi-seems-to-only-return-silence-data-is-only-0s/73982/8 "2022-09-27T07:38:10Z")

</div>

@digital-medium that makes sense. We’ve solved a lot of these problems at Recall.ai (the universal API for meeting data).

Even if you’re not looking to use something like Recall, happy to hop on a call to help you debug this. 🙂

---

<div class="post-metadata">

**Author:** ![juan.ramon](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@juan.ramon](https://devforum.zoom.us/u/juan.ramon)\
**Post date:** [September 27, 2022, 8:16pm UTC](https://devforum.zoom.us/t/rawaudioapi-seems-to-only-return-silence-data-is-only-0s/73982/9 "2022-09-27T20:16:10Z")

</div>

I ran into possibly the same issue.  
The callback was being called, but the data was just 0s

It’s not documented, but in addition to registering the delegate you also need the bot to join the audio.  
…yeah

[https://marketplacefront.zoom.us/sdk/meeting/windows/class\_i\_meeting\_audio\_controller.html#a3609743fac400f5e3dce236d4702ef87](https://marketplacefront.zoom.us/sdk/meeting/windows/class_i_meeting_audio_controller.html#a3609743fac400f5e3dce236d4702ef87)

On `v5.11.4.7235` this can be done if you have the meetingService by

IMeetingAudioController \*audioController = meetingService-\>GetMeetingAudioController();  
audioController-\>JoinVoip();

Hopefully this helps!

---

<div class="post-metadata">

**Author:** ![digital-medium](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/digital-medium/32/40359_2.png) [@digital-medium](https://devforum.zoom.us/u/digital-medium)\
**Post date:** [October 14, 2022, 3:25pm UTC](https://devforum.zoom.us/t/rawaudioapi-seems-to-only-return-silence-data-is-only-0s/73982/10 "2022-10-14T15:25:37Z")

</div>

Thanks for your suggestion @juan.ramon but unfortunately we checked and we confirmed that the bot was joining the audio in the same way as you described.

Can anyone from Zoom please assist with this?

---

<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:** [November 14, 2022, 1:26am UTC](https://devforum.zoom.us/t/rawaudioapi-seems-to-only-return-silence-data-is-only-0s/73982/11 "2022-11-14T01:26:02Z")

</div>

Closed on November 14, 2022, 1:26am UTC

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