LVExternalAudioConfig Class Reference

Inherits from NSObject
Declared in LVRTCEngineDefines.h

Overview

外置音频采集参数配置

  sampleRate

外置音频采集输入采样率(默认 48000)

@property (nonatomic, assign) int sampleRate

Declared In

LVRTCEngineDefines.h

  channels

外置音频采集输入频道数 (默认 1)

@property (nonatomic, assign) int channels

Declared In

LVRTCEngineDefines.h

  framesPerBuffer

每个 buffer 输入的数据长度(该参数必须和 sendAudioBuffer 的接口传入的数据长度一致)

@property (nonatomic, assign) int framesPerBuffer

Declared In

LVRTCEngineDefines.h