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

#include "VidPlayerConfigGen.h"

Inheritance diagram for VidPlayerConfigGenerator:

Instance Methods

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

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: