NERecord SDK 的一些定义
More...
#include "nerecord_base_types.h"
#include <string>
#include <cstring>
Go to the source code of this file.
|
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
} |
|
NERecord SDK 的一些定义
- Copyright
- (c) 2015-2019, NetEase Inc. All rights reserved
- Author
- Harrison
- Date
- 2018/11/23
◆ 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 |
◆ kNERtcMaxDeviceNameLength
#define kNERtcMaxDeviceNameLength 256 |
◆ kNERtcMaxPlaneCount
#define kNERtcMaxPlaneCount 4 |
◆ kNERtcMaxTaskIDLength
#define kNERtcMaxTaskIDLength 64 |
◆ kNERtcMaxURILength
#define kNERtcMaxURILength 256 |