NERtcOptions class
音视频通话相关的参数设置
Constructors
- NERtcOptions({String logDir, int logLevel, bool audioAutoSubscribe, bool audioDisableOverrideSpeakerOnReceiver, bool audioDisableSWAECOnHeadset, bool audioAINSEnabled, bool serverRecordAudio, bool serverRecordVideo, NERtcServerRecordMode serverRecordMode, bool serverRecordSpeaker, bool publishSelfStream, NERtcMediaCodecMode videoEncodeMode, NERtcMediaCodecMode videoDecodeMode, bool videoCaptureObserverEnabled, NERtcVideoSendMode videoSendMode})
-
const
Properties
- audioAINSEnabled → bool
-
设置是否开启AI降噪,开启AI降噪,在嘈杂环境下,让对方更清晰听到您的声音
final
- audioAutoSubscribe → bool
-
是否自动订阅音频(默认订阅)
final
- audioDisableOverrideSpeakerOnReceiver → bool
-
系统切换听筒事件时,禁用切换到扬声器.
仅在iOS平台有效.
默认值 false, 如设置 true 则禁止SDK在系统切换到听筒时做切换扬声器操作,需要用户自己处理切换听筒事件
final
- audioDisableSWAECOnHeadset → bool
-
设置耳机时不使用软件回声消除功能
仅在iOS平台有效.
默认值 false,如设置true 则SDK在耳机模式下不使用软件回声消除功能,会对某些机型下 耳机的音质效果有影响
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- logDir → String
-
日志路径
final
- logLevel → int
-
日志等级
final
- publishSelfStream → bool
-
是否允许在房间推流时推送自身的视频流
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- serverRecordAudio → bool
-
是否开启服务器录制语音
final
- serverRecordMode → NERtcServerRecordMode
-
服务器录制模式
final
- serverRecordSpeaker → bool
-
是否服务器录制主讲人
final
- serverRecordVideo → bool
-
是否开启服务器录制视频
final
- videoCaptureObserverEnabled → bool
-
是否允许视频帧回调.
仅在iOS平台有效.
final
- videoDecodeMode → NERtcMediaCodecMode
-
视频解码模式.
final
- videoEncodeMode → NERtcMediaCodecMode
-
视频编码模式
final
- videoSendMode → NERtcVideoSendMode
-
视频发布模式
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited