AliyunClipManager

@interface AliyunClipManager : NSObject

片段管理器

  • 视频最大时长

    默认8

    Declaration

    Objective-C

    @property (nonatomic) CGFloat maxDuration;
  • 视频最小时长

    默认0.5

    Declaration

    Objective-C

    @property (nonatomic) CGFloat minDuration;
  • 视频总时长

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGFloat duration;
  • 视频段数

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger partCount;
  • 分段视频存储路径(物理路径)

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSArray *videoAbsolutePaths;
  • 第一段视频旋转角度

    Declaration

    Objective-C

    @property (nonatomic, readonly) int firstClipVideoRotation;
  • 退出时删除所有片段,默认不删除

    Declaration

    Objective-C

    @property (nonatomic) BOOL deleteVideoClipsOnExit;
  • 删除所有视频片段

    Declaration

    Objective-C

    - (void)deleteAllPart;
  • 删除最后一个视频片段

    Declaration

    Objective-C

    - (void)deletePart;
  • 删除某一个视频段

    Declaration

    Objective-C

    - (void)deletePart:(NSInteger)index;

    Parameters

    index

    视频段序列数