NERecord Linux SDK 5.5.3103
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs | Enumerations
nerecord_engine_defines.h File Reference

NERecord SDK 的一些定义 More...

#include "nerecord_base_types.h"
#include <string>
#include <cstring>
Include dependency graph for nerecord_engine_defines.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nerecord::NERtcAudioVolumeInfo
 
struct  nerecord::NERtcAudioFormat
 
struct  nerecord::NERtcAudioFrame
 
struct  nerecord::NERtcVideoFrame
 
struct  nerecord::NERtcBackground
 
struct  nerecord::NERtcRegion
 
struct  nerecord::NERtcLiteraWatermarkConfig
 
struct  nerecord::NERtcTimestampWatermarkConfig
 
struct  nerecord::NERtcImageWatermarkConfig
 
union  nerecord::NERtcWatermarkConfigUnion
 
struct  nerecord::WatermarkConfig
 
struct  nerecord::NERtcVideoRecordResolution
 
struct  nerecord::VideoLayout
 
struct  nerecord::NERtcStats
 
struct  nerecord::NERtcVideoLayerSendStats
 
struct  nerecord::NERtcVideoSendStats
 
struct  nerecord::NERtcVideoLayerRecvStats
 
struct  nerecord::NERtcVideoRecvStats
 
struct  nerecord::NERtcAudioLayerSendStats
 
struct  nerecord::NERtcAudioSendStats
 
struct  nerecord::NERtcAudioLayerRecvStats
 
struct  nerecord::NERtcAudioRecvStats
 
struct  nerecord::NERtcRecordingEngineProperties
 
struct  nerecord::NERtcServerAddresses
 
struct  nerecord::NERtcAgentAddresses
 
struct  nerecord::NERecordMediaPacket
 
class  nerecord::INERecordPacketObserver
 
struct  nerecord::NERecordEncryptionConfig
 

Namespaces

namespace  nerecord
 namespace nerecord
 

Macros

#define kNERtcMaxPlaneCount   4
 
#define kNERtcMaxDeviceIDLength   256
 
#define kNERtcMaxDeviceNameLength   256
 
#define kNERtcMaxURILength   256
 
#define kNERtcMaxTaskIDLength   64
 
#define kNERtcMaxBuffLength   1024
 
#define NULL   nullptr
 
#define kNERecordEncryptByteLength   128
 
#define kNERecordCustomInfoLength   128
 
#define kNERtcKeyAutoSubscribeAudio   "auto_subscribe_audio"
 
#define kNERtcKeyVideoSubscribeAudio   "auto_subscribe_vedio"
 

Typedefs

typedef uint64_t nerecord::uid_t
 
typedef uint64_t nerecord::channel_id_t
 
typedef VideoLayout nerecord::VideoMixingLayout
 

Enumerations

enum  nerecord::NERtcSessionLeaveReason {
  nerecord::kNERtcSessionLeaveNormal = 0 , nerecord::kNERtcSessionLeaveForFailOver = 1 , nerecord::kNERtcSessionLeaveUpdate = 2 , nerecord::kNERtcSessionLeaveForKick = 3 ,
  nerecord::kNERtcSessionLeaveTimeOut = 4
}
 
enum  nerecord::NERtcConnectionStateType {
  nerecord::kNERtcConnectionStateDisconnected = 1 , nerecord::kNERtcConnectionStateConnecting = 2 , nerecord::kNERtcConnectionStateConnected = 3 , nerecord::kNERtcConnectionStateReconnecting = 4 ,
  nerecord::kNERtcConnectionStateFailed = 5
}
 
enum  nerecord::NERtcVideoProfileType {
  nerecord::kNERtcVideoProfileLowest = 0 , nerecord::kNERtcVideoProfileLow = 1 , nerecord::kNERtcVideoProfileStandard = 2 , nerecord::kNERtcVideoProfileHD720P = 3 ,
  nerecord::kNERtcVideoProfileHD1080P = 4 , nerecord::kNERtcVideoProfileNone = 5 , nerecord::kNERtcVideoProfileMAX = kNERtcVideoProfileHD1080P
}
 
enum  nerecord::NERtcRemoteVideoStreamType { nerecord::kNERtcRemoteVideoStreamTypeHigh = 0 , nerecord::kNERtcRemoteVideoStreamTypeLow = 1 , nerecord::kNERtcRemoteVideoStreamTypeNone = 2 }
 
enum  nerecord::NERtcVideoStreamType { nerecord::kNERTCVideoStreamMain = 0 , nerecord::kNERTCVideoStreamSub = 1 }
 
enum  nerecord::NERtcAudioType { nerecord::kNERtcAudioTypePCM16 = 0 }
 
enum  nerecord::NERtcAudioFormatType { nerecord::kNERtcAudioFormatDefault = 0 , nerecord::kNERtcAudioFormatAAC = kNERtcAudioFormatDefault , nerecord::kNERtcAudioFormatPCM }
 
enum  nerecord::NERtcVideoFormatType { nerecord::kNERtcVideoFormatDefault = 0 , nerecord::kNERtcVideoFormatH264 = kNERtcVideoFormatDefault , nerecord::kNERtcVideoFormatYUV }
 
enum  nerecord::NERtcVideoType {
  nerecord::kNERtcVideoTypeI420 = 0 , nerecord::kNERtcVideoTypeNV12 = 1 , nerecord::kNERtcVideoTypeNV21 = 2 , nerecord::kNERtcVideoTypeBGRA = 3 ,
  nerecord::kNERtcVideoTypeCVPixelBuffer = 4
}
 
enum  nerecord::NERtcVideoRotation { nerecord::kNERtcVideoRotation_0 = 0 , nerecord::kNERtcVideoRotation_90 = 90 , nerecord::kNERtcVideoRotation_180 = 180 , nerecord::kNERtcVideoRotation_270 = 270 }
 
enum  nerecord::NERtcAudioProfileType { nerecord::kNERtcAudioProfileDefault , nerecord::kNERtcAudioProfileHight , nerecord::kNERtcAudioProfileStero }
 
enum  nerecord::NERtcRenderMode { nerecord::kNERtcRenderModeHidden , nerecord::kNERtcRenderModeFit }
 
enum  nerecord::NERtcWatermarkType { nerecord::kNERtcWatermarkTypeLitera , nerecord::kNERtcWatermarkTypeTimestamp , nerecord::kNERtcWatermarkTypeImage }
 
enum  nerecord::NERtcLayoutType { nerecord::kNERtcLayoutGrid , nerecord::kNERtcLayoutCustom }
 
enum  nerecord::NERtcLogLevel {
  nerecord::kNERtcLogLevelFatal = 0 , nerecord::kNERtcLogLevelError = 1 , nerecord::kNERtcLogLevelWarning = 2 , nerecord::kNERtcLogLevelInfo = 3 ,
  nerecord::kNERtcLogLevelDetailInfo = 4 , nerecord::kNERtcLogLevelVerbos = 5 , nerecord::kNERtcLogLevelDebug = 6 , nerecord::kNERtcLogLevelOff = 7
}
 
enum  nerecord::NERtcAudioStreamType { nerecord::kNERtcAudioStreamTypeMain = 0 , nerecord::kNERtcAudioStreamTypeSub = 1 }
 
enum  nerecord::NERtcRecordFileDirMode { nerecord::kNERtcRecordFileDirModeDefault , nerecord::kNERtcRecordFileDirModeCustom }
 
enum  nerecord::NERecordEncryptionMode { nerecord::kNERecordGMCryptoSM4ECB = 0 , nerecord::NERecordEncryptionModeCustom }
 

Detailed Description

NERecord SDK 的一些定义

Author
Harrison
Date
2018/11/23

Macro Definition Documentation

◆ kNERecordCustomInfoLength

#define kNERecordCustomInfoLength   128

◆ kNERecordEncryptByteLength

#define kNERecordEncryptByteLength   128

◆ kNERtcKeyAutoSubscribeAudio

#define kNERtcKeyAutoSubscribeAudio   "auto_subscribe_audio"

通过 JSON 配置 SDK 提供技术预览或特别定制功能。以标准化方式公开 JSON 选项。请参考 API setParameters bool value,其他用户打开音频时,自动订阅。默认值 true

◆ kNERtcKeyVideoSubscribeAudio

#define kNERtcKeyVideoSubscribeAudio   "auto_subscribe_vedio"

bool value,其他用户打开视频时,自动订阅。默认值 true

◆ kNERtcMaxBuffLength

#define kNERtcMaxBuffLength   1024

字符串缓存区最大长度。

◆ kNERtcMaxDeviceIDLength

#define kNERtcMaxDeviceIDLength   256

设备 ID 最大长度。

◆ kNERtcMaxDeviceNameLength

#define kNERtcMaxDeviceNameLength   256

设备名最大长度。

◆ kNERtcMaxPlaneCount

#define kNERtcMaxPlaneCount   4

Video max plane count。

◆ kNERtcMaxTaskIDLength

#define kNERtcMaxTaskIDLength   64

任务 ID 最大长度。

◆ kNERtcMaxURILength

#define kNERtcMaxURILength   256

URI 最大长度。