We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51d6017 commit c70a729Copy full SHA for c70a729
1 file changed
macOS/APIExample/Commons/ExternalAudio/ExternalAudio.mm
@@ -294,7 +294,7 @@ - (void)audioController:(AudioController *)controller didCaptureData:(unsigned c
294
}
295
296
else {
297
- [self.agoraKit pushExternalAudioFrameNSData:[NSData dataWithBytes:data length:bytesLength] sourceId:1 timestamp:0];
+ [self.agoraKit pushExternalAudioFrameRawData:data samples:441 * 10 sourceId:1 timestamp:0];
298
299
300
0 commit comments