6 #ifndef NERTC_ENGINE_DEFINES_H
7 #define NERTC_ENGINE_DEFINES_H
9 #include "nertc_base_types.h"
18 #define kNERtcMaxPlaneCount 4
27 #define kNERtcEncryptByteLength 128
36 #define kNERtcMaxChannelNameLength 128
45 #define kNERtcMaxTokenLength 256
54 #define kNERtcMaxDeviceIDLength 256
63 #define kNERtcMaxDeviceNameLength 256
72 #define kNERtcMaxURILength 256
81 #define kNERtcMaxTaskIDLength 64
90 #define kNERtcMaxBuffLength 1024
99 #define kNERtcMacSEIBufferLength 4096
108 #define kNERtcExternalVideoDeviceID "nertc-video-external-device"
117 #define kNERtcAudioDeviceAutoID "nertc-audio-device-auto"
281 kNERtcLayoutFloatingRightVertical = 0,
282 kNERtcLayoutFloatingLeftVertical,
283 kNERtcLayoutSplitScreen,
284 kNERtcLayoutSplitScreenScaling,
286 kNERtcLayoutAudioOnly,
5905 #define kNERtcKeyRecordHostEnabled "record_host_enabled"
5914 #define kNERtcKeyRecordAudioEnabled "record_audio_enabled"
5923 #define kNERtcKeyRecordVideoEnabled "record_video_enabled"
5932 #define kNERtcKeyRecordType "record_type"
5941 #define kNERtcKeyAutoSubscribeAudio "auto_subscribe_audio"
5950 #define kNERtcKeyPublishSelfStreamEnabled "publish_self_stream_enabled"
5959 #define kNERtcKeyLogLevel "log_level"
5968 #define kNERtcKeyAudioProcessingAECEnable "audio_processing_aec_enable"
5977 #define kNERtcKeyAudioAECLowLevelEnable "audio_aec_low_level_enable"
5986 #define kNERtcKeyAudioProcessingAGCEnable "audio_processing_agc_enable"
5995 #define kNERtcKeyAudioProcessingNSEnable "audio_processing_ns_enable"
6004 #define kNERtcKeyAudioProcessingAINSEnable "audio_processing_ai_ns_enable"
6013 #define kNERtcKeyAudioProcessingExternalAudioMixEnable "audio_processing_external_audiomix_enable"
6022 #define kNERtcKeyAudioProcessingEarphone "audio_processing_earphone"
6031 #define kNERtcKeyVideoSendOnPubType "video_sendonpub_type"
6040 #define kNERtcKeyChannel1V1ModeEnabled "channel_1v1_mode_enabled"
6049 #define kNERtcKeyExtraInfo "extra_info"
6062 #define kNERtcKeyAudioDeviceAutoSelectType "audio_device_auto_select_type"
6075 #define kNERtcKeyEnableReportVolumeWhenMute "enable_report_volume_when_mute"
Definition: nertc_engine_defines.h:4188
virtual void onMixedAudioFrame(NERtcAudioFrame *frame)=0
virtual void onAudioFrameDidRecord(NERtcAudioFrame *frame)=0
virtual void onPlaybackAudioFrameBeforeMixing(uint64_t userID, NERtcAudioFrame *frame)=0
virtual void onAudioFrameWillPlayback(NERtcAudioFrame *frame)=0
Definition: nertc_engine_defines.h:5276
virtual void onTakeSnapshotResult(int errorCode, const char *image)=0
NERtcAudioProfileType
Definition: nertc_engine_defines.h:986
@ kNERtcAudioProfileHighQualityStereo
Definition: nertc_engine_defines.h:1049
@ kNERtcAudioProfileHighQuality
Definition: nertc_engine_defines.h:1040
@ kNERtcAudioProfileMiddleQualityStereo
Definition: nertc_engine_defines.h:1031
@ kNERtcAudioProfileStandard
Definition: nertc_engine_defines.h:1004
@ kNERtcAudioProfileDefault
Definition: nertc_engine_defines.h:995
@ kNERtcAudioProfileStandardExtend
Definition: nertc_engine_defines.h:1013
@ kNERtcAudioProfileMiddleQuality
Definition: nertc_engine_defines.h:1022
NERtcSendOnPubType
Definition: nertc_engine_defines.h:5387
@ kNERtcSendOnPubAll
Definition: nertc_engine_defines.h:5423
@ kNERtcSendOnPubLow
Definition: nertc_engine_defines.h:5414
@ kNERtcSendOnPubHigh
Definition: nertc_engine_defines.h:5405
@ kNERtcSendOnPubNone
Definition: nertc_engine_defines.h:5396
NERtcClientRole
Definition: nertc_engine_defines.h:192
@ kNERtcClientRoleAudience
Definition: nertc_engine_defines.h:210
@ kNERtcClientRoleBroadcaster
Definition: nertc_engine_defines.h:201
NERtcInterfaceIdType
Definition: nertc_engine_defines.h:163
@ kNERtcIIDVideoDeviceManager
Definition: nertc_engine_defines.h:181
@ kNERtcIIDAudioDeviceManager
Definition: nertc_engine_defines.h:172
NERtcAudioDeviceState
Definition: nertc_engine_defines.h:1679
@ kNERtcAudioDeviceUnactive
Definition: nertc_engine_defines.h:1697
@ kNERtcAudioDeviceActive
Definition: nertc_engine_defines.h:1688
NERtcCameraPreference
Definition: nertc_engine_defines.h:1414
@ kNERtcCameraOutputDefault
Definition: nertc_engine_defines.h:1423
@ kNERtcCameraOutputManual
Definition: nertc_engine_defines.h:1441
@ kNERtcCameraOutputQuality
Definition: nertc_engine_defines.h:1432
NERtcStreamFallbackOption
Definition: nertc_engine_defines.h:5617
@ kNERtcStreamFallbackAudioOnly
Definition: nertc_engine_defines.h:5652
@ kNERtcStreamFallbackDisabled
Definition: nertc_engine_defines.h:5628
@ kNERtcStreamFallbackVideoStreamLow
Definition: nertc_engine_defines.h:5640
NERtcLogLevel
Definition: nertc_engine_defines.h:5304
@ kNERtcLogLevelDebug
Definition: nertc_engine_defines.h:5367
@ kNERtcLogLevelWarning
Definition: nertc_engine_defines.h:5331
@ kNERtcLogLevelOff
Definition: nertc_engine_defines.h:5376
@ kNERtcLogLevelFatal
Definition: nertc_engine_defines.h:5313
@ kNERtcLogLevelInfo
Definition: nertc_engine_defines.h:5340
@ kNERtcLogLevelError
Definition: nertc_engine_defines.h:5322
@ kNERtcLogLevelDetailInfo
Definition: nertc_engine_defines.h:5349
@ kNERtcLogLevelVerbos
Definition: nertc_engine_defines.h:5358
NERtcChannelMediaRelayState
Definition: nertc_engine_defines.h:4924
@ kNERtcChannelMediaRelayStateConnecting
Definition: nertc_engine_defines.h:4942
@ kNERtcChannelMediaRelayStateIdle
Definition: nertc_engine_defines.h:4933
@ kNERtcChannelMediaRelayStateFailure
Definition: nertc_engine_defines.h:4960
@ kNERtcChannelMediaRelayStateRunning
Definition: nertc_engine_defines.h:4951
NERtcReasonConnectionChangedType
Definition: nertc_engine_defines.h:2172
@ kNERtcReasonConnectionChangedReJoinSucceed
Definition: nertc_engine_defines.h:2235
@ kNERtcReasonConnectionChangedSignalDisconnected
Definition: nertc_engine_defines.h:2253
@ kNERtcReasonConnectionChangedMediaConnectionDisconnected
Definition: nertc_engine_defines.h:2244
@ kNERtcReasonConnectionChangedJoinSucceed
Definition: nertc_engine_defines.h:2226
@ kNERtcReasonConnectionChangedJoinChannelFailed
Definition: nertc_engine_defines.h:2271
@ kNERtcReasonConnectionChangedRequestChannelFailed
Definition: nertc_engine_defines.h:2262
@ kNERtcReasonConnectionChangedBeKicked
Definition: nertc_engine_defines.h:2199
@ kNERtcReasonConnectionChangedReDispatch
Definition: nertc_engine_defines.h:2280
@ kNERtcReasonConnectionChangedJoinChannel
Definition: nertc_engine_defines.h:2217
@ kNERtcReasonConnectionChangedLeaveChannel
Definition: nertc_engine_defines.h:2181
@ kNERtcReasonConnectionChangedChannelClosed
Definition: nertc_engine_defines.h:2190
@ kNERtcReasonConnectionChangedTimeOut
Definition: nertc_engine_defines.h:2208
NERtcVideoCropMode
Definition: nertc_engine_defines.h:3241
@ kNERtcVideoCropMode16x9
Definition: nertc_engine_defines.h:3259
@ kNERtcVideoCropModeDefault
Definition: nertc_engine_defines.h:3250
@ kNERtcVideoCropMode1x1
Definition: nertc_engine_defines.h:3277
@ kNERtcVideoCropMode4x3
Definition: nertc_engine_defines.h:3268
NERtcVideoScalingMode
Definition: nertc_engine_defines.h:1985
@ kNERtcVideoScaleCropFill
Definition: nertc_engine_defines.h:2012
@ kNERtcVideoScaleFit
Definition: nertc_engine_defines.h:1994
@ kNERtcVideoScaleFullFill
Definition: nertc_engine_defines.h:2003
NERtcVideoStreamType
Definition: nertc_engine_defines.h:4683
@ kNERTCVideoStreamSub
Definition: nertc_engine_defines.h:4701
@ kNERTCVideoStreamMain
Definition: nertc_engine_defines.h:4692
@ kNERTCVideoStreamCount
Definition: nertc_engine_defines.h:4710
NERtcDegradationPreference
Definition: nertc_engine_defines.h:3362
@ kNERtcDegradationDefault
Definition: nertc_engine_defines.h:3375
@ kNERtcDegradationMaintainQuality
Definition: nertc_engine_defines.h:3393
@ kNERtcDegradationMaintainFramerate
Definition: nertc_engine_defines.h:3384
@ kNERtcDegradationBalanced
Definition: nertc_engine_defines.h:3402
void(* 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)
Definition: nertc_engine_defines.h:3565
NERtcVoiceChangerType
Definition: nertc_engine_defines.h:1102
@ kNERtcVoiceChangerMature
Definition: nertc_engine_defines.h:1147
@ kNERtcVoiceChangerOff
Definition: nertc_engine_defines.h:1111
@ kNERtcVoiceChangerRobot
Definition: nertc_engine_defines.h:1120
@ kNERtcVoiceChangerManToLoli
Definition: nertc_engine_defines.h:1174
@ kNERtcVoiceChangerManToWoman
Definition: nertc_engine_defines.h:1156
@ kNERtcVoiceChangerWomanToLoli
Definition: nertc_engine_defines.h:1183
@ kNERtcVoiceChangerGaint
Definition: nertc_engine_defines.h:1129
@ kNERtcVoiceChangerHorror
Definition: nertc_engine_defines.h:1138
@ kNERtcVoiceChangerWomanToMan
Definition: nertc_engine_defines.h:1165
NERtcAudioDeviceTransportType
Definition: nertc_engine_defines.h:1709
@ kNERtcAudioDeviceTransportTypeAirPlay
Definition: nertc_engine_defines.h:1790
@ kNERtcAudioDeviceTransportTypeBluetoothA2DP
Definition: nertc_engine_defines.h:1736
@ kNERtcAudioDeviceTransportTypeOther
Definition: nertc_engine_defines.h:1808
@ kNERtcAudioDeviceTransportTypeVirtual
Definition: nertc_engine_defines.h:1799
@ kNERtcAudioDeviceTransportTypeUSB
Definition: nertc_engine_defines.h:1754
@ kNERtcAudioDeviceTransportTypeHDMI
Definition: nertc_engine_defines.h:1763
@ kNERtcAudioDeviceTransportTypeBluetooth
Definition: nertc_engine_defines.h:1727
@ kNERtcAudioDeviceTransportTypeUnknown
Definition: nertc_engine_defines.h:1718
@ kNERtcAudioDeviceTransportTypeBuiltIn
Definition: nertc_engine_defines.h:1772
@ kNERtcAudioDeviceTransportTypeThunderbolt
Definition: nertc_engine_defines.h:1781
@ kNERtcAudioDeviceTransportTypeBluetoothLE
Definition: nertc_engine_defines.h:1745
NERtcAudioType
Definition: nertc_engine_defines.h:4012
@ kNERtcAudioTypePCM16
Definition: nertc_engine_defines.h:4021
NERtcLastmileProbeResultState
Definition: nertc_engine_defines.h:5774
@ kNERtcLastmileProbeResultIncompleteNoBwe
Definition: nertc_engine_defines.h:5792
@ kNERtcLastmileProbeResultComplete
Definition: nertc_engine_defines.h:5783
@ kNERtcLastmileProbeResultUnavailable
Definition: nertc_engine_defines.h:5801
NERtcMediaPriorityType
Definition: nertc_engine_defines.h:251
@ kNERtcMediaPriorityNormal
Definition: nertc_engine_defines.h:269
@ kNERtcMediaPriorityHigh
Definition: nertc_engine_defines.h:260
NERtcSessionLeaveReason
Definition: nertc_engine_defines.h:4440
@ kNERtcSessionLeaveUpdate
Definition: nertc_engine_defines.h:4467
@ kNERtcSessionLeaveForKick
Definition: nertc_engine_defines.h:4476
@ kNERtcSessionLeaveForFailOver
Definition: nertc_engine_defines.h:4458
@ kNERtcSessionLeaveNormal
Definition: nertc_engine_defines.h:4449
@ kNERtcSessionLeaveTimeOut
Definition: nertc_engine_defines.h:4485
NERtcVideoDeviceTransportType
Definition: nertc_engine_defines.h:1820
@ kNERtcVideoDeviceTransportTypeVirtual
Definition: nertc_engine_defines.h:1847
@ kNERtcVideoDeviceTransportTypeUSB
Definition: nertc_engine_defines.h:1838
@ kNERtcVideoDeviceTransportTypeUnknown
Definition: nertc_engine_defines.h:1829
@ kNERtcVideoDeviceTransportTypeOther
Definition: nertc_engine_defines.h:1856
NERtcConnectionStateType
Definition: nertc_engine_defines.h:2114
@ kNERtcConnectionStateReconnecting
Definition: nertc_engine_defines.h:2150
@ kNERtcConnectionStateConnecting
Definition: nertc_engine_defines.h:2132
@ kNERtcConnectionStateDisconnected
Definition: nertc_engine_defines.h:2123
@ kNERtcConnectionStateFailed
Definition: nertc_engine_defines.h:2159
@ kNERtcConnectionStateConnected
Definition: nertc_engine_defines.h:2141
NERtcLiveStreamAudioSampleRate
Definition: nertc_engine_defines.h:677
@ kNERtcLiveStreamAudioSampleRate48000
Definition: nertc_engine_defines.h:704
@ kNERtcLiveStreamAudioSampleRate32000
Definition: nertc_engine_defines.h:686
@ kNERtcLiveStreamAudioSampleRate44100
Definition: nertc_engine_defines.h:695
NERtcAudioDeviceType
Definition: nertc_engine_defines.h:1640
@ kNERtcAudioDeviceRecord
Definition: nertc_engine_defines.h:1658
@ kNERtcAudioDevicePlayout
Definition: nertc_engine_defines.h:1667
@ kNERtcAudioDeviceUnknown
Definition: nertc_engine_defines.h:1649
uint64_t uid_t
Definition: nertc_engine_defines.h:133
NERtcLiveStreamVideoScaleMode
Definition: nertc_engine_defines.h:394
@ kNERtcLsModeVideoScaleCropFill
Definition: nertc_engine_defines.h:412
@ kNERtcLsModeVideoScaleFit
Definition: nertc_engine_defines.h:403
NERtcVoiceEqualizationBand
Definition: nertc_engine_defines.h:1313
@ kNERtcVoiceEqualizationBand_500
Definition: nertc_engine_defines.h:1358
@ kNERtcVoiceEqualizationBand_2K
Definition: nertc_engine_defines.h:1376
@ kNERtcVoiceEqualizationBand_8K
Definition: nertc_engine_defines.h:1394
@ kNERtcVoiceEqualizationBand_125
Definition: nertc_engine_defines.h:1340
@ kNERtcVoiceEqualizationBand_1K
Definition: nertc_engine_defines.h:1367
@ kNERtcVoiceEqualizationBand_250
Definition: nertc_engine_defines.h:1349
@ kNERtcVoiceEqualizationBand_16K
Definition: nertc_engine_defines.h:1403
@ kNERtcVoiceEqualizationBand_4K
Definition: nertc_engine_defines.h:1385
@ kNERtcVoiceEqualizationBand_31
Definition: nertc_engine_defines.h:1322
@ kNERtcVoiceEqualizationBand_62
Definition: nertc_engine_defines.h:1331
NERtcEncryptionMode
Definition: nertc_engine_defines.h:5663
@ kNERtcGMCryptoSM4ECB
Definition: nertc_engine_defines.h:5672
NERtcVideoRotation
Definition: nertc_engine_defines.h:4327
@ kNERtcVideoRotation_0
Definition: nertc_engine_defines.h:4336
@ kNERtcVideoRotation_90
Definition: nertc_engine_defines.h:4345
@ kNERtcVideoRotation_180
Definition: nertc_engine_defines.h:4354
@ kNERtcVideoRotation_270
Definition: nertc_engine_defines.h:4363
NERtcVideoProfileType
Definition: nertc_engine_defines.h:1523
@ kNERtcVideoProfileHD720P
Definition: nertc_engine_defines.h:1559
@ kNERtcVideoProfileNone
Definition: nertc_engine_defines.h:1577
@ kNERtcVideoProfileLowest
Definition: nertc_engine_defines.h:1532
@ kNERtcVideoProfileStandard
Definition: nertc_engine_defines.h:1550
@ kNERtcVideoProfileHD1080P
Definition: nertc_engine_defines.h:1568
@ kNERtcVideoProfileFake
Definition: nertc_engine_defines.h:1589
@ kNERtcVideoProfileLow
Definition: nertc_engine_defines.h:1541
NERtcAudioStreamType
Definition: nertc_engine_defines.h:2913
@ kNERtcAudioStreamTypeSub
Definition: nertc_engine_defines.h:2922
@ kNERtcAudioStreamTypeMain
Definition: nertc_engine_defines.h:2917
NERtcAudioRecordingQuality
Definition: nertc_engine_defines.h:5519
@ kNERtcAudioRecordingQualityMedium
Definition: nertc_engine_defines.h:5537
@ kNERtcAudioRecordingQualityLow
Definition: nertc_engine_defines.h:5528
@ kNERtcAudioRecordingQualityHigh
Definition: nertc_engine_defines.h:5546
NERtcAudioScenarioType
Definition: nertc_engine_defines.h:1060
@ kNERtcAudioScenarioDefault
Definition: nertc_engine_defines.h:1073
@ kNERtcAudioScenarioMusic
Definition: nertc_engine_defines.h:1091
@ kNERtcAudioScenarioSpeech
Definition: nertc_engine_defines.h:1082
void * source_id_t
Definition: nertc_engine_defines.h:151
NERtcVideoDeviceState
Definition: nertc_engine_defines.h:1955
@ kNERtcVideoDeviceRemoved
Definition: nertc_engine_defines.h:1973
@ kNERtcVideoDeviceAdded
Definition: nertc_engine_defines.h:1964
NERtcScreenProfileType
Definition: nertc_engine_defines.h:3587
@ kNERtcScreenProfileMAX
Definition: nertc_engine_defines.h:3641
@ kNERtcScreenProfileHD1080P
Definition: nertc_engine_defines.h:3614
@ kNERtcScreenProfileHD720P
Definition: nertc_engine_defines.h:3605
@ kNERtcScreenProfile480P
Definition: nertc_engine_defines.h:3596
@ kNERtcScreenProfileCustom
Definition: nertc_engine_defines.h:3623
@ kNERtcScreenProfileNone
Definition: nertc_engine_defines.h:3632
NERtcVideoMirrorMode
Definition: nertc_engine_defines.h:2024
@ kNERtcVideoMirrorModeAuto
Definition: nertc_engine_defines.h:2033
@ kNERtcVideoMirrorModeDisabled
Definition: nertc_engine_defines.h:2051
@ kNERtcVideoMirrorModeEnabled
Definition: nertc_engine_defines.h:2042
NERtcLiveStreamMode
Definition: nertc_engine_defines.h:364
@ kNERtcLsModeAudio
Definition: nertc_engine_defines.h:382
@ kNERtcLsModeVideo
Definition: nertc_engine_defines.h:373
NERtcVideoOutputOrientationMode
Definition: nertc_engine_defines.h:2062
@ kNERtcVideoOutputOrientationModeFixedPortrait
Definition: nertc_engine_defines.h:2102
@ kNERtcVideoOutputOrientationModeAdaptative
Definition: nertc_engine_defines.h:2078
@ kNERtcVideoOutputOrientationModeFixedLandscape
Definition: nertc_engine_defines.h:2090
uint64_t channel_id_t
Definition: nertc_engine_defines.h:142
NERtcScreenCaptureStatus
Definition: nertc_engine_defines.h:3652
@ kScreenCaptureStatusResume
Definition: nertc_engine_defines.h:3681
@ kScreenCaptureStatusStop
Definition: nertc_engine_defines.h:3691
@ kScreenCaptureStatusStart
Definition: nertc_engine_defines.h:3661
@ kScreenCaptureStatusPause
Definition: nertc_engine_defines.h:3671
@ kScreenCaptureStatusCovered
Definition: nertc_engine_defines.h:3702
NERtcChannelProfileType
Definition: nertc_engine_defines.h:222
@ kNERtcChannelProfileCommunication
Definition: nertc_engine_defines.h:231
@ kNERtcChannelProfileLiveBroadcasting
Definition: nertc_engine_defines.h:240
NERtcRawAudioFrameOpModeType
Definition: nertc_engine_defines.h:4032
@ kNERtcRawAudioFrameOpModeReadOnly
Definition: nertc_engine_defines.h:4041
@ kNERtcRawAudioFrameOpModeReadWrite
Definition: nertc_engine_defines.h:4050
NERtcVideoType
Definition: nertc_engine_defines.h:4270
@ kNERtcVideoTypeCVPixelBuffer
Definition: nertc_engine_defines.h:4315
@ kNERtcVideoTypeBGRA
Definition: nertc_engine_defines.h:4306
@ kNERtcVideoTypeI420
Definition: nertc_engine_defines.h:4279
@ kNERtcVideoTypeNV21
Definition: nertc_engine_defines.h:4297
@ kNERtcVideoTypeNV12
Definition: nertc_engine_defines.h:4288
NERtcAudioRecordingCode
Definition: nertc_engine_defines.h:5557
@ kNERtcAudioRecordErrorSuffix
Definition: nertc_engine_defines.h:5566
@ kNERtcAudioRecordStart
Definition: nertc_engine_defines.h:5588
@ kNERtcAudioRecordFinish
Definition: nertc_engine_defines.h:5606
@ kNERtcAudioRecordOpenFileFailed
Definition: nertc_engine_defines.h:5579
@ kNERtcAudioRecordError
Definition: nertc_engine_defines.h:5597
NERtcNetworkQualityType
Definition: nertc_engine_defines.h:3127
@ kNERtcNetworkQualityPoor
Definition: nertc_engine_defines.h:3163
@ kNERtcNetworkQualityDown
Definition: nertc_engine_defines.h:3190
@ kNERtcNetworkQualityVeryBad
Definition: nertc_engine_defines.h:3181
@ kNERtcNetworkQualityGood
Definition: nertc_engine_defines.h:3154
@ kNERtcNetworkQualityBad
Definition: nertc_engine_defines.h:3172
@ kNERtcNetworkQualityExcellent
Definition: nertc_engine_defines.h:3145
@ kNERtcNetworkQualityUnknown
Definition: nertc_engine_defines.h:3136
NERtcSubStreamContentPrefer
Definition: nertc_engine_defines.h:3794
@ kNERtcSubStreamContentPreferDetails
Definition: nertc_engine_defines.h:3812
@ kNERtcSubStreamContentPreferMotion
Definition: nertc_engine_defines.h:3803
NERtcLiveStreamStateCode
Definition: nertc_engine_defines.h:891
@ kNERtcLsStatePushStopped
Definition: nertc_engine_defines.h:918
@ kNERtcLsStateImageError
Definition: nertc_engine_defines.h:927
@ kNERtcLsStatePushing
Definition: nertc_engine_defines.h:900
@ kNERtcLsStatePushFail
Definition: nertc_engine_defines.h:909
NERtcLiveStreamLayoutMode
Definition: nertc_engine_defines.h:280
NERtcLiveStreamAudioCodecProfile
Definition: nertc_engine_defines.h:715
@ kNERtcLiveStreamAudioCodecProfileLCAAC
Definition: nertc_engine_defines.h:724
@ kNERtcLiveStreamAudioCodecProfileHEAAC
Definition: nertc_engine_defines.h:733
NERtcAudioMixingState
Definition: nertc_engine_defines.h:4498
@ kNERtcAudioMixingStateFailed
Definition: nertc_engine_defines.h:4516
@ kNERtcAudioMixingStateFinished
Definition: nertc_engine_defines.h:4507
NERtcOSCategory
Definition: nertc_engine_defines.h:938
@ kNERtcOSWebRTC
Definition: nertc_engine_defines.h:974
@ kNERtcOSiOS
Definition: nertc_engine_defines.h:947
@ kNERtcOSAndroid
Definition: nertc_engine_defines.h:956
@ kNERtcOSPC
Definition: nertc_engine_defines.h:965
NERtcVideoDeviceType
Definition: nertc_engine_defines.h:1925
@ kNERtcVideoDeviceCapture
Definition: nertc_engine_defines.h:1943
@ kNERtcVideoDeviceUnknown
Definition: nertc_engine_defines.h:1934
NERtcRecordType
Definition: nertc_engine_defines.h:3972
@ kNERtcRecordTypeMix
Definition: nertc_engine_defines.h:3990
@ kNERtcRecordTypeSingle
Definition: nertc_engine_defines.h:3999
@ kNERtcRecordTypeAll
Definition: nertc_engine_defines.h:3981
NERtcRemoteVideoStreamType
Definition: nertc_engine_defines.h:1601
@ kNERtcRemoteVideoStreamTypeHigh
Definition: nertc_engine_defines.h:1610
@ kNERtcRemoteVideoStreamTypeNone
Definition: nertc_engine_defines.h:1628
@ kNERtcRemoteVideoStreamTypeLow
Definition: nertc_engine_defines.h:1619
NERtcChannelMediaRelayEvent
Definition: nertc_engine_defines.h:4971
@ kNERtcChannelMediaRelayEventOtherStreamSentToDestChannelSuccess
Definition: nertc_engine_defines.h:5025
@ kNERtcChannelMediaRelayEventVideoSentToDestChannelSuccess
Definition: nertc_engine_defines.h:5007
@ kNERtcChannelMediaRelayEventFailure
Definition: nertc_engine_defines.h:5042
@ kNERtcChannelMediaRelayEventConnected
Definition: nertc_engine_defines.h:4998
@ kNERtcChannelMediaRelayEventAudioSentToDestChannelSuccess
Definition: nertc_engine_defines.h:5016
@ kNERtcChannelMediaRelayEventConnecting
Definition: nertc_engine_defines.h:4989
@ kNERtcChannelMediaRelayEventDisconnect
Definition: nertc_engine_defines.h:4980
NERtcVideoFramerateType
Definition: nertc_engine_defines.h:3288
@ kNERtcVideoFramerateFps_30
Definition: nertc_engine_defines.h:3342
@ kNERtcVideoFramerateFps_15
Definition: nertc_engine_defines.h:3324
@ kNERtcVideoFramerateFps_24
Definition: nertc_engine_defines.h:3333
@ kNERtcVideoFramerateFps_60
Definition: nertc_engine_defines.h:3351
@ kNERtcVideoFramerateFps_10
Definition: nertc_engine_defines.h:3315
@ kNERtcVideoFramerateFps_7
Definition: nertc_engine_defines.h:3306
@ kNERtcVideoFramerateFpsDefault
Definition: nertc_engine_defines.h:3297
NERtcVoiceBeautifierType
Definition: nertc_engine_defines.h:1194
@ kNERtcVoiceBeautifierRemote
Definition: nertc_engine_defines.h:1275
@ kNERtcVoiceBeautifierMellow
Definition: nertc_engine_defines.h:1221
@ kNERtcVoiceBeautifierChurch
Definition: nertc_engine_defines.h:1284
@ kNERtcVoiceBeautifierNature
Definition: nertc_engine_defines.h:1257
@ kNERtcVoiceBeautifierLive
Definition: nertc_engine_defines.h:1302
@ kNERtcVoiceBeautifierKTV
Definition: nertc_engine_defines.h:1266
@ kNERtcVoiceBeautifierOff
Definition: nertc_engine_defines.h:1203
@ kNERtcVoiceBeautifierBedroom
Definition: nertc_engine_defines.h:1293
@ kNERtcVoiceBeautifierMuffled
Definition: nertc_engine_defines.h:1212
@ kNERtcVoiceBeautifierRecordingstudio
Definition: nertc_engine_defines.h:1248
@ kNERtcVoiceBeautifierMagnetic
Definition: nertc_engine_defines.h:1239
@ kNERtcVoiceBeautifierClear
Definition: nertc_engine_defines.h:1230
#define kNERtcMaxTaskIDLength
Definition: nertc_engine_defines.h:81
#define kNERtcMaxChannelNameLength
Definition: nertc_engine_defines.h:36
#define kNERtcEncryptByteLength
Definition: nertc_engine_defines.h:27
#define kNERtcMaxBuffLength
Definition: nertc_engine_defines.h:90
#define kNERtcMaxDeviceIDLength
Definition: nertc_engine_defines.h:54
#define kNERtcMaxURILength
Definition: nertc_engine_defines.h:72
#define kNERtcMacSEIBufferLength
Definition: nertc_engine_defines.h:99
#define kNERtcMaxTokenLength
Definition: nertc_engine_defines.h:45
#define kNERtcMaxDeviceNameLength
Definition: nertc_engine_defines.h:63
Definition: nertc_engine_defines.h:4156
NERtcAudioFormat format
Definition: nertc_engine_defines.h:4165
void * data
Definition: nertc_engine_defines.h:4174
Definition: nertc_engine_defines.h:3034
int frozen_rate
Definition: nertc_engine_defines.h:3065
int audio_loss_rate
Definition: nertc_engine_defines.h:3074
int total_frozen_time
Definition: nertc_engine_defines.h:3056
NERtcAudioStreamType stream_type
Definition: nertc_engine_defines.h:3038
unsigned int volume
Definition: nertc_engine_defines.h:3083
int received_bitrate
Definition: nertc_engine_defines.h:3047
Definition: nertc_engine_defines.h:2933
NERtcAudioStreamType stream_type
Definition: nertc_engine_defines.h:2937
unsigned int volume
Definition: nertc_engine_defines.h:2991
int audio_loss_rate
Definition: nertc_engine_defines.h:2973
int sent_bitrate
Definition: nertc_engine_defines.h:2964
unsigned int cap_volume
Definition: nertc_engine_defines.h:2999
int64_t rtt
Definition: nertc_engine_defines.h:2982
int sent_sample_rate
Definition: nertc_engine_defines.h:2955
int num_channels
Definition: nertc_engine_defines.h:2946
Definition: nertc_engine_defines.h:3088
int audio_layers_count
Definition: nertc_engine_defines.h:3115
NERtcAudioLayerRecvStats * audio_layers_list
Definition: nertc_engine_defines.h:3106
uid_t uid
Definition: nertc_engine_defines.h:3097
Definition: nertc_engine_defines.h:3005
NERtcAudioLayerSendStats * audio_layers_list
Definition: nertc_engine_defines.h:3014
int audio_layers_count
Definition: nertc_engine_defines.h:3023
Definition: nertc_engine_defines.h:2292
unsigned int volume
Definition: nertc_engine_defines.h:2310
uid_t uid
Definition: nertc_engine_defines.h:2301
Definition: nertc_engine_defines.h:1453
int captureHeight
Definition: nertc_engine_defines.h:1504
NERtcCameraPreference preference
Definition: nertc_engine_defines.h:1462
int captureWidth
Definition: nertc_engine_defines.h:1483
Definition: nertc_engine_defines.h:5219
int image_count_
Definition: nertc_engine_defines.h:5237
NERtcTimestampWatermarkConfig * timestamp_watermark
Definition: nertc_engine_defines.h:5264
int text_count_
Definition: nertc_engine_defines.h:5255
NERtcTextWatermarkConfig * text_watermarks
Definition: nertc_engine_defines.h:5246
NERtcImageWatermarkConfig * image_watermarks
Definition: nertc_engine_defines.h:5228
Definition: nertc_engine_defines.h:4606
uint32_t send_volume
Definition: nertc_engine_defines.h:4652
bool playback_enabled
Definition: nertc_engine_defines.h:4661
int loop_count
Definition: nertc_engine_defines.h:4632
char path[kNERtcMaxURILength]
Definition: nertc_engine_defines.h:4619
bool send_enabled
Definition: nertc_engine_defines.h:4641
uint32_t playback_volume
Definition: nertc_engine_defines.h:4672
Definition: nertc_engine_defines.h:4528
bool send_enabled
Definition: nertc_engine_defines.h:4563
uint32_t playback_volume
Definition: nertc_engine_defines.h:4594
uint32_t send_volume
Definition: nertc_engine_defines.h:4574
bool playback_enabled
Definition: nertc_engine_defines.h:4583
int loop_count
Definition: nertc_engine_defines.h:4554
char path[kNERtcMaxURILength]
Definition: nertc_engine_defines.h:4541
Definition: nertc_engine_defines.h:1868
bool suspected_unavailable
Definition: nertc_engine_defines.h:1904
int transport_type
Definition: nertc_engine_defines.h:1895
char device_name[kNERtcMaxDeviceNameLength]
Definition: nertc_engine_defines.h:1886
char device_id[kNERtcMaxDeviceIDLength]
Definition: nertc_engine_defines.h:1877
bool system_default_device
Definition: nertc_engine_defines.h:1913
Definition: nertc_engine_defines.h:5683
NERtcEncryptionMode mode
Definition: nertc_engine_defines.h:5692
char key[kNERtcEncryptByteLength]
Definition: nertc_engine_defines.h:5701
Definition: nertc_engine_defines.h:5143
int offset_x
Definition: nertc_engine_defines.h:5161
bool loop
Definition: nertc_engine_defines.h:5206
int offset_y
Definition: nertc_engine_defines.h:5170
int image_width
Definition: nertc_engine_defines.h:5179
int image_height
Definition: nertc_engine_defines.h:5188
char image_paths[10][kNERtcMaxURILength]
Definition: nertc_engine_defines.h:5152
int fps
Definition: nertc_engine_defines.h:5197
Definition: nertc_engine_defines.h:5712
uint32_t expected_downlink_bitratebps
Definition: nertc_engine_defines.h:5763
uint32_t expected_uplink_bitratebps
Definition: nertc_engine_defines.h:5753
bool probe_uplink
Definition: nertc_engine_defines.h:5727
bool probe_downlink
Definition: nertc_engine_defines.h:5740
Definition: nertc_engine_defines.h:5812
uint32_t available_band_width
Definition: nertc_engine_defines.h:5839
uint32_t packet_loss_rate
Definition: nertc_engine_defines.h:5830
uint32_t jitter
Definition: nertc_engine_defines.h:5821
Definition: nertc_engine_defines.h:5850
NERtcLastmileProbeOneWayResult uplink_report
Definition: nertc_engine_defines.h:5877
NERtcLastmileProbeOneWayResult downlink_report
Definition: nertc_engine_defines.h:5886
NERtcLastmileProbeResultState state
Definition: nertc_engine_defines.h:5868
uint32_t rtt
Definition: nertc_engine_defines.h:5859
Definition: nertc_engine_defines.h:744
int channels
Definition: nertc_engine_defines.h:790
NERtcLiveStreamAudioSampleRate sampleRate
Definition: nertc_engine_defines.h:780
bool single_video_passthrough
Definition: nertc_engine_defines.h:757
int audio_bitrate
Definition: nertc_engine_defines.h:770
NERtcLiveStreamAudioCodecProfile audioCodecProfile
Definition: nertc_engine_defines.h:804
Definition: nertc_engine_defines.h:544
int height
Definition: nertc_engine_defines.h:601
int width
Definition: nertc_engine_defines.h:590
char url[kNERtcMaxURILength]
Definition: nertc_engine_defines.h:553
int x
Definition: nertc_engine_defines.h:566
int y
Definition: nertc_engine_defines.h:579
Definition: nertc_engine_defines.h:612
unsigned int background_color
Definition: nertc_engine_defines.h:639
int height
Definition: nertc_engine_defines.h:630
NERtcLiveStreamUserTranscoding * users
Definition: nertc_engine_defines.h:657
int width
Definition: nertc_engine_defines.h:621
unsigned int user_count
Definition: nertc_engine_defines.h:648
NERtcLiveStreamImageInfo * bg_image
Definition: nertc_engine_defines.h:666
Definition: nertc_engine_defines.h:815
NERtcLiveStreamLayout layout
Definition: nertc_engine_defines.h:862
char extraInfo[kNERtcMacSEIBufferLength]
Definition: nertc_engine_defines.h:880
NERtcLiveStreamMode ls_mode
Definition: nertc_engine_defines.h:853
char task_id[kNERtcMaxTaskIDLength]
Definition: nertc_engine_defines.h:824
char stream_url[kNERtcMaxURILength]
Definition: nertc_engine_defines.h:835
NERtcLiveConfig config
Definition: nertc_engine_defines.h:871
bool server_record_enabled
Definition: nertc_engine_defines.h:844
Definition: nertc_engine_defines.h:298
bool server_record_enabled
Definition: nertc_engine_defines.h:325
uid_t main_picture_account_id
Definition: nertc_engine_defines.h:343
NERtcLiveStreamLayoutMode layout_mode
Definition: nertc_engine_defines.h:334
char layout_parameters[kNERtcMaxBuffLength]
Definition: nertc_engine_defines.h:352
char task_id[kNERtcMaxTaskIDLength]
Definition: nertc_engine_defines.h:307
char stream_url[kNERtcMaxURILength]
Definition: nertc_engine_defines.h:316
Definition: nertc_engine_defines.h:423
int height
Definition: nertc_engine_defines.h:509
int y
Definition: nertc_engine_defines.h:482
NERtcLiveStreamVideoScaleMode adaption
Definition: nertc_engine_defines.h:456
int z_order
Definition: nertc_engine_defines.h:533
bool video_push
Definition: nertc_engine_defines.h:447
int x
Definition: nertc_engine_defines.h:469
int width
Definition: nertc_engine_defines.h:496
uid_t uid
Definition: nertc_engine_defines.h:432
bool audio_push
Definition: nertc_engine_defines.h:522
Definition: nertc_engine_defines.h:3202
NERtcNetworkQualityType tx_quality
Definition: nertc_engine_defines.h:3220
uid_t uid
Definition: nertc_engine_defines.h:3211
NERtcNetworkQualityType rx_quality
Definition: nertc_engine_defines.h:3229
Definition: nertc_engine_defines.h:3713
int y
Definition: nertc_engine_defines.h:3731
int width
Definition: nertc_engine_defines.h:3740
int height
Definition: nertc_engine_defines.h:3749
int x
Definition: nertc_engine_defines.h:3722
Definition: nertc_engine_defines.h:3824
NERtcVideoDimensions dimensions
Definition: nertc_engine_defines.h:3842
bool window_focus
Definition: nertc_engine_defines.h:3878
int frame_rate
Definition: nertc_engine_defines.h:3851
NERtcSubStreamContentPrefer prefer
Definition: nertc_engine_defines.h:3905
source_id_t * excluded_window_list
Definition: nertc_engine_defines.h:3887
bool capture_mouse_cursor
Definition: nertc_engine_defines.h:3869
int excluded_window_count
Definition: nertc_engine_defines.h:3896
int bitrate
Definition: nertc_engine_defines.h:3860
NERtcScreenProfileType profile
Definition: nertc_engine_defines.h:3833
Definition: nertc_engine_defines.h:5436
char room_server[kNERtcMaxURILength]
Definition: nertc_engine_defines.h:5463
bool use_ipv6
Definition: nertc_engine_defines.h:5508
char statistics_server[kNERtcMaxURILength]
Definition: nertc_engine_defines.h:5454
char compat_server[kNERtcMaxURILength]
Definition: nertc_engine_defines.h:5472
char nos_token_server[kNERtcMaxURILength]
Definition: nertc_engine_defines.h:5499
char nos_upload_sever[kNERtcMaxURILength]
Definition: nertc_engine_defines.h:5490
char channel_server[kNERtcMaxURILength]
Definition: nertc_engine_defines.h:5445
char nos_lbs_server[kNERtcMaxURILength]
Definition: nertc_engine_defines.h:5481
Definition: nertc_engine_defines.h:2322
int tx_audio_kbitrate
Definition: nertc_engine_defines.h:2448
int tx_video_kbitrate
Definition: nertc_engine_defines.h:2466
int rx_audio_jitter
Definition: nertc_engine_defines.h:2592
int tx_audio_packet_loss_sum
Definition: nertc_engine_defines.h:2520
int rx_video_jitter
Definition: nertc_engine_defines.h:2601
int up_rtt
Definition: nertc_engine_defines.h:2484
int rx_audio_kbitrate
Definition: nertc_engine_defines.h:2457
uint64_t tx_video_bytes
Definition: nertc_engine_defines.h:2421
int tx_audio_jitter
Definition: nertc_engine_defines.h:2538
uint32_t memory_total_usage
Definition: nertc_engine_defines.h:2367
int tx_video_packet_loss_sum
Definition: nertc_engine_defines.h:2529
uint32_t cpu_app_usage
Definition: nertc_engine_defines.h:2331
int down_rtt
Definition: nertc_engine_defines.h:2493
uint64_t tx_audio_bytes
Definition: nertc_engine_defines.h:2412
uint32_t cpu_idle_usage
Definition: nertc_engine_defines.h:2340
uint32_t memory_app_kbytes
Definition: nertc_engine_defines.h:2376
uint32_t cpu_total_usage
Definition: nertc_engine_defines.h:2349
uint64_t rx_bytes
Definition: nertc_engine_defines.h:2403
int tx_video_jitter
Definition: nertc_engine_defines.h:2547
int rx_video_packet_loss_sum
Definition: nertc_engine_defines.h:2583
int rx_audio_packet_loss_rate
Definition: nertc_engine_defines.h:2556
int tx_video_packet_loss_rate
Definition: nertc_engine_defines.h:2511
int total_duration
Definition: nertc_engine_defines.h:2385
uint64_t rx_audio_bytes
Definition: nertc_engine_defines.h:2430
int rx_video_kbitrate
Definition: nertc_engine_defines.h:2475
uint64_t rx_video_bytes
Definition: nertc_engine_defines.h:2439
int tx_audio_packet_loss_rate
Definition: nertc_engine_defines.h:2502
int rx_audio_packet_loss_sum
Definition: nertc_engine_defines.h:2574
uint64_t tx_bytes
Definition: nertc_engine_defines.h:2394
int rx_video_packet_loss_rate
Definition: nertc_engine_defines.h:2565
uint32_t memory_app_usage
Definition: nertc_engine_defines.h:2358
Definition: nertc_engine_defines.h:4723
int wm_height
Definition: nertc_engine_defines.h:4813
int wm_color
Definition: nertc_engine_defines.h:4795
int font_color
Definition: nertc_engine_defines.h:4768
int font_size
Definition: nertc_engine_defines.h:4759
int offset_x
Definition: nertc_engine_defines.h:4777
char content[kNERtcMaxBuffLength]
Definition: nertc_engine_defines.h:4741
char font_path[kNERtcMaxURILength]
Definition: nertc_engine_defines.h:4750
int offset_y
Definition: nertc_engine_defines.h:4786
int wm_width
Definition: nertc_engine_defines.h:4804
Definition: nertc_engine_defines.h:4828
int ts_type
Definition: nertc_engine_defines.h:4913
int wm_color
Definition: nertc_engine_defines.h:4882
int font_color
Definition: nertc_engine_defines.h:4855
int wm_width
Definition: nertc_engine_defines.h:4891
int font_size
Definition: nertc_engine_defines.h:4846
int offset_x
Definition: nertc_engine_defines.h:4864
char font_path[kNERtcMaxURILength]
Definition: nertc_engine_defines.h:4837
int offset_y
Definition: nertc_engine_defines.h:4873
int wm_height
Definition: nertc_engine_defines.h:4900
Definition: nertc_engine_defines.h:3917
void * user_data
Definition: nertc_engine_defines.h:3939
onFrameDataCallback cb
Definition: nertc_engine_defines.h:3928
void * window
Definition: nertc_engine_defines.h:3951
NERtcVideoScalingMode scaling_mode
Definition: nertc_engine_defines.h:3960
Definition: nertc_engine_defines.h:3414
NERtcVideoProfileType max_profile
Definition: nertc_engine_defines.h:3423
uint32_t width
Definition: nertc_engine_defines.h:3440
NERtcDegradationPreference degradation_preference
Definition: nertc_engine_defines.h:3515
uint32_t height
Definition: nertc_engine_defines.h:3457
NERtcVideoOutputOrientationMode orientation_mode
Definition: nertc_engine_defines.h:3533
NERtcVideoMirrorMode mirror_mode
Definition: nertc_engine_defines.h:3524
NERtcVideoFramerateType min_framerate
Definition: nertc_engine_defines.h:3488
uint32_t bitrate
Definition: nertc_engine_defines.h:3497
uint32_t min_bitrate
Definition: nertc_engine_defines.h:3506
NERtcVideoFramerateType framerate
Definition: nertc_engine_defines.h:3479
NERtcVideoCropMode crop_mode_
Definition: nertc_engine_defines.h:3466
Definition: nertc_engine_defines.h:3761
int width
Definition: nertc_engine_defines.h:3770
int height
Definition: nertc_engine_defines.h:3779
Definition: nertc_engine_defines.h:4374
uint64_t timestamp
Definition: nertc_engine_defines.h:4392
void * buffer
Definition: nertc_engine_defines.h:4428
NERtcVideoRotation rotation
Definition: nertc_engine_defines.h:4419
uint32_t height
Definition: nertc_engine_defines.h:4410
NERtcVideoType format
Definition: nertc_engine_defines.h:4383
uint32_t width
Definition: nertc_engine_defines.h:4401
Definition: nertc_engine_defines.h:2769
int layer_type
Definition: nertc_engine_defines.h:2778
char codec_name[kNERtcMaxDeviceNameLength]
Definition: nertc_engine_defines.h:2868
int packet_loss_rate
Definition: nertc_engine_defines.h:2841
int render_frame_rate
Definition: nertc_engine_defines.h:2832
int width
Definition: nertc_engine_defines.h:2787
int decoder_frame_rate
Definition: nertc_engine_defines.h:2823
int received_frame_rate
Definition: nertc_engine_defines.h:2814
int total_frozen_time
Definition: nertc_engine_defines.h:2850
int height
Definition: nertc_engine_defines.h:2796
int frozen_rate
Definition: nertc_engine_defines.h:2859
int received_bitrate
Definition: nertc_engine_defines.h:2805
Definition: nertc_engine_defines.h:2613
char codec_name[kNERtcMaxDeviceNameLength]
Definition: nertc_engine_defines.h:2728
int sent_bitrate
Definition: nertc_engine_defines.h:2701
int layer_type
Definition: nertc_engine_defines.h:2622
int target_bitrate
Definition: nertc_engine_defines.h:2710
int capture_height
Definition: nertc_engine_defines.h:2656
int encoder_frame_rate
Definition: nertc_engine_defines.h:2683
int sent_frame_rate
Definition: nertc_engine_defines.h:2692
int capture_width
Definition: nertc_engine_defines.h:2648
int encoder_bitrate
Definition: nertc_engine_defines.h:2719
int capture_frame_rate
Definition: nertc_engine_defines.h:2665
int height
Definition: nertc_engine_defines.h:2640
int render_frame_rate
Definition: nertc_engine_defines.h:2674
int width
Definition: nertc_engine_defines.h:2631
Definition: nertc_engine_defines.h:2880
NERtcVideoLayerRecvStats * video_layers_list
Definition: nertc_engine_defines.h:2898
int video_layers_count
Definition: nertc_engine_defines.h:2907
uid_t uid
Definition: nertc_engine_defines.h:2889
Definition: nertc_engine_defines.h:2739
int video_layers_count
Definition: nertc_engine_defines.h:2757
NERtcVideoLayerSendStats * video_layers_list
Definition: nertc_engine_defines.h:2748