AliyunPlayer v7.1.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:
 添加vid的playerconfig参数
 
(void) - addVidPlayerConfigByStringValue:value:
 添加vid的playerconfig参数
 
(NSString *) - generatePlayerConfig
 生成playerConfig
 
(void) - setHlsUriToken:
 HLS标准加密设置UriToken.
 
(void) - setPreviewTime:
 设置预览时间
 

Method Documentation

◆ addVidPlayerConfigByIntValue:value:

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

添加vid的playerconfig参数

Parameters
key对应playerConfig中的参数名字
value对应key参数的整形值

◆ addVidPlayerConfigByStringValue:value:

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

添加vid的playerconfig参数

Parameters
key对应playerConfig中的参数名字
value对应key参数的值

◆ generatePlayerConfig

- (NSString *) generatePlayerConfig

生成playerConfig

◆ setHlsUriToken:

- (void) setHlsUriToken: (NSString *) MtsHlsUriToken

HLS标准加密设置UriToken.

Parameters
MtsHlsUriToken字符串

◆ setPreviewTime:

- (void) setPreviewTime: (int) previewTime

设置预览时间

Parameters
previewTime预览时间,单位为秒

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