AliyunRecorderVideoConfig

@interface AliyunRecorderVideoConfig : NSObject

视频配置参数 API_AVAILABLE(3.22.0)

  • 编码模式,默认为硬编码 API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic) AliyunRecorderEncodeMode encodeMode;
  • 旋转角度 API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic) int rotate;
  • 分辨率;默认为 720x1280 API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic) CGSize resolution;
  • 裁剪模式;默认为AliyunScaleModeFit API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic) AliyunScaleMode scaleMode;
  • 码率 API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic) int bitrate;
  • 视频质量;默认为 AliyunVideoQualityHight API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic) AliyunVideoQuality videoQuality;
  • gop

    关键帧间隔 API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic) int gop;
  • fps

    帧率 API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic) int fps;
  • 参数是否有效 API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL isValid;