KSYMediaInfo Class Reference

Inherits from NSObject
Declared in KSYMediaInfo.h

Overview

媒体信息

  type

封装格式,具体类型为MEDIAINFO_MUX_TYPE

@property (nonatomic) MEDIAINFO_MUX_TYPE type

Declared In

KSYMediaInfo.h

  bitrate

码率

@property (nonatomic, assign) int64_t bitrate

Declared In

KSYMediaInfo.h

  duration

视频总时长,单位是秒

@property (nonatomic, assign) NSTimeInterval duration

Declared In

KSYMediaInfo.h

  videos

所有视频流信息,具体对象类型为KSYVideoInfo

@property (nonatomic) NSMutableArray *videos

Declared In

KSYMediaInfo.h

  audios

所有音频流信息,具体对象类型为KSYAudioInfo

@property (nonatomic) NSMutableArray *audios

Declared In

KSYMediaInfo.h