AliyunPlayer  v5.4.0
Aliyun Player API Reference Manual for iOS Platforms
All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties
VidPlayerConfigGenerator Class Reference
Inheritance diagram for VidPlayerConfigGenerator:

Instance Methods

(void) - addVidPlayerConfigByIntValue:value:
 Add a playerconfig parameter for the specified VID. More...
 
(void) - addVidPlayerConfigByStringValue:value:
 Add a playerconfig parameter for the specified VID. More...
 
(NSString *) - generatePlayerConfig
 Generate playerConfig. More...
 
(void) - setHlsUriToken:
 Set a UriToken for HLS standard encryption. More...
 
(void) - setPreviewTime:
 Set the preview duration. More...
 

Method Documentation

◆ addVidPlayerConfigByIntValue:value:

- (void) addVidPlayerConfigByIntValue: (NSString *)  key
value: (int)  value 

Add a playerconfig parameter for the specified VID.

Parameters
keyThe name of the playerConfig parameter.
valueThe value of the parameter.

◆ addVidPlayerConfigByStringValue:value:

- (void) addVidPlayerConfigByStringValue: (NSString *)  key
value: (NSString *)  value 

Add a playerconfig parameter for the specified VID.

Parameters
keyThe name of the playerConfig parameter.
valueThe value of the parameter.

◆ generatePlayerConfig

- (NSString*) generatePlayerConfig

Generate playerConfig.

◆ setHlsUriToken:

- (void) setHlsUriToken: (NSString *)  MtsHlsUriToken

Set a UriToken for HLS standard encryption.

Parameters
MtsHlsUriTokenThe UriToken.

◆ setPreviewTime:

- (void) setPreviewTime: (int)  previewTime

Set the preview duration.

Parameters
previewTimeThe specified preview duration in seconds.

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