NERtc Unity SDK V.5.4.128
载入中...
搜索中...
未找到
RtcBase.cs 文件参考

class  nertc.RtcConstants
 
class  nertc.RtcEngineContext
 
struct  nertc.RtcLiveStreamTaskOption
 
struct  nertc.RtcLiveStreamUserTranscoding
 
struct  nertc.RtcLiveStreamImageInfo
 
class  nertc.RtcLiveStreamLayout
 
struct  nertc.RtcLiveStreamConfig
 
class  nertc.RtcLiveStreamTaskInfo
 
struct  nertc.RtcCameraCaptureConfig
 
struct  nertc.RtcDeviceInfo
 
struct  nertc.RtcAudioVolumeInfo
 
struct  nertc.RtcStats
 
struct  nertc.RtcVideoLayerSendStats
 
struct  nertc.RtcVideoSendStats
 
struct  nertc.RtcVideoLayerRecvStats
 
struct  nertc.RtcVideoRecvStats
 
struct  nertc.RtcAudioLayerSendStats
 
class  nertc.RtcAudioSendStats
 
struct  nertc.RtcAudioLayerRecvStats
 
struct  nertc.RtcAudioRecvStats
 
struct  nertc.RtcNetworkQualityInfo
 
struct  nertc.RtcVideoConfig
 
struct  nertc.RtcRectangle
 
struct  nertc.RtcVideoDimensions
 
class  nertc.RtcScreenCaptureParameters
 
class  nertc.RtcVideoCanvas
 
struct  nertc.RtcAudioFrameRequestFormat
 
struct  nertc.RtcAudioFormat
 
struct  nertc.RtcAudioFrame
 
struct  nertc.RtcAudioEncodedFrame
 
struct  nertc.RtcExternalVideoFrame
 
struct  nertc.RtcVideoFrame
 
class  nertc.RtcVideoEncodedFrame
 
struct  nertc.RtcCreateAudioMixingOption
 
struct  nertc.RtcCreateAudioEffectOption
 
struct  nertc.RtcChannelMediaRelayInfo
 
class  nertc.RtcChannelMediaRelayConfig
 
struct  nertc.RtcImageWatermarkConfig
 
struct  nertc.RtcTextWatermarkConfig
 
struct  nertc.RtcTimestampWatermarkConfig
 
struct  nertc.RtcVideoWatermarkConfig
 
struct  nertc.RtcServerAddresses
 
struct  nertc.RtcAudioRecordingConfiguration
 
struct  nertc.RtcEncryptionConfig
 
struct  nertc.RtcLastmileProbeConfig
 
struct  nertc.RtcLastmileProbeOneWayResult
 
struct  nertc.RtcLastmileProbeResult
 
struct  nertc.RtcVirtualBackgroundSource
 
struct  nertc.RtcReverbParam
 
struct  nertc.RtcJoinChannelOptions
 
struct  nertc.RtcUserJoinExtraInfo
 
struct  nertc.RtcPositionInfo
 
struct  nertc.RtcSpatializerRoomProperty
 
struct  nertc.RtcCameraFocusAndExposureInfo
 
struct  nertc.RtcPoint
 
struct  nertc.RtcVideoCorrectionConfiguration
 

命名空间

namespace  nertc
 

枚举

enum  nertc.RtcErrorCode : int {
  nertc.kNERtcNoError = 0 , nertc.kNERtcErrChannelReservePermissionDenied = 403 , nertc.kNERtcErrChannelReserveTimeOut = 408 , nertc.kNERtcErrChannelReserveErrorParam = 414 ,
  nertc.kNERtcErrChannelReserveErrorAppKey = 417 , nertc.kNERtcErrChannelReserveUnknownError = 500 , nertc.kNERtcErrChannelReserveMoreThanTwoUser = 600 , nertc.kNERtcErrChannelPermissionKeyError = 901 ,
  nertc.kNERtcErrChannelPermissionKeyTimeout = 902 , nertc.kNERtcErrLsTaskRequestInvalid = 1301 , nertc.kNERtcErrLsTaskIsInvaild = 1400 , nertc.kNERtcErrLsTaskRoomExited = 1401 ,
  nertc.kNERtcErrLsTaskNumLimit = 1402 , nertc.kNERtcErrLsTaskDuplicateId = 1403 , nertc.kNERtcErrLsTaskNotFound = 1404 , nertc.kNERtcErrLsTaskRequestErr = 1417 ,
  nertc.kNERtcErrLsTaskInternalServerErr = 1500 , nertc.kNERtcErrLsTaskInvalidLayout = 1501 , nertc.kNERtcErrLsTaskUserPicErr = 1512 , nertc.kNERtcErrChannelNoPublishPermission = 1620 ,
  nertc.kNERtcErrChannelNoSubscribePermission = 2803 , nertc.kNERtcErrServerPersonsInRoomReachedTheLimit = 4003 , nertc.kNERtcErrFatal = 30001 , nertc.kNERtcErrOutOfMemory = 30002 ,
  nertc.kNERtcErrInvalidParam = 30003 , nertc.kNERtcErrNotSupported = 30004 , nertc.kNERtcErrInvalidState = 30005 , nertc.kNERtcErrLackOfResource = 30006 ,
  nertc.kNERtcErrInvalidIndex = 30007 , nertc.kNERtcErrDeviceNotFound = 30008 , nertc.kNERtcErrInvalidDeviceSourceID = 30009 , nertc.kNERtcErrInvalidVideoProfile = 30010 ,
  nertc.kNERtcErrCreateDeviceSourceFail = 30011 , nertc.kNERtcErrInvalidRender = 30012 , nertc.kNERtcErrDevicePreviewAlreadyStarted = 30013 , nertc.kNERtcErrTransmitPendding = 30014 ,
  nertc.kNERtcErrConnectFail = 30015 , nertc.kNERtcErrCreateDumpFileFail = 30016 , nertc.kNERtcErrStartDumpFail = 30017 , nertc.kNERtcErrDesktopCaptureInvalidState = 30020 ,
  nertc.kNERtcErrDesktopCaptureInvalidParam = 30021 , nertc.kNERtcErrDesktopCaptureNotReady = 30022 , nertc.kNERtcErrDeviceOccupied = 30027 , nertc.kNERtcErrChannelAlreadyJoined = 30100 ,
  nertc.kNERtcErrChannelNotJoined = 30101 , nertc.kNERtcErrChannelRepleatedlyLeave = 30102 , nertc.kNERtcErrRequestJoinChannelFail = 30103 , nertc.kNERtcErrSessionNotFound = 30104 ,
  nertc.kNERtcErrUserNotFound = 30105 , nertc.kNERtcErrInvalidUserID = 30106 , nertc.kNERtcErrMediaNotStarted = 30107 , nertc.kNERtcErrSourceNotFound = 30108 ,
  nertc.kNERtcErrSwitchChannelInvalidState = 30109 , nertc.kNERtcErrChannelMediaRelayInvalidState = 30110 , nertc.kNERtcErrChannelMediaRelayPermissionDenied = 30111 , nertc.kNERtcErrChannelMediaRelayStopFailed = 30112 ,
  nertc.kNERtcErrEncryptNotSuitable = 30113 , nertc.kNERtcErrUserPermKeyAuthFailed = 30121 , nertc.kNERtcErrSEIExceedMaxDataLimit = 30122 , nertc.kNERtcErrDataChannelExceedMaxDataLimit = 30123 ,
  nertc.kNERtcErrConnectionNotFound = 30200 , nertc.kNERtcErrStreamNotFound = 30201 , nertc.kNERtcErrAddTrackFail = 30202 , nertc.kNERtcErrTrackNotFound = 30203 ,
  nertc.kNERtcErrMediaConnectionDisconnected = 30204 , nertc.kNERtcErrSignalDisconnected = 30205 , nertc.kNERtcErrServerKicked = 30206 , nertc.kNERtcErrKickedForRoomClosed = 30207 ,
  nertc.kNERtcErrChannelLeaveBySwitchAction = 30208 , nertc.kNERtcErrChannelLeaveByDuplicateUidLogin = 30209 , nertc.kNERtcErrOSAuthorize = 30300 , nertc.kNERtcErrPTTAuthorizeFailed = 31001 ,
  nertc.kNERtcErrPTTAuthNetError = 31002 , nertc.kNERtcErrPTTAuthTimeOut = 31003 , nertc.kNERtcErrPTTRecordingAreadyStarted = 31011 , nertc.kNERtcErrPTTRecordingOpenFileFailed = 31012 ,
  nertc.kNERtcErrPTTRecordingDurationTooShort = 31013 , nertc.kNERtcErrPTTRecordingNotStarted = 31014 , nertc.kNERtcErrPTTPlayOpenFileFailed = 31021 , nertc.kNERtcErrPTTPlayReadFileFailed = 31022 ,
  nertc.kNERtcErrPTTPlayNotStarted = 31023 , nertc.kNERtcErrPTTUploadOpenFileFailed = 31031 , nertc.kNERtcErrPTTUploadFileTooLarge = 31032 , nertc.kNERtcErrPTTUploadAuthFailed = 31033 ,
  nertc.kNERtcErrPTTUploadNetError = 31034 , nertc.kNERtcErrPTTUploadDataError = 31035 , nertc.kNERtcErrPTTDownloadOpenFileFailed = 31041 , nertc.kNERtcErrPTTDownloadAuthFailed = 31042 ,
  nertc.kNERtcErrPTTDownloadNetError = 31043 , nertc.kNERtcErrPTTDownloadNotFound = 31044 , nertc.kNERtcErrPTTDownloadDataError = 31045 , nertc.kNERtcErrPTTDownloadAuditing = 31046 ,
  nertc.kNERtcErrPTTDownloadAuditFailed = 31047 , nertc.kNERtcErrPTTSTTAuthFailed = 31051 , nertc.kNERtcErrPTTSTTNetError = 31052 , nertc.kNERtcErrPTTSTTTranslateFaild = 31053 ,
  nertc.kNERtcErrPTTSTTNotFound = 31054 , nertc.kNERtcErrPTTSTTDataError = 31055 , nertc.kNERtcErrPTTSTTAuditing = 31056 , nertc.kNERtcErrPTTSTTAuditFailed = 31057 ,
  nertc.kNERtcRuntimeErrADMNoAuthorize = 40000 , nertc.kNERtcRuntimeErrADMInitRecordingFailed = 40001 , nertc.kNERtcRuntimeErrADMStartRecordingFailed = 40002 , nertc.kNERtcRuntimeErrADMStopRecordingFailed = 40003 ,
  nertc.kNERtcRuntimeErrADMInitPlayoutFailed = 40004 , nertc.kNERtcRuntimeErrADMStartPlayoutFailed = 40005 , nertc.kNERtcRuntimeErrADMStopPlayoutFailed = 40006 , nertc.kNERtcRuntimeErrADMRecordingFailed = 40007 ,
  nertc.kNERtcRuntimeErrADMPlayoutFailed = 40008 , nertc.kNERtcRuntimeErrADMRecording = 40008 , nertc.kNERtcRuntimeErrADMPlayout = 40009 , nertc.kNERtcRuntimeErrVDMNoAuthorize = 50000 ,
  nertc.kNERtcRuntimeErrVDMNotScreenUseSubStream = 50001 , nertc.kNERtcRuntimeErrVDMCameraDisconnect = 50303 , nertc.kNERtcRuntimeErrVDMCameraFreezed = 50304 , nertc.kNERtcRuntimeErrVDMCameraUnknownError = 50305 ,
  nertc.kNERtcRuntimeErrVDMCameraNoFrame = 50306 , nertc.kNERtcRuntimeErrVDMCameraCreateFail = 50307 , nertc.kNERtcRuntimeErrScreenCaptureNoAuthorize = 50400
}
 
enum  nertc.RtcAudioMixingErrorCode : int {
  nertc.kNERtcAudioMixingErrorOK = 0 , nertc.kNERtcAudioMixingErrorFatal = 1 , nertc.kNERtcAudioMixingErrorCanNotOpen , nertc.kNERtcAudioMixingErrorDecode ,
  nertc.kNERtcAudioMixingErrorInterrupt , nertc.kNERtcAudioMixingErrorHttpNotFound , nertc.kNERtcAudioMixingErrorOpen , nertc.kNERtcAudioMixingErrorNInfo ,
  nertc.kNERtcAudioMixingErrorNStream , nertc.kNERtcAudioMixingErrorNCodec , nertc.kNERtcAudioMixingErrorNMem , nertc.kNERtcAudioMixingErrorCodecOpen ,
  nertc.kNERtcAudioMixingErrorInvalidInfo , nertc.kNERtcAudioMixingErrorOpenTimeout , nertc.kNERtcAudioMixingErrorIoTimeout , nertc.kNERtcAudioMixingErrorIo
}
 
enum  nertc.RtcWarnCode : int { nertc.kLiteSDKNoWarning = 0 , nertc.kNERtcWarningChannelAbilityNotMatch = 406 , nertc.kNERtcWarningASLAudioFallback = 407 }
 
enum  nertc.RtcInterfaceIdType : int { nertc.kNERtcIIDAudioDeviceManager = 1 , nertc.kNERtcIIDVideoDeviceManager = 2 }
 
enum  nertc.RtcClientRole : int { nertc.kNERtcClientRoleBroadcaster = 0 , nertc.kNERtcClientRoleAudience = 1 }
 
enum  nertc.RtcChannelProfileType : int { nertc.kNERtcChannelProfileCommunication = 0 , nertc.kNERtcChannelProfileLiveBroadcasting = 1 }
 
enum  nertc.RtcMediaPriorityType : int { nertc.kNERtcMediaPriorityHigh = 50 , nertc.kNERtcMediaPriorityNormal = 100 }
 
enum  nertc.RtcLiveStreamLayoutMode : int {
  nertc.kNERtcLayoutFloatingRightVertical = 0 , nertc.kNERtcLayoutFloatingLeftVertical , nertc.kNERtcLayoutSplitScreen , nertc.kNERtcLayoutSplitScreenScaling ,
  nertc.kNERtcLayoutCustom , nertc.kNERtcLayoutAudioOnly
}
 
enum  nertc.RtcLiveStreamMode : int { nertc.kNERtcLsModeVideo = 0 , nertc.kNERtcLsModeAudio = 1 }
 
enum  nertc.RtcLiveStreamVideoScaleMode : int { nertc.kNERtcLsModeVideoScaleFit = 0 , nertc.kNERtcLsModeVideoScaleCropFill = 1 }
 
enum  nertc.RtcLiveStreamAudioSampleRate : int { nertc.kNERtcLiveStreamAudioSampleRate32000 = 32000 , nertc.kNERtcLiveStreamAudioSampleRate44100 = 44100 , nertc.kNERtcLiveStreamAudioSampleRate48000 = 48000 }
 
enum  nertc.RtcLiveStreamAudioCodecProfile : int { nertc.kNERtcLiveStreamAudioCodecProfileLCAAC = 0 , nertc.kNERtcLiveStreamAudioCodecProfileHEAAC = 1 }
 
enum  nertc.RtcLiveStreamStateCode : int { nertc.kNERtcLsStatePushing = 505 , nertc.kNERtcLsStatePushFail = 506 , nertc.kNERtcLsStatePushStopped = 511 , nertc.kNERtcLsStateImageError = 512 }
 
enum  nertc.RtcOsCategory : int { nertc.kNERtcOSiOS = 1 , nertc.kNERtcOSAndroid = 2 , nertc.kNERtcOSPC = 3 , nertc.kNERtcOSWebRTC = 4 }
 
enum  nertc.RtcAudioProfileType : int {
  nertc.kNERtcAudioProfileDefault = 0 , nertc.kNERtcAudioProfileStandard = 1 , nertc.kNERtcAudioProfileStandardExtend = 2 , nertc.kNERtcAudioProfileMiddleQuality = 3 ,
  nertc.kNERtcAudioProfileMiddleQualityStereo = 4 , nertc.kNERtcAudioProfileHighQuality = 5 , nertc.kNERtcAudioProfileHighQualityStereo = 6
}
 
enum  nertc.RtcAudioScenarioType : int { nertc.kNERtcAudioScenarioDefault = 0 , nertc.kNERtcAudioScenarioSpeech = 1 , nertc.kNERtcAudioScenarioMusic = 2 , nertc.kNERtcAudioScenarioChatroom = 3 }
 
enum  nertc.RtcVoiceChangerType : int {
  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.RtcVoiceBeautifierType : int {
  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.RtcVoiceEqualizationBand : int {
  nertc.kNERtcVoiceEqualizationBand31 = 0 , nertc.kNERtcVoiceEqualizationBand62 = 1 , nertc.kNERtcVoiceEqualizationBand125 = 2 , nertc.kNERtcVoiceEqualizationBand250 = 3 ,
  nertc.kNERtcVoiceEqualizationBand500 = 4 , nertc.kNERtcVoiceEqualizationBand1K = 5 , nertc.kNERtcVoiceEqualizationBand2K = 6 , nertc.kNERtcVoiceEqualizationBand4K = 7 ,
  nertc.kNERtcVoiceEqualizationBand8K = 8 , nertc.kNERtcVoiceEqualizationBand16K = 9
}
 
enum  nertc.RtcVideoProfileType : int {
  nertc.kNERtcVideoProfileLowest = 0 , nertc.kNERtcVideoProfileLow = 1 , nertc.kNERtcVideoProfileStandard = 2 , nertc.kNERtcVideoProfileHD720P = 3 ,
  nertc.kNERtcVideoProfileHD1080P = 4 , nertc.kNERtcVideoProfileNone = 5 , nertc.kNERtcVideoProfileMAX = kNERtcVideoProfileHD1080P , nertc.kNERtcVideoProfileFake = 6
}
 
enum  nertc.RtcRemoteVideoStreamType : int { nertc.kNERtcRemoteVideoStreamTypeHigh = 0 , nertc.kNERtcRemoteVideoStreamTypeLow = 1 , nertc.kNERtcRemoteVideoStreamTypeNone = 2 }
 
enum  nertc.RtcAudioDeviceType : int { nertc.kNERtcAudioDeviceUnknown = 0 , nertc.kNERtcAudioDeviceRecord , nertc.kNERtcAudioDevicePlayout }
 
enum  nertc.RtcAudioDeviceState : int { nertc.kNERtcAudioDeviceActive = 0 , nertc.kNERtcAudioDeviceUnactive }
 
enum  nertc.RtcAudioDeviceTransportType : int {
  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.RtcVideoDeviceTransportType : int { nertc.kNERtcVideoDeviceTransportTypeUnknown = 0 , nertc.kNERtcVideoDeviceTransportTypeUSB = 1 , nertc.kNERtcVideoDeviceTransportTypeVirtual = 2 , nertc.kNERtcVideoDeviceTransportTypeOther = 3 }
 
enum  nertc.RtcVideoDeviceType : int { nertc.kNERtcVideoDeviceUnknown = 0 , nertc.kNERtcVideoDeviceCapture }
 
enum  nertc.RtcVideoDeviceState : int { nertc.kNERtcVideoDeviceAdded = 0 , nertc.kNERtcVideoDeviceRemoved }
 
enum  nertc.RtcVideoScalingMode : int { nertc.kNERtcVideoScaleFit = 0 , nertc.kNERtcVideoScaleFullFill = 1 , nertc.kNERtcVideoScaleCropFill = 2 }
 
enum  nertc.RtcVideoMirrorMode : int { nertc.kNERtcVideoMirrorModeAuto = 0 , nertc.kNERtcVideoMirrorModeEnabled = 1 , nertc.kNERtcVideoMirrorModeDisabled = 2 }
 
enum  nertc.RtcVideoOrientationMode : int { nertc.kNERtcVideoOutputOrientationModeAdaptative = 0 , nertc.kNERtcVideoOutputOrientationModeFixedLandscape = 1 , nertc.kNERtcVideoOutputOrientationModeFixedPortrait = 2 }
 
enum  nertc.RtcConnectionStateType : int {
  nertc.kNERtcConnectionStateDisconnected = 1 , nertc.kNERtcConnectionStateConnecting = 2 , nertc.kNERtcConnectionStateConnected = 3 , nertc.kNERtcConnectionStateReconnecting = 4 ,
  nertc.kNERtcConnectionStateFailed = 5
}
 
enum  nertc.RtcReasonConnectionChangedType : int {
  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.RtcAudioStreamType : int { nertc.kNERtcAudioStreamTypeMain = 0 , nertc.kNERtcAudioStreamTypeSub = 1 }
 
enum  nertc.RtcNetworkQualityType : int {
  nertc.kNERtcNetworkQualityUnknown = 0 , nertc.kNERtcNetworkQualityExcellent = 1 , nertc.kNERtcNetworkQualityGood = 2 , nertc.kNERtcNetworkQualityPoor = 3 ,
  nertc.kNERtcNetworkQualityBad = 4 , nertc.kNERtcNetworkQualityVeryBad = 5 , nertc.kNERtcNetworkQualityDown = 6
}
 
enum  nertc.RtcVideoCropMode : int { nertc.kNERtcVideoCropModeDefault = 0 , nertc.kNERtcVideoCropMode16x9 = 1 , nertc.kNERtcVideoCropMode4x3 = 2 , nertc.kNERtcVideoCropMode1x1 = 3 }
 
enum  nertc.RtcVideoFramerateType : int {
  nertc.kNERtcVideoFramerateFpsDefault = 0 , nertc.kNERtcVideoFramerateFps7 = 7 , nertc.kNERtcVideoFramerateFps10 = 10 , nertc.kNERtcVideoFramerateFps15 = 15 ,
  nertc.kNERtcVideoFramerateFps24 = 24 , nertc.kNERtcVideoFramerateFps30 = 30 , nertc.kNERtcVideoFramerateFps60 = 60
}
 
enum  nertc.RtcDegradationPreference : int { nertc.kNERtcDegradationDefault = 0 , nertc.kNERtcDegradationMaintainFramerate = 1 , nertc.kNERtcDegradationMaintainQuality = 2 , nertc.kNERtcDegradationBalanced = 3 }
 
enum  nertc.RtcScreenProfileType {
  nertc.kNERtcScreenProfile480P = 0 , nertc.kNERtcScreenProfileHD720P = 1 , nertc.kNERtcScreenProfileHD1080P = 2 , nertc.kNERtcScreenProfileCustom = 3 ,
  nertc.kNERtcScreenProfileNone = 4 , nertc.kNERtcScreenProfileMAX = kNERtcScreenProfileHD1080P
}
 
enum  nertc.RtcScreenCaptureStatus {
  nertc.kNERtcScreenCaptureStatusStart = 1 , nertc.kNERtcScreenCaptureStatusPause = 2 , nertc.kNERtcScreenCaptureStatusResume = 3 , nertc.kNERtcScreenCaptureStatusStop = 4 ,
  nertc.kNERtcScreenCaptureStatusCovered = 5
}
 
enum  nertc.RtcSubStreamContentPrefer { nertc.kNERtcSubStreamContentPreferMotion = 0 , nertc.kNERtcSubStreamContentPreferDetails = 1 }
 
enum  nertc.RtcRecordType : int { nertc.kNERtcRecordTypeAll = 0 , nertc.kNERtcRecordTypeMix = 1 , nertc.kNERtcRecordTypeSingle = 2 }
 
enum  nertc.RtcAudioType : int { nertc.kNERtcAudioTypePCM16 = 0 }
 
enum  nertc.RtcRawAudioFrameOpModeType : int { nertc.kNERtcRawAudioFrameOpModeReadOnly = 0 , nertc.kNERtcRawAudioFrameOpModeReadWrite }
 
enum  nertc.RtcAudioPayloadType : int { nertc.kNERtcAudioPayloadTypeOPUS = 111 }
 
enum  nertc.RtcVideoType : int {
  nertc.kNERtcVideoTypeI420 = 0 , nertc.kNERtcVideoTypeNV12 = 1 , nertc.kNERtcVideoTypeNV21 = 2 , nertc.kNERtcVideoTypeBGRA = 3 ,
  nertc.kNERtcVideoTypeARGB = 4 , nertc.kNERtcVideoTypeCVPixelBuffer = 5
}
 
enum  nertc.RtcVideoRotation : int { nertc.kNERtcVideoRotation0 = 0 , nertc.kNERtcVideoRotation90 = 90 , nertc.kNERtcVideoRotation180 = 180 , nertc.kNERtcVideoRotation270 = 270 }
 
enum  nertc.RtcVideoCodecType : int { nertc.kNERtcVideoCodecTypeH264 = 3 }
 
enum  nertc.RtcNalFrameType { nertc.kNERtcNalFrameTypeIDR = 1 , nertc.kNERtcNalFrameTypeI = 2 , nertc.kNERtcNalFrameTypeP = 3 }
 
enum  nertc.RtcSessionLeaveReason : int {
  nertc.kNERtcSessionLeaveNormal = 0 , nertc.kNERtcSessionLeaveForFailOver = 1 , nertc.kNERtcSessionLeaveUpdate = 2 , nertc.kNERtcSessionLeaveForKick = 3 ,
  nertc.kNERtcSessionLeaveTimeOut = 4
}
 
enum  nertc.RtcAudioMixingState : int { nertc.kNERtcAudioMixingStateFinished = 0 , nertc.kNERtcAudioMixingStateFailed = 1 }
 
enum  nertc.RtcVideoStreamType : int { nertc.kNERTCVideoStreamMain = 0 , nertc.kNERTCVideoStreamSub = 1 , nertc.kNERTCVideoStreamCount }
 
enum  nertc.RtcChannelMediaRelayState : int { nertc.kNERtcChannelMediaRelayStateIdle = 0 , nertc.kNERtcChannelMediaRelayStateConnecting = 1 , nertc.kNERtcChannelMediaRelayStateRunning = 2 , nertc.kNERtcChannelMediaRelayStateFailure = 3 }
 
enum  nertc.RtcChannelMediaRelayEvent : int {
  nertc.kNERtcChannelMediaRelayEventDisconnect = 0 , nertc.kNERtcChannelMediaRelayEventConnecting = 1 , nertc.kNERtcChannelMediaRelayEventConnected = 2 , nertc.kNERtcChannelMediaRelayEventVideoSentToDestChannelSuccess = 3 ,
  nertc.kNERtcChannelMediaRelayEventAudioSentToDestChannelSuccess = 4 , nertc.kNERtcChannelMediaRelayEventOtherStreamSentToDestChannelSuccess = 5 , nertc.kNERtcChannelMediaRelayEventFailure = 100
}
 
enum  nertc.RtcLocalVideoWatermarkState : int {
  nertc.kNERtcLocalWatermarkStateSetSuccess , nertc.kNERtcLocalWatermarkStateDeviceNotSupported , nertc.kNERtcLocalWatermarkStateImgFormatNotSupported , nertc.kNERtcLocalWatermarkStateImgNumError ,
  nertc.kNERtcLocalWatermarkStateImgSizeError , nertc.kNERtcLocalWatermarkStateFPSError , nertc.kNERtcLocalWatermarkStateFontError , nertc.kNERtcLocalWatermarkStateWmAlphaError ,
  nertc.kNERtcLocalWatermarkStateTextContentEmptyError , nertc.kNERtcLocalWatermarkStateCancel = 20
}
 
enum  nertc.RtcWatermarkType : int { nertc.kNERtcWatermarkTypeImage = 0 , nertc.kNERtcWatermarkTypeText , nertc.kNERtcWatermarkTypeTimestamp }
 
enum  nertc.RtcLogLevel : int {
  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.RtcSendOnPubType : int { nertc.kNERtcSendOnPubNone = 0 , nertc.kNERtcSendOnPubHigh = 1 , nertc.kNERtcSendOnPubLow = 1 << 1 , nertc.kNERtcSendOnPubAll = kNERtcSendOnPubLow | kNERtcSendOnPubHigh }
 
enum  nertc.RtcAudioRecordingQuality : int { nertc.kNERtcAudioRecordingQualityLow = 0 , nertc.kNERtcAudioRecordingQualityMedium = 1 , nertc.kNERtcAudioRecordingQualityHigh = 2 }
 
enum  nertc.RtcAudioRecordingPosition : int { nertc.kNERtcAudioRecordingPositionMixedRecordingAndPlayback = 0 , nertc.kNERtcAudioRecordingPositionRecording = 1 , nertc.kNERtcAudioRecordingPositionMixedPlayback = 2 }
 
enum  nertc.RtcAudioRecordingCycleTime {
  nertc.kNERtcAudioRecordingCycleTime0 = 0 , nertc.kNERtcAudioRecordingCycleTime10 = 10 , nertc.kNERtcAudioRecordingCycleTime60 = 60 , nertc.kNERtcAudioRecordingCycleTime360 = 360 ,
  nertc.kNERtcAudioRecordingCycleTime900 = 900
}
 
enum  nertc.RtcAudioRecordingCode : int {
  nertc.kNERtcAudioRecordErrorSuffix = 1 , nertc.kNERtcAudioRecordOpenFileFailed = 2 , nertc.kNERtcAudioRecordStart = 3 , nertc.kNERtcAudioRecordError = 4 ,
  nertc.kNERtcAudioRecordFinish = 5
}
 
enum  nertc.RtcStreamFallbackOption : int { nertc.kNERtcStreamFallbackDisabled = 0 , nertc.kNERtcStreamFallbackVideoStreamLow = 1 , nertc.kNERtcStreamFallbackAudioOnly = 2 }
 
enum  nertc.RtcEncryptionMode : int { nertc.kNERtcGMCryptoSM4ECB = 0 }
 
enum  nertc.RtcLastmileProbeResultState : int { nertc.kNERtcLastmileProbeResultComplete = 1 , nertc.kNERtcLastmileProbeResultIncompleteNoBwe = 2 , nertc.kNERtcLastmileProbeResultUnavailable = 3 }
 
enum  nertc.RtcTransportType : int { nertc.kNERtcTransportTypeNoneProxy = 0 , nertc.kNERtcTransportTypeUDPProxy = 1 }
 
enum  nertc.RtcInstallCastAudioDriverResult : int { nertc.kNERtcInstallCastAudioDriverSuccess = 0 , nertc.kNERtcInstallCastAudioDriverNotAuthorized = 1 , nertc.kNERtcInstallCastAudioDriverFailed = 2 }
 
enum  nertc.RtcVirtualBackgroundSourcStateReason : int {
  nertc.kNERtcVirtualBackgroundSourceStateReasonSuccess = 0 , nertc.kNERtcVirtualBackgroundSourceStateReasonImageNotExist = 1 , nertc.kNERtcVirtualBackgroundSourceStateReasonImageFormatNotSupported = 2 , nertc.kNERtcVirtualBackgroundSourceStateReasonColorFormatNotSupported = 3 ,
  nertc.kNERtcVirtualBackgroundSourceStateReasonDeviceNotSupported = 4
}
 
enum  nertc.RtcVirtualBackgroundSourceType : int { nertc.kNERtcBackgroundColor = 1 , nertc.kNERtcBackgroundImage }
 
enum  nertc.RtcAudioDumpType : int { nertc.kNERtcAudioDumpTypePCM = 0 , nertc.kNERtcAudioDumpTypeAll = 1 , nertc.kNERtcAudioDumpTypeWAV = 2 }
 
enum  nertc.RtcRangeAudioMode : int { nertc.kNERtcRangeAudioModeDefault = 0 , nertc.kNERtcRangeAudioModeTeam = 1 }
 
enum  nertc.RtcMediaPubType : int { nertc.kNERtcMediaPubTypeAudio }
 
enum  nertc.RtcBeautyEffectType : int {
  nertc.kNERtcBeautyWhiteTeeth = 0 , nertc.kNERtcBeautyLightEye , nertc.kNERtcBeautyWhiten , nertc.kNERtcBeautySmooth ,
  nertc.kNERtcBeautySmallNose , nertc.kNERtcBeautyEyeDis , nertc.kNERtcBeautyEyeAngle , nertc.kNERtcBeautyMouth ,
  nertc.kNERtcBeautyBigEye , nertc.kNERtcBeautySmallFace , nertc.kNERtcBeautyJaw , nertc.kNERtcBeautyThinFace ,
  nertc.kNERtcBeautyFaceRuddy , nertc.kNERtcBeautyLongNose , nertc.kNERtcBeautyRenZhong , nertc.kNERtcBeautyMouthAngle ,
  nertc.kNERtcBeautyRoundEye , nertc.kNERtcBeautyOpenEyeAngle , nertc.kNERtcBeautyVFace , nertc.kNERtcBeautyThinUnderjaw ,
  nertc.kNERtcBeautyNarrowFace , nertc.kNERtcBeautyCheekBone , nertc.kNERtcBeautyFaceSharpen , nertc.kNERtcBeautyMouthWider ,
  nertc.kNERtcBeautyForeheadWrinkles , nertc.kNERtcBeautyDarkCircles , nertc.kNERtcBeautySmileLines , nertc.kNERtcBeautyShortFace
}
 
enum  nertc.RtcSpatializerRoomCapacity : int {
  nertc.kNERtcSpatializerRoomCapacitySmall = 0 , nertc.kNERtcSpatializerRoomCapacityMedium = 1 , nertc.kNERtcSpatializerRoomCapacityLarge = 2 , nertc.kNERtcSpatializerRoomCapacityHuge = 3 ,
  nertc.kNERtcSpatializerRoomCapacityNone = 4
}
 
enum  nertc.RtcSpatializerMaterialName : int {
  nertc.kNERtcSpatializerMaterialTransparent = 0 , nertc.kNERtcSpatializerMaterialAcousticCeilingTiles , nertc.kNERtcSpatializerMaterialBrickBare , nertc.kNERtcSpatializerMaterialBrickPainted ,
  nertc.kNERtcSpatializerMaterialConcreteBlockCoarse , nertc.kNERtcSpatializerMaterialConcreteBlockPainted , nertc.kNERtcSpatializerMaterialCurtainHeavy , nertc.kNERtcSpatializerMaterialFiberGlassInsulation ,
  nertc.kNERtcSpatializerMaterialGlassThin , nertc.kNERtcSpatializerMaterialGlassThick , nertc.kNERtcSpatializerMaterialGrass , nertc.kNERtcSpatializerMaterialLinoleumOnConcrete ,
  nertc.kNERtcSpatializerMaterialMarble , nertc.kNERtcSpatializerMaterialMetal , nertc.kNERtcSpatializerMaterialParquetOnConcrete , nertc.kNERtcSpatializerMaterialPlasterRough ,
  nertc.kNERtcSpatializerMaterialPlasterSmooth , nertc.kNERtcSpatializerMaterialPlywoodPanel , nertc.kNERtcSpatializerMaterialPolishedConcreteOrTile , nertc.kNERtcSpatializerMaterialSheetrock ,
  nertc.kNERtcSpatializerMaterialWaterOrIceSurface , nertc.kNERtcSpatializerMaterialWoodCeiling , nertc.kNERtcSpatializerMaterialWoodPanel , nertc.kNERtcSpatializerMaterialUniform
}
 
enum  nertc.RtcSpatializerRenderMode : int {
  nertc.kNERtcSpatializerRenderStereoPanning = 0 , nertc.kNERtcSpatializerRenderBinauralLowQuality , nertc.kNERtcSpatializerRenderBinauralMediumQuality , nertc.kNERtcSpatializerRenderBinauralHighQuality ,
  nertc.kNERtcSpatializerRenderRoomEffectsOnly
}
 
enum  nertc.RtcDistanceRolloffModel : int { nertc.kNERtcDistanceRolloffLogarithmic = 0 , nertc.kNERtcDistanceRolloffLinear , nertc.kNERtcDistanceRolloffNone }
 
enum  nertc.RtcVoiceAuditStatus : int {
  nertc.kNERtcVoiceAuditUnkonwn = -1 , nertc.kNERtcVoiceAuditing = 0 , nertc.kNERtcVoiceAuditFinished = 1 , nertc.kNERtcVoiceAuditServerError = 2 ,
  nertc.kNERtcVoiceAuditUnactivated = 3
}
 
enum  nertc.RtcAudioDeviceError : int {
  nertc.kNERtcAudioDeviceNoError = 0 , nertc.kNERtcAudioDeviceErrorInitRecording , nertc.kNERtcAudioDeviceErrorStartRecording , nertc.kNERtcAudioDeviceErrorStopRecording ,
  nertc.kNERtcAudioDeviceErrorInitPlayout , nertc.kNERtcAudioDeviceErrorStartPlayout , nertc.kNERtcAudioDeviceErrorStopplayout , nertc.kNERtcAudioDeviceErrorCaptureThreadStop ,
  nertc.kNERtcAudioDeviceErrorPlayoutThreadStop , nertc.kNERtcAudioDeviceErrorCaptureSampleRate , nertc.kNERtcAudioDeviceErrorPlayoutSampleRate , nertc.kNERtcAudioDeviceErrorConfigSession ,
  nertc.kNERtcAudioDeviceErrorCodeReporter
}
 
enum  nertc.RtcVideoDeviceError : int { nertc.kNERtcVideoDeviceErrorNoFrame = 0 , nertc.kNERtcVideoDeviceErrorNotAvailableInBackground , nertc.kNERtcVideoDeviceErrorUsingByAnotherClient , nertc.kNERtcVideoDeviceErrorNotAvailableWithMultipleForegroundApps }
 
enum  nertc.RtcAudioOutputRouting : int {
  nertc.kNERtcAudioOutputRoutingDefault = 0 , nertc.kNERtcAudioOutputRoutingHeadset , nertc.kNERtcAudioOutputRoutingEarpiece , nertc.kNERtcAudioOutputRoutingLoudspeaker ,
  nertc.kNERtcAudioOutputRoutingBluetooth
}
 
enum  nertc.RtcNetworkType {
  nertc.kNERtcNetworkTypeUnknown = 0 , nertc.kNERtcNetworkTypeEthernet , nertc.kNERtcNetworkTypeWifi , nertc.kNERtcNetworkType2G ,
  nertc.kNERtcNetworkType3G , nertc.kNERtcNetworkType4G , nertc.kNERtcNetworkType5G , nertc.kNERtcNetworkTypeWWAN ,
  nertc.kNERtcNetworkTypeBluetooth , nertc.kNERtcNetworkTypeNone
}
 
enum  nertc.RtcAudioSessionOperationRestriction : int { nertc.kNERtcAudioSessionOperationRestrictionNone = 0 , nertc.kNERtcAudioSessionOperationRestrictionAll , nertc.kNERtcAudioSessionOperationRestrictionDeactivateSession }
 
enum  nertc.RtcAudioFocusMode : int {
  nertc.kNERtcAudioFocusOff = 0 , nertc.kNERtcAudioFocusGain = 1 , nertc.kNERtcAudioFocusGainTransient = 2 , nertc.kNERtcAudioFocusGainTransientMayDuck = 3 ,
  nertc.kNERtcAudioFocusGainTransientExclisive = 4
}
 
enum  nertc.RtcCameraPosition : int { nertc.kNERtcCameraPositionBack = 0 , nertc.kNERtcCameraPositionFront }
 

函数

delegate void nertc.RtcTakeSnapshotCallback (RtcErrorCode errorCode, string image)