AliyunPlayerRecordSource

Deprecated

please use AliyunFileRecordSource


@interface AliyunPlayerRecordSource
    : NSObject <AliyunRecordDataSource, AliyunRecordSourceFPS>

视频播放器源 API_AVAILABLE(3.22.0)

  • 内容适配策略 API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic, copy) AVLayerVideoGravity gravity;
  • 视频的分辨率 API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGSize resolution;
  • 视频时长(秒) API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSTimeInterval duration;
  • 采集速率 API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic) CGFloat rate;
  • 目标视频 API_AVAILABLE(3.23.0)

    Declaration

    Objective-C

    @property (nonatomic, readonly) AVAsset *targetAsset;
  • API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    - (instancetype)initWithAsset:(AVAsset *)asset fps:(int)fps;

    Parameters

    asset

    视频资源

    fps

    采集频率