# Raw Audio Access

**URL:** <https://devforum.zoom.us/t/raw-audio-access/82253>\
**Category:** iOS\
**Created:** [January 27, 2023, 6:44pm UTC](https://devforum.zoom.us/t/raw-audio-access/82253 "2023-01-27T18:44:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishnu.vithala](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vishnu.vithala/32/44581_2.png) [@vishnu.vithala](https://devforum.zoom.us/u/vishnu.vithala)\
**Post date:** [January 27, 2023, 6:44pm UTC](https://devforum.zoom.us/t/raw-audio-access/82253/1 "2023-01-27T18:44:22Z")

</div>

I am trying to access the raw audio buffer using Zoom Video SDK on the iOS and pass it to another function for real time analysis. I am trying to do this using starter code provided. I see that there are callbacks in the code to access the raw data. When I run the code on my iPhone with single user(myself) joining the call I don’t see anything NSLog getting printed to the console. I am guessing that means this snippet of code is not getting executed. Can someone help me access and print the raw data?

```auto
- (void)onMixedAudioRawDataReceived:(ZoomVideoSDKAudioRawData *)rawData
{
    NSLog(@"onMixedAudioRawDataReceived %@", rawData);
}

- (void)onOneWayAudioRawDataReceived:(ZoomVideoSDKAudioRawData *)rawData user:(ZoomVideoSDKUser *)user
{
    NSLog(@"onOneWayAudioRawDataReceived %@", rawData);
}

- (void)onSharedAudioRawDataReceived:(ZoomVideoSDKAudioRawData *)rawData
{
    NSLog(@"onSharedAudioRawDataReceived %@", rawData);
}

```

---

<div class="post-metadata">

**Author:** ![vishnu.vithala](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vishnu.vithala/32/44581_2.png) [@vishnu.vithala](https://devforum.zoom.us/u/vishnu.vithala)\
**Post date:** [January 30, 2023, 11:02pm UTC](https://devforum.zoom.us/t/raw-audio-access/82253/2 "2023-01-30T23:02:08Z")

</div>

Can someone please help with this?

---

<div class="post-metadata">

**Author:** ![rehema.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rehema.zoom/32/40323_2.png) [@rehema.zoom](https://devforum.zoom.us/u/rehema.zoom)\
**Post date:** [January 31, 2023, 5:08pm UTC](https://devforum.zoom.us/t/raw-audio-access/82253/3 "2023-01-31T17:08:28Z")

</div>

Hi @vishnu.vithala ,

I will look into this issue and get back to you when I have an update. To make sure I have all the information I need, could you let me know the following information, please?

- Video SDK iOS version
- iPhone iOS version
- iPhone model

Thanks,  
Rehema

---

<div class="post-metadata">

**Author:** ![vishnu.vithala](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vishnu.vithala/32/44581_2.png) [@vishnu.vithala](https://devforum.zoom.us/u/vishnu.vithala)\
**Post date:** [January 31, 2023, 5:45pm UTC](https://devforum.zoom.us/t/raw-audio-access/82253/4 "2023-01-31T17:45:33Z")

</div>

Thank You Rehema,

- Video SDK iOS version - 1.6.1 2
- iPhone iOS version - 15.5
- iPhone model - XR

---

<div class="post-metadata">

**Author:** ![vishnu.vithala](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vishnu.vithala/32/44581_2.png) [@vishnu.vithala](https://devforum.zoom.us/u/vishnu.vithala)\
**Post date:** [February 1, 2023, 6:43pm UTC](https://devforum.zoom.us/t/raw-audio-access/82253/6 "2023-02-01T18:43:09Z")

</div>

Hi Rehema, any feedback regarding. this?

---

<div class="post-metadata">

**Author:** ![rehema.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rehema.zoom/32/40323_2.png) [@rehema.zoom](https://devforum.zoom.us/u/rehema.zoom)\
**Post date:** [February 2, 2023, 2:22pm UTC](https://devforum.zoom.us/t/raw-audio-access/82253/7 "2023-02-02T14:22:08Z")

</div>

Hi @vishnu.vithala ,

I’m still looking into the issue and waiting on feedback from teammates for further assistance.

Thanks,  
Rehema

---

<div class="post-metadata">

**Author:** ![rehema.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rehema.zoom/32/40323_2.png) [@rehema.zoom](https://devforum.zoom.us/u/rehema.zoom)\
**Post date:** [February 2, 2023, 9:18pm UTC](https://devforum.zoom.us/t/raw-audio-access/82253/8 "2023-02-02T21:18:29Z")

</div>

HI @vishnu.vithala ,

Thank you for your patience as I looked into your issue. To access the raw audio, you have to subscribe the listener to receive audio data through _ZoomVideoSDKAudioHelper_. I’ve attached to referenced documentation [here](https://marketplace.zoom.us/docs/sdk/video/ios/advanced/raw-data/#send-raw-video-data). The steps for accessing raw audio are as follows:

1). Implement the raw data callbacks  
2). After joining a session, get a user object, get the audio raw data pipe from the user Object, and then subscribe to the user’s audio  
3). When the raw data of the user comes in, the corresponding callback will be triggered

Please let me know if this helps.

Thanks,  
Rehema

---

<div class="post-metadata">

**Author:** ![vishnu.vithala](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vishnu.vithala/32/44581_2.png) [@vishnu.vithala](https://devforum.zoom.us/u/vishnu.vithala)\
**Post date:** [February 2, 2023, 10:52pm UTC](https://devforum.zoom.us/t/raw-audio-access/82253/9 "2023-02-02T22:52:46Z")

</div>

Hello Rehema,

Thank you getting back to me. I read through the documentation in my attempt to implement callbacks using ZoomVideoSDKHelper but I was unsuccessful. If there is any snippet of code that you can share that will be very helpful!

---

<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:** [March 5, 2023, 8:53am UTC](https://devforum.zoom.us/t/raw-audio-access/82253/10 "2023-03-05T08:53:43Z")

</div>

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