NERTC iOS SDK V5.6.40
载入中...
搜索中...
未找到
NERtcAudioEncodedFrame类 参考

#include <NERtcEngineBase.h>

类 NERtcAudioEncodedFrame 继承关系图:

属性

unsigned char * data
 
int64_t timeStampUs
 
int sampleRate
 
int channels
 
int samplesPerChannel
 
int encodedLen
 
uint32_t encodedTimestamp
 
NERtcPayLoadType payloadType
 
uint8_t rmsLevel
 

详细描述

编码好的音频数据

属性说明

◆ channels

- (int) channels
readwritenonatomicassign

声道数

◆ data

- (unsigned char*) data
readwritenonatomicassign

编码好的数据

◆ encodedLen

- (int) encodedLen
readwritenonatomicassign

数据长度

◆ encodedTimestamp

- (uint32_t) encodedTimestamp
readwritenonatomicassign

编码时间, 单位为样本数, 如 0、960、1920...递增

◆ payloadType

- (NERtcPayLoadType) payloadType
readwritenonatomicassign

数据类型,opus

◆ rmsLevel

- (uint8_t) rmsLevel
readwritenonatomicassign

音频数据音量标记,有效值[0,100],用于后台 ASL 选路时参考。默认 100。

◆ sampleRate

- (int) sampleRate
readwritenonatomicassign

音频采样率

◆ samplesPerChannel

- (int) samplesPerChannel
readwritenonatomicassign

该编码片段中每个声道的样本数

◆ timeStampUs

- (int64_t) timeStampUs
readwritenonatomicassign

时间戳,微秒


该类的文档由以下文件生成: