![]() |
AliyunPlayer v7.10.0
Aliyun Player API Reference Manual for iOS Platforms
|
Media information class. More...
#include "AVPMediaInfo.h"
Properties | |
| NSString * | coverURL |
| Media cover URL. | |
| int64_t | duration |
| Media duration. | |
| NSString * | mediaType |
| Media type. | |
| NSString * | status |
| NSArray< AVPThumbnailInfo * > * | thumbnails |
| Thumbnails. | |
| NSString * | title |
| Media title. | |
| int64_t | totalBitrate |
| Media bitrate. | |
| NSArray< AVPTrackInfo * > * | tracks |
| Media tracks. | |
| NSString * | transcodeMode |
| Media transcode mode. | |
Media information class.
Contains complete information of media (video, audio, or combined), including title, duration, track list, etc. Instances of this class are obtained via AliPlayer::getMediaInfo.
|
readwritenonatomiccopy |
Media cover URL.
URL address of the cover or poster image of the media.
|
readwritenonatomicassign |
Media duration.
The total duration of the media in milliseconds.
|
readwritenonatomiccopy |
Media type.
|
readwritenonatomiccopy |
|
readwritenonatomicstrong |
Thumbnails.
List of all thumbnail information associated with the media. Used for displaying video preview in UI.
|
readwritenonatomiccopy |
Media title.
The name or title of the media.
|
readwritenonatomicassign |
Media bitrate.
The overall bitrate of the media in bps. For VOD and multi-bitrate streams, this value may be 0; use AVPTrackInfo::trackBitrate to get bitrate of specific track.
|
readwritenonatomicstrong |
Media tracks.
List of all track information contained in the media (video, audio, subtitle, etc.).
|
readwritenonatomiccopy |
Media transcode mode.
Indicates the transcoding strategy of the media:
"NoTranscode": Do not transcode after upload; content can be played immediately after upload
Default is "FastTranscode".