![]() |
AliyunPlayer v7.10.0
Aliyun Player API Reference Manual for iOS Platforms
|
Used to generate playConfig parameters when generating vid play url. More...
#include "VidPlayerConfigGen.h"
Instance Methods | |
| (void) | - addVidPlayerConfigByIntValue:value: |
| Add other config parameters to pass through to open api. | |
| (void) | - addVidPlayerConfigByStringValue:value: |
| Add other config parameters to pass through to open api. | |
| (NSString *) | - generatePlayerConfig |
Generate playerConfig, can be used in VidBaseSource::setPlayConfig. | |
| (void) | - setHlsUriToken: |
| Set a UriToken for HLS standard encryption. | |
| (void) | - setPreviewTime: |
| Set the preview duration. | |
Used to generate playConfig parameters when generating vid play url.
Be used in VidBaseSource::setPlayConfig. For details, see doc
| - (void) addVidPlayerConfigByIntValue: | (NSString *) | key | |
| value: | (int) | value |
Add other config parameters to pass through to open api.
Common configs are already encapsulated as APIs, such as setPreviewTime, setEncryptType, setMtsHlsUriToken, etc.
| - (void) addVidPlayerConfigByStringValue: | (NSString *) | key | |
| value: | (NSString *) | value |
Add other config parameters to pass through to open api.
Common configs are already encapsulated as APIs, such as setPreviewTime, setEncryptType, setMtsHlsUriToken, etc.
| - (NSString *) generatePlayerConfig |
Generate playerConfig, can be used in VidBaseSource::setPlayConfig.
| - (void) setHlsUriToken: | (NSString *) | MtsHlsUriToken |
Set a UriToken for HLS standard encryption.
| MtsHlsUriToken | The UriToken. |
| - (void) setPreviewTime: | (int) | previewTime |
Set the preview duration.
| previewTime | The specified preview duration in seconds. |