AliyunPlayer v6.19.0
Aliyun Player API Reference Manual for iOS Platforms
Loading...
Searching...
No Matches
AVPMediaInfo Class Reference

#include "AVPMediaInfo.h"

Inheritance diagram for AVPMediaInfo:

Properties

NSString * coverURL
 media cover url
 
int64_t duration
 media duration 单位: 毫秒
 
NSString * mediaType
 media type video audio video|audio
 
NSString * status
 media status
 
NSArray< AVPThumbnailInfo * > * thumbnails
 thumbnails in media info
 
NSString * title
 media title
 
int64_t totalBitrate
 文件码率(vod 和多码率时值为0,应该使用AVPTrackInfo中的trackBitrate)
 
NSArray< AVPTrackInfo * > * tracks
 tracks in media info
 
NSString * transcodeMode
 media transcodeMode 转码类型,取值:FastTranscode(上传完成即转码,且转码完成才能播放),NoTranscode(上传完成不转码,且立即能播放),默认取值FastTranscode
 

Property Documentation

◆ coverURL

- (NSString*) coverURL
readwritenonatomiccopy

media cover url

◆ duration

- (int64_t) duration
readwritenonatomicassign

media duration 单位: 毫秒

◆ mediaType

- (NSString*) mediaType
readwritenonatomiccopy

media type video audio video|audio

◆ status

- (NSString*) status
readwritenonatomiccopy

media status

◆ thumbnails

- (NSArray<AVPThumbnailInfo*>*) thumbnails
readwritenonatomicstrong

thumbnails in media info

◆ title

- (NSString*) title
readwritenonatomiccopy

media title

◆ totalBitrate

- (int64_t) totalBitrate
readwritenonatomicassign

文件码率(vod 和多码率时值为0,应该使用AVPTrackInfo中的trackBitrate)

◆ tracks

- (NSArray<AVPTrackInfo*>*) tracks
readwritenonatomicstrong

tracks in media info

◆ transcodeMode

- (NSString*) transcodeMode
readwritenonatomiccopy

media transcodeMode 转码类型,取值:FastTranscode(上传完成即转码,且转码完成才能播放),NoTranscode(上传完成不转码,且立即能播放),默认取值FastTranscode


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