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?
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. 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
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!