LSLiveStreamingParaCtxConfiguration Class Reference

Inherits from NSObject
Declared in LSLiveStreamingParaCtxConfiguration.h

  eHaraWareEncType

是否开启硬件编码类型,默认开启

@property (nonatomic, assign) LSHardWareEncEnable eHaraWareEncType

Discussion

是否开启硬件编码类型,默认开启

Declared In

LSLiveStreamingParaCtxConfiguration.h

  eOutStreamType

推流类型:音视频,视频,音频,默认为音视频

@property (nonatomic, assign) LSOutputStreamType eOutStreamType

Discussion

推流类型:音视频,视频,音频,默认为音视频

Declared In

LSLiveStreamingParaCtxConfiguration.h

  eOutFormatType

推流协议:RTMP,FLV.默认为RTMP

@property (nonatomic, assign) LSOutputFormatType eOutFormatType

Discussion

推流协议:RTMP,FLV.默认为RTMP

Declared In

LSLiveStreamingParaCtxConfiguration.h

  sLSVideoParaCtx

推流视频相关参数.

@property (nonatomic, strong) LSVideoParaCtxConfiguration *sLSVideoParaCtx

Discussion

推流视频相关参数.

Declared In

LSLiveStreamingParaCtxConfiguration.h

  sLSAudioParaCtx

推流音频相关参数.

@property (nonatomic, strong) LSAudioParaCtxConfiguration *sLSAudioParaCtx

Discussion

推流音频相关参数.

Declared In

LSLiveStreamingParaCtxConfiguration.h

  uploadLog

是否上传sdk日志,默认开启

@property (nonatomic, assign) BOOL uploadLog

Discussion

是否上传sdk日志,默认开启

Declared In

LSLiveStreamingParaCtxConfiguration.h

  syncTimestamp

同步时间戳透传开关,默认关闭,推流类型必须包含视频,同时需要网易云播放器支持

@property (nonatomic, assign) BOOL syncTimestamp

Discussion

同步时间戳透传开关,默认关闭,推流类型必须包含视频,同时需要网易云播放器支持

Declared In

LSLiveStreamingParaCtxConfiguration.h

  syncTimestampBaseline

同步时间戳基准:true为从0开始的基准,false为相对机器开机时间基准,默认为true

@property (nonatomic, assign) BOOL syncTimestampBaseline

Discussion

同步时间戳基准:true为从0开始的基准,false为相对机器开机时间基准,默认为true

Declared In

LSLiveStreamingParaCtxConfiguration.h

  streamTimestampPassthrough

网易云透传时间戳,但完全透传功能需要联系网易云开通

@property (nonatomic, assign) BOOL streamTimestampPassthrough

Discussion

网易云透传时间戳,但完全透传功能需要联系网易云开通

Declared In

LSLiveStreamingParaCtxConfiguration.h

  privateConfig

私有化配置开关,默认关闭

@property (nonatomic, assign) BOOL privateConfig

Discussion

私有化配置开关,默认关闭

Declared In

LSLiveStreamingParaCtxConfiguration.h

+ defaultLiveStreamingConfiguration

创建一个直播默认参数配置

+ (instancetype)defaultLiveStreamingConfiguration

Return Value

直播默认参数配置

Discussion

创建一个直播默认参数配置

Declared In

LSLiveStreamingParaCtxConfiguration.h