NERtc Unity SDK
V4.5.907
|
Public 属性 | |
readonly string | kNERtcKeyRecordHostEnabled = "record_host_enabled" |
readonly string | kNERtcKeyRecordAudioEnabled = "record_audio_enabled" |
readonly string | kNERtcKeyRecordVideoEnabled = "record_video_enabled" |
readonly string | kNERtcKeyRecordType = "record_type" |
readonly string | kNERtcKeyAutoSubscribeAudio = "auto_subscribe_audio" |
readonly string | kNERtcKeyEnableAudioASLManualSubscribe = "enable_audio_asl_manual_subscribe" |
readonly string | kNERtcKeyPublishSelfStreamEnabled = "publish_self_stream_enabled" |
readonly string | kNERtcKeyLogLevel = "log_level" |
readonly string | kNERtcKeyAudioProcessingAECEnable = "audio_processing_aec_enable" |
readonly string | kNERtcKeyAudioAECLowLevelEnable = "audio_aec_low_level_enable" |
readonly string | kNERtcKeyAudioProcessingAGCEnable = "audio_processing_agc_enable" |
readonly string | kNERtcKeyAudioProcessingNSEnable = "audio_processing_ns_enable" |
readonly string | kNERtcKeyAudioProcessingAINSEnable = "audio_processing_ai_ns_enable" |
readonly string | kNERtcKeyAudioProcessingExternalAudioMixEnable = "audio_processing_external_audiomix_enable" |
readonly string | kNERtcKeyAudioProcessingEarphone = "audio_processing_earphone" |
readonly string | kNERtcKeyVideoSendOnPubType = "video_sendonpub_type" |
readonly string | kNERtcKeyChannel1V1ModeEnabled = "channel_1v1_mode_enabled" |
readonly string | kNERtcKeyExtraInfo = "extra_info" |
readonly string | kNERtcKeyAudioDeviceAutoSelectType = "audio_device_auto_select_type" |
readonly string | kNERtcKeyEnableReportVolumeWhenMute = "enable_report_volume_when_mute" |
readonly string | kNERtcKeyEnableVideoCaptureObserver = "enable_video_capture_observer" |
readonly string | kNERtcKeyVideoPreferHWEncode = "video_prefer_hw_encode" |
readonly string | kNERtcKeyVideoPreferHWDecode = "video_prefer_hw_decode" |
readonly string | kNERtcKeyEnableDynamicToken = "enable_dynamic_token" |
readonly string | kNERtcExternalVideoDeviceID = "nertc-video-external-device" |
readonly string | kNERtcAudioDeviceAutoID = "nertc-audio-device-auto" |
通过 JSON 配置 SDK 提供技术预览或特别定制功能。以标准化方式公开 JSON 选项。详见 API setParameters。
readonly string nertc.RtcConstants.kNERtcKeyRecordHostEnabled = "record_host_enabled" |
bool value. true: 录制主讲人, false: 不是录制主讲人。通话前设置有效。
readonly string nertc.RtcConstants.kNERtcKeyRecordAudioEnabled = "record_audio_enabled" |
bool value,启用服务器音频录制。默认值 false。通话前设置有效。
readonly string nertc.RtcConstants.kNERtcKeyRecordVideoEnabled = "record_video_enabled" |
bool value,启用服务器视频录制。默认值 false。通话前设置有效。
readonly string nertc.RtcConstants.kNERtcKeyRecordType = "record_type" |
int value, NERtcRecordType。通话前设置有效。
readonly string nertc.RtcConstants.kNERtcKeyAutoSubscribeAudio = "auto_subscribe_audio" |
bool value,其他用户打开音频时,自动订阅。默认值 true。通话前设置有效。
readonly string nertc.RtcConstants.kNERtcKeyEnableAudioASLManualSubscribe = "enable_audio_asl_manual_subscribe" |
bool value,在ASL模式下手动订阅音频。默认值 false。通话前设置有效。
readonly string nertc.RtcConstants.kNERtcKeyPublishSelfStreamEnabled = "publish_self_stream_enabled" |
bool value,开启旁路直播。默认值 false。通话前设置有效。
readonly string nertc.RtcConstants.kNERtcKeyLogLevel = "log_level" |
int value, NERtcLogLevel,SDK 输出小于或等于该级别的 log,默认为 kNERtcLogLevelInfo。
readonly string nertc.RtcConstants.kNERtcKeyAudioProcessingAECEnable = "audio_processing_aec_enable" |
bool value. AEC 开关,默认值 true。
readonly string nertc.RtcConstants.kNERtcKeyAudioAECLowLevelEnable = "audio_aec_low_level_enable" |
bool value. low level AEC 开关,默认值 false,需要 kNERtcKeyAudioProcessingAECEnable 打开才生效。
readonly string nertc.RtcConstants.kNERtcKeyAudioProcessingAGCEnable = "audio_processing_agc_enable" |
bool value. AGC 开关,默认值 true。
readonly string nertc.RtcConstants.kNERtcKeyAudioProcessingNSEnable = "audio_processing_ns_enable" |
bool value. NS 开关,默认值 true。
readonly string nertc.RtcConstants.kNERtcKeyAudioProcessingAINSEnable = "audio_processing_ai_ns_enable" |
bool value. AI NS 开关,建议通话前修改,默认值 false。
readonly string nertc.RtcConstants.kNERtcKeyAudioProcessingExternalAudioMixEnable = "audio_processing_external_audiomix_enable" |
bool value. 输入混音开关,默认值 false。
readonly string nertc.RtcConstants.kNERtcKeyAudioProcessingEarphone = "audio_processing_earphone" |
bool value. 通知 SDK 是否使用耳机, true: 使用耳机, false: 不使用耳机,默认值 false。
readonly string nertc.RtcConstants.kNERtcKeyVideoSendOnPubType = "video_sendonpub_type" |
int value. NERtcSendOnPubType;设置视频发送策略,默认发送大流 kNERtcSendOnPubHigh。通话前设置有效。
readonly string nertc.RtcConstants.kNERtcKeyChannel1V1ModeEnabled = "channel_1v1_mode_enabled" |
bool value. 1v1 模式开关,默认关闭。通话前设置有效。
readonly string nertc.RtcConstants.kNERtcKeyExtraInfo = "extra_info" |
string value. APP 标识,用于后台识别用户产品名称。
readonly string nertc.RtcConstants.kNERtcKeyAudioDeviceAutoSelectType = "audio_device_auto_select_type" |
音频设备自动选择策略。int 类型。默认值为 0。
readonly string nertc.RtcConstants.kNERtcKeyEnableReportVolumeWhenMute = "enable_report_volume_when_mute" |
本地用户静音时是否返回原始音量。 布尔值,默认值为 false。
readonly string nertc.RtcConstants.kNERtcKeyEnableVideoCaptureObserver = "enable_video_capture_observer" |
是否需要开启视频数据采集回调,开启后开发者可以获取到原始视频数据。
布尔值,默认值 NO。
开启后如果需要关闭,需要通过调用 Release 来清除。
readonly string nertc.RtcConstants.kNERtcKeyVideoPreferHWEncode = "video_prefer_hw_encode" |
是否优先使用硬件编码视频数据。
布尔值,默认值 YES。
请在初始化( IRtcEngine.Initialize )之前 通过 IRtcEngine.SetParameters 方法设置该参数,否则该参数会在下次初始化之后生效。
readonly string nertc.RtcConstants.kNERtcKeyVideoPreferHWDecode = "video_prefer_hw_decode" |
是否优先使用硬件解码视频数据。
布尔值,默认值 YES。
请在初始化( IRtcEngine.Initialize )之前通过 IRtcEngine.SetParameters 设置该参数,否则该参数会在下次初始化之后生效。
readonly string nertc.RtcConstants.kNERtcKeyEnableDynamicToken = "enable_dynamic_token" |
是否使用动态token加入通话。 布尔值,默认值为 false。
readonly string nertc.RtcConstants.kNERtcExternalVideoDeviceID = "nertc-video-external-device" |
外部视频输入源设备ID,开启外部输入之后,需要通过setDevice设置此设备ID(windows有效)。
readonly string nertc.RtcConstants.kNERtcAudioDeviceAutoID = "nertc-audio-device-auto" |
音频设备自动选择ID,设置该ID为设备时,SDK会根据设备插拔系统设置等自动选择合适音频设备(windows有效)。