NERtc Windows SDK  V4.4.301
| 命名空间 | 宏定义 | 类型定义 | 枚举
nertc_engine_defines.h 文件参考

NERtc SDK definitions. 更多...

#include "nertc_base_types.h"

浏览源代码.

struct  nertc::NERtcLiveStreamTaskOption
 
struct  nertc::NERtcLiveStreamUserTranscoding
 
struct  nertc::NERtcLiveStreamImageInfo
 
struct  nertc::NERtcLiveStreamLayout
 
struct  nertc::NERtcLiveConfig
 
struct  nertc::NERtcLiveStreamTaskInfo
 
struct  nertc::NERtcDeviceInfo
 
struct  nertc::NERtcAudioVolumeInfo
 
struct  nertc::NERtcStats
 
struct  nertc::NERtcVideoLayerSendStats
 
struct  nertc::NERtcVideoSendStats
 
struct  nertc::NERtcVideoLayerRecvStats
 
struct  nertc::NERtcVideoRecvStats
 
struct  nertc::NERtcAudioSendStats
 
struct  nertc::NERtcAudioRecvStats
 
struct  nertc::NERtcNetworkQualityInfo
 
struct  nertc::NERtcVideoConfig
 
struct  nertc::NERtcRectangle
 
struct  nertc::NERtcVideoDimensions
 
struct  nertc::NERtcScreenCaptureParameters
 
struct  nertc::NERtcVideoCanvas
 
struct  nertc::NERtcAudioFrameRequestFormat
 
struct  nertc::NERtcAudioFormat
 
struct  nertc::NERtcAudioFrame
 
class  nertc::INERtcAudioFrameObserver
 
struct  nertc::NERtcVideoFrame
 
struct  nertc::NERtcCreateAudioMixingOption
 
struct  nertc::NERtcCreateAudioEffectOption
 
struct  nertc::NERtcTextWatermarkConfig
 
struct  nertc::NERtcTimestampWatermarkConfig
 
struct  nertc::NERtcChannelMediaRelayInfo
 
struct  nertc::NERtcChannelMediaRelayConfiguration
 
struct  nertc::NERtcImageWatermarkConfig
 
struct  nertc::NERtcCanvasWatermarkConfig
 
class  nertc::NERtcTakeSnapshotCallback
 
struct  nertc::NERtcServerAddresses
 
struct  nertc::NERtcEncryptionConfig
 

命名空间

 nertc
 namespace nertc
 

宏定义

#define kNERtcMaxPlaneCount   4
 
#define kNERtcEncryptByteLength   128
 
#define kNERtcMaxChannelNameLength   128
 
#define kNERtcMaxTokenLength   256
 
#define kNERtcMaxDeviceIDLength   256
 
#define kNERtcMaxDeviceNameLength   256
 
#define kNERtcMaxURILength   256
 
#define kNERtcMaxTaskIDLength   64
 
#define kNERtcMaxBuffLength   1024
 
#define kNERtcMacSEIBufferLength   4096
 
#define kNERtcExternalVideoDeviceID   "nertc-video-external-device"
 
#define kNERtcAudioDeviceAutoID   "nertc-audio-device-auto"
 
#define kNERtcKeyRecordHostEnabled   "record_host_enabled"
 
#define kNERtcKeyRecordAudioEnabled   "record_audio_enabled"
 
#define kNERtcKeyRecordVideoEnabled   "record_video_enabled"
 
#define kNERtcKeyRecordType   "record_type"
 
#define kNERtcKeyAutoSubscribeAudio   "auto_subscribe_audio"
 
#define kNERtcKeyPublishSelfStreamEnabled   "publish_self_stream_enabled"
 
#define kNERtcKeyLogLevel   "log_level"
 
#define kNERtcKeyAudioProcessingAECEnable   "audio_processing_aec_enable"
 
#define kNERtcKeyAudioAECLowLevelEnable   "audio_aec_low_level_enable"
 
#define kNERtcKeyAudioProcessingAGCEnable   "audio_processing_agc_enable"
 
#define kNERtcKeyAudioProcessingNSEnable   "audio_processing_ns_enable"
 
#define kNERtcKeyAudioProcessingAINSEnable   "audio_processing_ai_ns_enable"
 
#define kNERtcKeyAudioProcessingExternalAudioMixEnable   "audio_processing_external_audiomix_enable"
 
#define kNERtcKeyAudioProcessingEarphone   "audio_processing_earphone"
 
#define kNERtcKeyVideoSendOnPubType   "video_sendonpub_type"
 
#define kNERtcKeyChannel1V1ModeEnabled   "channel_1v1_mode_enabled"
 
#define kNERtcKeyExtraInfo   "extra_info"
 
#define kNERtcKeyEnableReportVolumeWhenMute   "enable_report_volume_when_mute"
 

类型定义

typedef uint64_t nertc::uid_t
 
typedef uint64_t nertc::channel_id_t
 
typedef void * nertc::source_id_t
 
typedef void(* nertc::onFrameDataCallback) (uid_t uid, void *data, uint32_t type, uint32_t width, uint32_t height, uint32_t count, uint32_t offset[4], uint32_t stride[4], uint32_t rotation, void *user_data)
 

枚举

enum  nertc::NERtcInterfaceIdType { nertc::kNERtcIIDAudioDeviceManager = 1 , nertc::kNERtcIIDVideoDeviceManager = 2 }
 
enum  nertc::NERtcClientRole { nertc::kNERtcClientRoleBroadcaster = 0 , nertc::kNERtcClientRoleAudience = 1 }
 
enum  nertc::NERtcChannelProfileType { nertc::kNERtcChannelProfileCommunication = 0 , nertc::kNERtcChannelProfileLiveBroadcasting = 1 }
 
enum  nertc::NERtcMediaPriorityType { nertc::kNERtcMediaPriorityHigh = 50 , nertc::kNERtcMediaPriorityNormal = 100 }
 
enum  nertc::NERtcLiveStreamLayoutMode {
  kNERtcLayoutFloatingRightVertical = 0 , kNERtcLayoutFloatingLeftVertical , kNERtcLayoutSplitScreen , kNERtcLayoutSplitScreenScaling ,
  kNERtcLayoutCustom , kNERtcLayoutAudioOnly
}
 
enum  nertc::NERtcLiveStreamMode { nertc::kNERtcLsModeVideo = 0 , nertc::kNERtcLsModeAudio = 1 }
 
enum  nertc::NERtcLiveStreamVideoScaleMode { nertc::kNERtcLsModeVideoScaleFit = 0 , nertc::kNERtcLsModeVideoScaleCropFill = 1 }
 
enum  nertc::NERtcLiveStreamAudioSampleRate { nertc::kNERtcLiveStreamAudioSampleRate32000 = 32000 , nertc::kNERtcLiveStreamAudioSampleRate44100 = 44100 , nertc::kNERtcLiveStreamAudioSampleRate48000 = 48000 }
 
enum  nertc::NERtcLiveStreamAudioCodecProfile { nertc::kNERtcLiveStreamAudioCodecProfileLCAAC = 0 , nertc::kNERtcLiveStreamAudioCodecProfileHEAAC = 1 }
 
enum  nertc::NERtcLiveStreamStateCode { nertc::kNERtcLsStatePushing = 505 , nertc::kNERtcLsStatePushFail = 506 , nertc::kNERtcLsStatePushStopped = 511 , nertc::kNERtcLsStateImageError = 512 }
 
enum  nertc::NERtcOSCategory { nertc::kNERtcOSiOS = 1 , nertc::kNERtcOSAndroid = 2 , nertc::kNERtcOSPC = 3 , nertc::kNERtcOSWebRTC = 4 }
 
enum  nertc::NERtcAudioProfileType {
  nertc::kNERtcAudioProfileDefault = 0 , nertc::kNERtcAudioProfileStandard = 1 , nertc::kNERtcAudioProfileStandardExtend = 2 , nertc::kNERtcAudioProfileMiddleQuality = 3 ,
  nertc::kNERtcAudioProfileMiddleQualityStereo = 4 , nertc::kNERtcAudioProfileHighQuality = 5 , nertc::kNERtcAudioProfileHighQualityStereo = 6
}
 
enum  nertc::NERtcAudioScenarioType { nertc::kNERtcAudioScenarioDefault = 0 , nertc::kNERtcAudioScenarioSpeech = 1 , nertc::kNERtcAudioScenarioMusic = 2 }
 
enum  nertc::NERtcVoiceChangerType {
  nertc::kNERtcVoiceChangerOff = 0 , nertc::kNERtcVoiceChangerRobot = 1 , nertc::kNERtcVoiceChangerGaint = 2 , nertc::kNERtcVoiceChangerHorror = 3 ,
  nertc::kNERtcVoiceChangerMature = 4 , nertc::kNERtcVoiceChangerManToWoman = 5 , nertc::kNERtcVoiceChangerWomanToMan = 6 , nertc::kNERtcVoiceChangerManToLoli = 7 ,
  nertc::kNERtcVoiceChangerWomanToLoli = 8
}
 
enum  nertc::NERtcVoiceBeautifierType {
  nertc::kNERtcVoiceBeautifierOff = 0 , nertc::kNERtcVoiceBeautifierMuffled = 1 , nertc::kNERtcVoiceBeautifierMellow = 2 , nertc::kNERtcVoiceBeautifierClear = 3 ,
  nertc::kNERtcVoiceBeautifierMagnetic = 4 , nertc::kNERtcVoiceBeautifierRecordingstudio = 5 , nertc::kNERtcVoiceBeautifierNature = 6 , nertc::kNERtcVoiceBeautifierKTV = 7 ,
  nertc::kNERtcVoiceBeautifierRemote = 8 , nertc::kNERtcVoiceBeautifierChurch = 9 , nertc::kNERtcVoiceBeautifierBedroom = 10 , nertc::kNERtcVoiceBeautifierLive = 11
}
 
enum  nertc::NERtcVoiceEqualizationBand {
  nertc::kNERtcVoiceEqualizationBand_31 = 0 , nertc::kNERtcVoiceEqualizationBand_62 = 1 , nertc::kNERtcVoiceEqualizationBand_125 = 2 , nertc::kNERtcVoiceEqualizationBand_250 = 3 ,
  nertc::kNERtcVoiceEqualizationBand_500 = 4 , nertc::kNERtcVoiceEqualizationBand_1K = 5 , nertc::kNERtcVoiceEqualizationBand_2K = 6 , nertc::kNERtcVoiceEqualizationBand_4K = 7 ,
  nertc::kNERtcVoiceEqualizationBand_8K = 8 , nertc::kNERtcVoiceEqualizationBand_16K = 9
}
 
enum  nertc::NERtcVideoProfileType {
  nertc::kNERtcVideoProfileLowest = 0 , nertc::kNERtcVideoProfileLow = 1 , nertc::kNERtcVideoProfileStandard = 2 , kNERtcVideoProfileHD720P = 3 ,
  nertc::kNERtcVideoProfileHD1080P = 4 , kNERtcVideoProfileNone = 5 , kNERtcVideoProfileMAX = kNERtcVideoProfileHD1080P , nertc::kNERtcVideoProfileFake = 6
}
 
enum  nertc::NERtcRemoteVideoStreamType { nertc::kNERtcRemoteVideoStreamTypeHigh = 0 , nertc::kNERtcRemoteVideoStreamTypeLow = 1 , nertc::kNERtcRemoteVideoStreamTypeNone = 2 }
 
enum  nertc::NERtcAudioDeviceType { nertc::kNERtcAudioDeviceUnknown = 0 , nertc::kNERtcAudioDeviceRecord , nertc::kNERtcAudioDevicePlayout }
 
enum  nertc::NERtcAudioDeviceState { nertc::kNERtcAudioDeviceActive = 0 , nertc::kNERtcAudioDeviceUnactive }
 
enum  nertc::NERtcAudioDeviceTransportType {
  nertc::kNERtcAudioDeviceTransportTypeUnknown = 0 , nertc::kNERtcAudioDeviceTransportTypeBluetooth = 1 , nertc::kNERtcAudioDeviceTransportTypeBluetoothA2DP = 2 , nertc::kNERtcAudioDeviceTransportTypeBluetoothLE = 3 ,
  nertc::kNERtcAudioDeviceTransportTypeUSB = 4 , nertc::kNERtcAudioDeviceTransportTypeHDMI = 5 , nertc::kNERtcAudioDeviceTransportTypeBuiltIn = 6 , nertc::kNERtcAudioDeviceTransportTypeThunderbolt = 7 ,
  nertc::kNERtcAudioDeviceTransportTypeAirPlay = 8 , nertc::kNERtcAudioDeviceTransportTypeVirtual = 9 , nertc::kNERtcAudioDeviceTransportTypeOther = 10
}
 
enum  nertc::NERtcVideoDeviceTransportType { nertc::kNERtcVideoDeviceTransportTypeUnknown = 0 , nertc::kNERtcVideoDeviceTransportTypeUSB = 1 , nertc::kNERtcVideoDeviceTransportTypeVirtual = 2 , nertc::kNERtcVideoDeviceTransportTypeOther = 3 }
 
enum  nertc::NERtcVideoDeviceType { nertc::kNERtcVideoDeviceUnknown = 0 , nertc::kNERtcVideoDeviceCapture }
 
enum  nertc::NERtcVideoDeviceState { nertc::kNERtcVideoDeviceAdded = 0 , nertc::kNERtcVideoDeviceRemoved }
 
enum  nertc::NERtcVideoScalingMode { nertc::kNERtcVideoScaleFit = 0 , nertc::kNERtcVideoScaleFullFill = 1 , nertc::kNERtcVideoScaleCropFill = 2 }
 
enum  nertc::NERtcVideoMirrorMode { nertc::kNERtcVideoMirrorModeAuto = 0 , nertc::kNERtcVideoMirrorModeEnabled = 1 , nertc::kNERtcVideoMirrorModeDisabled = 2 }
 
enum  nertc::NERtcVideoOutputOrientationMode { nertc::kNERtcVideoOutputOrientationModeAdaptative = 0 , nertc::kNERtcVideoOutputOrientationModeFixedLandscape = 1 , nertc::kNERtcVideoOutputOrientationModeFixedPortrait = 2 }
 
enum  nertc::NERtcConnectionStateType {
  nertc::kNERtcConnectionStateDisconnected = 1 , nertc::kNERtcConnectionStateConnecting = 2 , nertc::kNERtcConnectionStateConnected = 3 , nertc::kNERtcConnectionStateReconnecting = 4 ,
  nertc::kNERtcConnectionStateFailed = 5
}
 
enum  nertc::NERtcReasonConnectionChangedType {
  nertc::kNERtcReasonConnectionChangedLeaveChannel = 1 , nertc::kNERtcReasonConnectionChangedChannelClosed = 2 , nertc::kNERtcReasonConnectionChangedBeKicked = 3 , nertc::kNERtcReasonConnectionChangedTimeOut = 4 ,
  nertc::kNERtcReasonConnectionChangedJoinChannel = 5 , nertc::kNERtcReasonConnectionChangedJoinSucceed = 6 , nertc::kNERtcReasonConnectionChangedReJoinSucceed = 7 , nertc::kNERtcReasonConnectionChangedMediaConnectionDisconnected = 8 ,
  nertc::kNERtcReasonConnectionChangedSignalDisconnected = 9 , nertc::kNERtcReasonConnectionChangedRequestChannelFailed = 10 , nertc::kNERtcReasonConnectionChangedJoinChannelFailed = 11 , nertc::kNERtcReasonConnectionChangedReDispatch = 12 ,
  nertc::kNERtcReasonConnectionChangedSettingProxyServer = 13
}
 
enum  nertc::NERtcNetworkQualityType {
  nertc::kNERtcNetworkQualityUnknown = 0 , nertc::kNERtcNetworkQualityExcellent = 1 , nertc::kNERtcNetworkQualityGood = 2 , nertc::kNERtcNetworkQualityPoor = 3 ,
  nertc::kNERtcNetworkQualityBad = 4 , nertc::kNERtcNetworkQualityVeryBad = 5 , nertc::kNERtcNetworkQualityDown = 6
}
 
enum  nertc::NERtcVideoCropMode { nertc::kNERtcVideoCropModeDefault = 0 , nertc::kNERtcVideoCropMode16x9 = 1 , nertc::kNERtcVideoCropMode4x3 = 2 , nertc::kNERtcVideoCropMode1x1 = 3 }
 
enum  nertc::NERtcVideoFramerateType {
  nertc::kNERtcVideoFramerateFpsDefault = 0 , nertc::kNERtcVideoFramerateFps_7 = 7 , nertc::kNERtcVideoFramerateFps_10 = 10 , nertc::kNERtcVideoFramerateFps_15 = 15 ,
  nertc::kNERtcVideoFramerateFps_24 = 24 , nertc::kNERtcVideoFramerateFps_30 = 30 , nertc::kNERtcVideoFramerateFps_60 = 60
}
 
enum  nertc::NERtcDegradationPreference { nertc::kNERtcDegradationDefault = 0 , nertc::kNERtcDegradationMaintainFramerate = 1 , nertc::kNERtcDegradationMaintainQuality = 2 , nertc::kNERtcDegradationBalanced = 3 }
 
enum  nertc::NERtcScreenProfileType {
  nertc::kNERtcScreenProfile480P = 0 , nertc::kNERtcScreenProfileHD720P = 1 , nertc::kNERtcScreenProfileHD1080P = 2 , nertc::kNERtcScreenProfileCustom = 3 ,
  kNERtcScreenProfileNone = 4 , kNERtcScreenProfileMAX = kNERtcScreenProfileHD1080P
}
 
enum  nertc::NERtcScreenCaptureStatus {
  nertc::kScreenCaptureStatusStart = 1 , nertc::kScreenCaptureStatusPause = 2 , nertc::kScreenCaptureStatusResume = 3 , nertc::kScreenCaptureStatusStop = 4 ,
  nertc::kScreenCaptureStatusCovered = 5
}
 
enum  nertc::NERtcSubStreamContentPrefer { nertc::kNERtcSubStreamContentPreferMotion = 0 , nertc::kNERtcSubStreamContentPreferDetails = 1 }
 
enum  nertc::NERtcRecordType { nertc::kNERtcRecordTypeAll = 0 , nertc::kNERtcRecordTypeMix = 1 , nertc::kNERtcRecordTypeSingle = 2 }
 
enum  nertc::NERtcAudioType { nertc::kNERtcAudioTypePCM16 = 0 }
 
enum  nertc::NERtcRawAudioFrameOpModeType { nertc::kNERtcRawAudioFrameOpModeReadOnly = 0 , nertc::kNERtcRawAudioFrameOpModeReadWrite }
 
enum  nertc::NERtcVideoType {
  nertc::kNERtcVideoTypeI420 = 0 , nertc::kNERtcVideoTypeNV12 = 1 , nertc::kNERtcVideoTypeNV21 = 2 , nertc::kNERtcVideoTypeBGRA = 3 ,
  nertc::kNERtcVideoTypeCVPixelBuffer = 4
}
 
enum  nertc::NERtcVideoRotation { nertc::kNERtcVideoRotation_0 = 0 , nertc::kNERtcVideoRotation_90 = 90 , nertc::kNERtcVideoRotation_180 = 180 , nertc::kNERtcVideoRotation_270 = 270 }
 
enum  nertc::NERtcSessionLeaveReason {
  nertc::kNERtcSessionLeaveNormal = 0 , nertc::kNERtcSessionLeaveForFailOver = 1 , nertc::kNERtcSessionLeaveUpdate = 2 , nertc::kNERtcSessionLeaveForKick = 3 ,
  nertc::kNERtcSessionLeaveTimeOut = 4
}
 
enum  nertc::NERtcAudioMixingState { nertc::kNERtcAudioMixingStateFinished = 0 , nertc::kNERtcAudioMixingStateFailed = 1 }
 
enum  nertc::NERtcVideoStreamType { nertc::kNERTCVideoStreamMain = 0 , nertc::kNERTCVideoStreamSub = 1 , nertc::kNERTCVideoStreamCount }
 
enum  nertc::NERtcChannelMediaRelayState { kNERtcChannelMediaRelayStateIdle = 0 , kNERtcChannelMediaRelayStateConnecting = 1 , kNERtcChannelMediaRelayStateRunning = 2 , kNERtcChannelMediaRelayStateFailure = 3 }
 
enum  nertc::NERtcChannelMediaRelayEvent {
  kNERtcChannelMediaRelayEventDisconnect = 0 , nertc::kNERtcChannelMediaRelayEventConnecting = 1 , nertc::kNERtcChannelMediaRelayEventConnected = 2 , nertc::kNERtcChannelMediaRelayEventVideoSentToDestChannelSuccess = 3 ,
  nertc::kNERtcChannelMediaRelayEventAudioSentToDestChannelSuccess = 4 , nertc::kNERtcChannelMediaRelayEventOtherStreamSentToDestChannelSuccess = 5 , nertc::kNERtcChannelMediaRelayEventFailure = 100
}
 
enum  nertc::NERtcLogLevel {
  nertc::kNERtcLogLevelFatal = 0 , nertc::kNERtcLogLevelError = 1 , nertc::kNERtcLogLevelWarning = 2 , nertc::kNERtcLogLevelInfo = 3 ,
  nertc::kNERtcLogLevelDetailInfo = 4 , nertc::kNERtcLogLevelVerbos = 5 , nertc::kNERtcLogLevelDebug = 6 , nertc::kNERtcLogLevelOff = 7
}
 
enum  nertc::NERtcSendOnPubType { nertc::kNERtcSendOnPubNone = 0 , nertc::kNERtcSendOnPubHigh = 1 , nertc::kNERtcSendOnPubLow = 1 << 1 , nertc::kNERtcSendOnPubAll = kNERtcSendOnPubLow | kNERtcSendOnPubHigh }
 
enum  nertc::NERtcAudioRecordingQuality { nertc::kNERtcAudioRecordingQualityLow = 0 , nertc::kNERtcAudioRecordingQualityMedium = 1 , nertc::kNERtcAudioRecordingQualityHigh = 2 }
 
enum  nertc::NERtcAudioRecordingCode {
  nertc::kNERtcAudioRecordErrorSuffix = 1 , nertc::kNERtcAudioRecordOpenFileFailed = 2 , nertc::kNERtcAudioRecordStart = 3 , nertc::kNERtcAudioRecordError = 4 ,
  nertc::kNERtcAudioRecordFinish = 5
}
 
enum  nertc::RTCStreamFallbackOption { nertc::kNERtcStreamFallbackDisabled = 0 , nertc::kNERtcStreamFallbackVideoStreamLow = 1 , nertc::kNERtcStreamFallbackAudioOnly = 2 }
 
enum  nertc::NERtcEncryptionMode { nertc::kNERtcGMCryptoSM4ECB = 0 }
 
enum  nertc::NERtcTransportType { nertc::kNERtcTransportTypeNoneProxy = 0 , nertc::kNERtcTransportTypeUDPProxy = 1 }
 

详细描述

NERtc SDK definitions.

宏定义说明

◆ kNERtcAudioDeviceAutoID

#define kNERtcAudioDeviceAutoID   "nertc-audio-device-auto"

The audio device automatically selects the ID. When the ID is set as the device, the SDK will automatically select the appropriate audio device based on the device management system settings.

◆ kNERtcEncryptByteLength

#define kNERtcEncryptByteLength   128

The length of the encryption key.

◆ kNERtcExternalVideoDeviceID

#define kNERtcExternalVideoDeviceID   "nertc-video-external-device"

Device ID of an external video input source. After you enable external input, you must set this device ID using setDevice.

◆ kNERtcKeyAudioAECLowLevelEnable

#define kNERtcKeyAudioAECLowLevelEnable   "audio_aec_low_level_enable"

bool value. Enable or disable low level AEC. The default value is false, The option takes effect only of kNERtcKeyAudioProcessingAECEnable is enabled.

◆ kNERtcKeyAudioProcessingAECEnable

#define kNERtcKeyAudioProcessingAECEnable   "audio_processing_aec_enable"

bool value. Disable or enable AEC. The default value is true.

◆ kNERtcKeyAudioProcessingAGCEnable

#define kNERtcKeyAudioProcessingAGCEnable   "audio_processing_agc_enable"

bool value. Enable or disable AGC. The default value is true.

◆ kNERtcKeyAudioProcessingAINSEnable

#define kNERtcKeyAudioProcessingAINSEnable   "audio_processing_ai_ns_enable"

bool value. Enable or disable AI NS. We recommend that you modify this option before calls. The default value is false.

◆ kNERtcKeyAudioProcessingEarphone

#define kNERtcKeyAudioProcessingEarphone   "audio_processing_earphone"

bool value, which determines whether to use an earphone. true: uses an earphone. false: does not use an earphone. The default value is false.

◆ kNERtcKeyAudioProcessingExternalAudioMixEnable

#define kNERtcKeyAudioProcessingExternalAudioMixEnable   "audio_processing_external_audiomix_enable"

bool value. Enable or disable the audio mixing. The default value is false.

◆ kNERtcKeyAudioProcessingNSEnable

#define kNERtcKeyAudioProcessingNSEnable   "audio_processing_ns_enable"

bool value. Enable or disable NS. The default value is true.

◆ kNERtcKeyAutoSubscribeAudio

#define kNERtcKeyAutoSubscribeAudio   "auto_subscribe_audio"

bool value, which determines whether to automatically subscribe to the audio stream when other users open the audio. The default value is true. The setting is valid before the call.

◆ kNERtcKeyChannel1V1ModeEnabled

#define kNERtcKeyChannel1V1ModeEnabled   "channel_1v1_mode_enabled"

bool value. Enable or disable the 1v1 mode. The default value is disabled. The setting is valid before the call.

◆ kNERtcKeyEnableReportVolumeWhenMute

#define kNERtcKeyEnableReportVolumeWhenMute   "enable_report_volume_when_mute"

Whether to return original volume when the local user is muted. Boolean value, default: false.

  • true:Return the original volume in onLocalAudioVolumeIndication.
  • false:Return the recording volume(0) in onLocalAudioVolumeIndication.

◆ kNERtcKeyExtraInfo

#define kNERtcKeyExtraInfo   "extra_info"

string value. APP identification, used to identify the user's product name.

◆ kNERtcKeyLogLevel

#define kNERtcKeyLogLevel   "log_level"

int value, NERtcLogLevel, SDK outputs logs that are of less than or equal to this level. The default is kNERtcLogLevelInfo.

◆ kNERtcKeyPublishSelfStreamEnabled

#define kNERtcKeyPublishSelfStreamEnabled   "publish_self_stream_enabled"

bool value, which determines whether to enable CDN relayed streaming. The default value is false. The setting is valid before the call.

◆ kNERtcKeyRecordAudioEnabled

#define kNERtcKeyRecordAudioEnabled   "record_audio_enabled"

bool value, which determines whether to enable server audio recording. The default value is false. The setting is valid before the call.

◆ kNERtcKeyRecordHostEnabled

#define kNERtcKeyRecordHostEnabled   "record_host_enabled"

Configure the SDK using a JSON file to provide technical preview or special custom functionalities. Standardize JSON options. For more information, see setParameters. bool value. True: Record the presenter. False: Do not record the presenter. The setting is valid before the call.

◆ kNERtcKeyRecordType

#define kNERtcKeyRecordType   "record_type"

int value, NERtcRecordType. The setting is valid before the call.

◆ kNERtcKeyRecordVideoEnabled

#define kNERtcKeyRecordVideoEnabled   "record_video_enabled"

bool value, which determines whether to enable server video recording. The default value is false. The setting is valid before the call.

◆ kNERtcKeyVideoSendOnPubType

#define kNERtcKeyVideoSendOnPubType   "video_sendonpub_type"

int value. NERtcSendOnPubType. Sets the video sending strategy, and sends the bigstream by calling kNERtcSendOnPubHigh by default. The setting is valid before the call.

◆ kNERtcMacSEIBufferLength

#define kNERtcMacSEIBufferLength   4096

Maximum length of SEI information used in live streaming. Unit: bytes.

◆ kNERtcMaxBuffLength

#define kNERtcMaxBuffLength   1024

Maximum length of the string buffer.

◆ kNERtcMaxChannelNameLength

#define kNERtcMaxChannelNameLength   128

Maximum length of a room ID.

◆ kNERtcMaxDeviceIDLength

#define kNERtcMaxDeviceIDLength   256

Maximum length of a device ID.

◆ kNERtcMaxDeviceNameLength

#define kNERtcMaxDeviceNameLength   256

Maximum length of a device name.

◆ kNERtcMaxPlaneCount

#define kNERtcMaxPlaneCount   4

Video max plane count.

◆ kNERtcMaxTaskIDLength

#define kNERtcMaxTaskIDLength   64

Maximum length of the task ID.

◆ kNERtcMaxTokenLength

#define kNERtcMaxTokenLength   256

maximum token length.

◆ kNERtcMaxURILength

#define kNERtcMaxURILength   256

Maximum length of the URI.