JDLConfig Class Reference

Inherits from NSObject
Declared in JDLConfig.h

Overview

@class JDLConfig

本类包含了所有推流相关的初始化配置参数

+ defaultConfig

初始化默认配置方法

+ (instancetype)defaultConfig

Declared In

JDLConfig.h

  captureSourceType

采集音视频的来源

@property (assign, nonatomic) JDLCaptureSourceType captureSourceType

Discussion

see JDLCaptureSourceType

Declared In

JDLConfig.h

  captureResolution

采集分辨率

@property (assign, nonatomic) JDLPushResolution captureResolution

Discussion

see JDLPushResolution

Declared In

JDLConfig.h

  pushResolution

推流分辨率

@property (assign, nonatomic) JDLPushResolution pushResolution

Discussion

see JDLPushResolution

Declared In

JDLConfig.h

  videoLiveScene

视频直播场景

@property (assign, nonatomic) JDLVideoLiveScene videoLiveScene

Discussion

see JDLVideoLiveScene

Declared In

JDLConfig.h

  videoPerformanceMode

性能模式

@property (assign, nonatomic) JDLVideoPerformanceMode videoPerformanceMode

Discussion

see JDLVideoPerformanceMode

Declared In

JDLConfig.h

  fps

帧率

@property (assign, nonatomic) int fps

Declared In

JDLConfig.h

  fpsMax

最大帧率

@property (assign, nonatomic) int fpsMax

Declared In

JDLConfig.h

  fpsMin

最小帧率

@property (assign, nonatomic) int fpsMin

Declared In

JDLConfig.h

  videoBitrate

码率, 单位kbps

@property (assign, nonatomic) int videoBitrate

Declared In

JDLConfig.h

  videoBitrateMax

最大码率, 单位kbps

@property (assign, nonatomic) int videoBitrateMax

Declared In

JDLConfig.h

  videoBitrateMin

最小码率, 单位kbps

@property (assign, nonatomic) int videoBitrateMin

Declared In

JDLConfig.h

  deviceOrientationMode

视频旋转方向

@property (assign, nonatomic) JDLDeviceOrientationMode deviceOrientationMode

Declared In

JDLConfig.h

  maxReconnectCount

最大重连次数

@property (assign, nonatomic) unsigned int maxReconnectCount

Declared In

JDLConfig.h

  reconnectInterval

重连时间间隔, 单位秒

@property (assign, nonatomic) double reconnectInterval

Declared In

JDLConfig.h

  cameraType

摄像头类型

@property (assign, nonatomic) JDLPushCameraType cameraType

Discussion

see JDLPushCameraType

Declared In

JDLConfig.h

  videoEncoderMode

视频编码模式

@property (assign, nonatomic) JDLPushVideoEncoderMode videoEncoderMode

Discussion

see JDLPushVideoEncoderMode

Declared In

JDLConfig.h

  audioEncoderMode

音频编码模式

@property (assign, nonatomic) JDLPushAudioEncoderMode audioEncoderMode

Discussion

see JDLPushAudioEncoderMode

Declared In

JDLConfig.h

  audioBitrate

音频码率

@property (assign, nonatomic) int audioBitrate

Declared In

JDLConfig.h

  audioSampleRate

音频采样率

@property (assign, nonatomic) double audioSampleRate

Declared In

JDLConfig.h

  audioChannel

单通道, 双通道

@property (assign, nonatomic) JDLPushAudioChannel audioChannel

Discussion

see JDLPushAudioChannel

Declared In

JDLConfig.h

  keyIntervalTime

关键帧间隔

@property (assign, nonatomic) int keyIntervalTime

Declared In

JDLConfig.h

  previewMirror

预览是否镜像, 默认NO

@property (assign, nonatomic) BOOL previewMirror

Declared In

JDLConfig.h

  pushMirror

推流是否镜像, 默认NO

@property (assign, nonatomic) BOOL pushMirror

Declared In

JDLConfig.h

  audioOnly

只有音频, 默认NO

@property (assign, nonatomic) BOOL audioOnly

Declared In

JDLConfig.h

  isBackgroundPush

后台推流开关,默认YES

@property (assign, nonatomic) BOOL isBackgroundPush

Declared In

JDLConfig.h

  externalVideoGetType

外部获取SDK中的视频帧数据模式

@property (assign, nonatomic) JDLExternalVideoGetType externalVideoGetType

Discussion

see JDLExternalVideoGetType

Declared In

JDLConfig.h

  externalAudioGetType

外部获取SDK中的音频帧数据模式

@property (assign, nonatomic) JDLExternalAudioGetType externalAudioGetType

Discussion

see JDLExternalAudioGetType

Declared In

JDLConfig.h