LSVideoParaCtxConfiguration Class Reference
Inherits from | NSObject |
---|---|
Declared in | LSVideoParaCtxConfiguration.h |
fps
视频的帧率.(0~30],默认为20
@property (nonatomic, assign) NSInteger fps
Discussion
视频的帧率.(0~30],默认为20
Declared In
LSVideoParaCtxConfiguration.h
bitrate
码率,默认为500000
@property (nonatomic, assign) NSInteger bitrate
Discussion
码率,默认为500000
Declared In
LSVideoParaCtxConfiguration.h
videoStreamingQuality
视频分辨率,默认高清
@property (nonatomic, assign) LSVideoStreamingQuality videoStreamingQuality
Discussion
视频分辨率,默认高清
Declared In
LSVideoParaCtxConfiguration.h
cameraPosition
视频采集前后摄像头,默认前置
@property (nonatomic, assign) LSCameraPosition cameraPosition
Discussion
视频采集前后摄像头,默认前置
Declared In
LSVideoParaCtxConfiguration.h
interfaceOrientation
视频采集方向,默认竖屏
@property (nonatomic, assign) LSCameraOrientation interfaceOrientation
Discussion
视频采集方向,默认竖屏
Declared In
LSVideoParaCtxConfiguration.h
videoRenderMode
视频显示端比例,默认16:9
@property (nonatomic, assign) LSVideoRenderScaleMode videoRenderMode
Discussion
视频显示端比例,默认16:9
Declared In
LSVideoParaCtxConfiguration.h
isCameraFlashEnabled
是否开启摄像头flash功能,默认开启
@property (nonatomic, assign) BOOL isCameraFlashEnabled
Discussion
是否开启摄像头flash功能,默认开启
Declared In
LSVideoParaCtxConfiguration.h
isCameraZoomPinchGestureOn
是否需要打开摄像头收视响应变焦功能,默认开启.
@property (nonatomic, assign) BOOL isCameraZoomPinchGestureOn
Discussion
是否需要打开摄像头收视响应变焦功能,默认开启.
Declared In
LSVideoParaCtxConfiguration.h
isFrontCameraMirroredPreView
是否镜像前置摄像头预览.(针对本地预览),默认开启
@property (nonatomic, assign) BOOL isFrontCameraMirroredPreView
Discussion
是否镜像前置摄像头预览.(针对本地预览),默认开启
Declared In
LSVideoParaCtxConfiguration.h
isFrontCameraMirroredCode
是否镜像前置摄像头编码.(针对拉流端),默认不开启
@property (nonatomic, assign) BOOL isFrontCameraMirroredCode
Discussion
是否镜像前置摄像头编码.(针对拉流端),默认不开启
Declared In
LSVideoParaCtxConfiguration.h
isVideoFilterOn
是否打开滤镜支持功能.默认开启
@property (nonatomic, assign) BOOL isVideoFilterOn
Discussion
是否打开滤镜支持功能.默认开启
Declared In
LSVideoParaCtxConfiguration.h
filterType
滤镜类型,默认自然
@property (nonatomic, assign) LSGpuImageFilterType filterType
Discussion
滤镜类型,默认自然
Declared In
LSVideoParaCtxConfiguration.h
isVideoWaterMarkEnabled
是否打开水印支持.默认开启
@property (nonatomic, assign) BOOL isVideoWaterMarkEnabled
Discussion
是否打开水印支持.默认开启
Declared In
LSVideoParaCtxConfiguration.h
isQosOn
是否打开qos功能.默认开启
@property (nonatomic, assign) BOOL isQosOn
Discussion
是否打开qos功能.默认开启
Declared In
LSVideoParaCtxConfiguration.h
sceneType
Qos场景区分,只在Qos开启之后才有用
@property (nonatomic, assign) LSVideoEncodeSceneType sceneType
Discussion
Qos场景区分,只在Qos开启之后才有用
Declared In
LSVideoParaCtxConfiguration.h
isOutputRGB
是否输出RGB数据.默认不开启
@property (nonatomic, assign) BOOL isOutputRGB
Discussion
是否输出RGB数据.默认不开启
Declared In
LSVideoParaCtxConfiguration.h
isUseExternalCapture
是否使用外部视频采集,默认不开启
@property (nonatomic, assign) BOOL isUseExternalCapture
Discussion
是否使用外部视频采集,默认不开启
Declared In
LSVideoParaCtxConfiguration.h
isUseHwBFrame
是否使用硬件编码B帧,只在开启硬件编码的情况下才使用,默认开启
@property (nonatomic, assign) BOOL isUseHwBFrame
Discussion
是否使用硬件编码B帧,只在开启硬件编码的情况下才使用,默认开启
Declared In
LSVideoParaCtxConfiguration.h
+ defaultVideoConfiguration:
创建一个视频默认参数配置
+ (instancetype)defaultVideoConfiguration:(LSVideoParamQuality)videoParamQuality
Return Value
视频默认参数配置
Discussion
创建一个视频默认参数配置
Declared In
LSVideoParaCtxConfiguration.h