JRTCSDK-iOS v2302.0
视频客服 API 文档
|
输出音频数据回调 更多...
#import <JRTCRoomParticipant.h>
构造函数 | |
(void) | - onFrame:length:sampleRateHz:channels: |
输出音频数据回调
- (void) onFrame: | (NSData *_Nonnull) | data | |
length: | (int) | length | |
sampleRateHz: | (int) | iSampleRateHz | |
channels: | (int) | iChannels | |
获得采集的音频回调
data | 10毫秒的实时PCM数据 |
length | PCM数据长度 |
sampleRateHz | 输入源的采样频率 |
channels | 输入源的频道数量 |