![]() |
AliyunPlayer v7.10.0
Aliyun Player API Reference Manual for iOS Platforms
|
Base class for playback sources. More...
#include "AVPSource.h"
Properties | |
| NSString * | coverURL |
| The URL of the album cover. | |
| NSString * | definitions |
| List of resolution types supported by VOD server. | |
| BOOL | forceQuality |
| Whether to force the player to use the specified resolution. | |
| NSString * | quality |
| The preferred definition for playback. | |
| NSString * | title |
| The title of the video. | |
Base class for playback sources.
Base class for all playback source classes. Defines common properties and configuration items for playback sources, including cover, title, definition, etc. Specific playback source implementations (such as URL, VID, etc.) inherit this class and extend corresponding functionality.
Common property explanation:
coverURL: Media cover or poster image for UI display title: Media title information quality: Expected playback definition; supported definitions depend on the media itself forceQuality: Whether to force the specified definition. Playback fails if forced but unavailable definitions: List of available definitions for filtering streams returned by server
|
readwritenonatomiccopy |
The URL of the album cover.
URL address of the cover or poster image of the media.
|
readwritenonatomiccopy |
List of resolution types supported by VOD server.
Specifies the resolution types that VOD server can return. Multiple types separated by commas, such as "FD,LD,SD,HD,OD,2K,4K,SQ,HQ". Special value "AUTO" means only return adaptive bitrate streams. Valid only for Alibaba Cloud VOD sources.
|
readwritenonatomicassign |
Whether to force the player to use the specified resolution.
When set to YES, playback will fail if the media does not support the specified resolution. When set to NO, the player automatically selects the available resolution.
|
readwritenonatomiccopy |
The preferred definition for playback.
Specifies the preferred resolution identifier. The player will try to select the stream matching this identifier for playback. Valid only for multi-resolution sources.
|
readwritenonatomiccopy |
The title of the video.