IMP(低代码音视频工厂)SDK v1.5.0
IMP SDK API Reference Manual for iOS Platforms
AIRBLivePusherMediaStreamingOptions Class Reference
Inheritance diagram for AIRBLivePusherMediaStreamingOptions:

Properties

BOOL onlyVideo
 
int16_t videoFrameRate
 
int32_t videoBitrate
 
int16_t maxVideoKeyFrameInterval
 
AIRBLivePusherCameraType cameraDefaultType
 
BOOL onlyAudio
 
id alivcLivePushConfig
 

Property Documentation

◆ alivcLivePushConfig

- (id) alivcLivePushConfig
readwritenonatomicstrong

如果以上配置不能满足需求,可以设置当前config,其类型为已依赖库AlivcLivePusher.framework中的AlivcLivePushConfig类; 注意,当alivcLivePushConfig配置后,上面的所有配置将失效,以alivcLivePushConfig的内容为准;

◆ cameraDefaultType

- (AIRBLivePusherCameraType) cameraDefaultType
readwritenonatomicassign

摄像头的默认类型,默认为前置摄像头

◆ maxVideoKeyFrameInterval

- (int16_t) maxVideoKeyFrameInterval
readwritenonatomicassign

视频帧最大关键帧间隔,单位秒,默认4秒,不建议外部调节

◆ onlyAudio

- (BOOL) onlyAudio
readwritenonatomicassign

是否进行仅音频推流(不录制视频)

◆ onlyVideo

- (BOOL) onlyVideo
readwritenonatomicassign

是否进行仅视频推流(不录制音频),默认NO

◆ videoBitrate

- (int32_t) videoBitrate
readwritenonatomicassign

视频的码率,单位 kbps,范围[400, 5000),默认 1500,不建议外部调节

◆ videoFrameRate

- (int16_t) videoFrameRate
readwritenonatomicassign

视频的帧率,默认20,不建议外部调节


The documentation for this class was generated from the following file: