#include "AVPSource.h"
|
NSString * | accessKeyId |
| accessKeyId
|
|
NSString * | accessKeySecret |
| accessKeySecret
|
|
long | authTimeout |
| authTimeout
|
|
NSString * | format |
| format,default is nil, value is "mp4,mp3,flv,m3u8"
|
|
NSString * | outputType |
| outputType
|
|
NSString * | playConfig |
| playConfig
|
|
NSString * | reAuthInfo |
| reAuthInfo
|
|
NSString * | region |
| region
|
|
NSString * | resultType |
| resultType
|
|
NSString * | securityToken |
| securityToken
|
|
NSString * | streamType |
| streamType
|
|
NSString * | vid |
| vid
|
|
NSString * | coverURL |
| 封面地址
|
|
NSString * | definitions |
| 设置点播服务器返回的码率清晰度类型。例如:"FD,LD,SD,HD,OD,2K,4K,SQ,HQ"。 注意:如果类型为"AUTO", 那么只会返回自适应码率流。
|
|
BOOL | forceQuality |
| 是否强制使用此清晰度。如果强制,则在没有对应清晰度的情况下播放不了。
|
|
NSString * | quality |
| 期望播放的清晰度
|
|
NSString * | title |
| 视频标题
|
|
◆ initWithVid:accessKeyId:accessKeySecret:securityToken:region:
- (instancetype) initWithVid: |
|
(NSString *) | vid |
accessKeyId: |
|
(NSString *) | accessKeyId |
accessKeySecret: |
|
(NSString *) | accessKeySecret |
securityToken: |
|
(NSString *) | securityToken |
region: |
|
(NSString *) | region |
用vid和sts来播放视频,临时AccessKeyId、AccessKeySecret和SecurityToken:开启RAM授权,并通过STS授权系统提供的OpenAPI或SDK获取的AccessKeyId、AccessKeySecret和SecurityToken,用于播放和下载请求参数明细:https://help.aliyun.com/document_detail/28788.html?spm=5176.doc28787.6.706.2G5SLS
- Parameters
-
vid | 视频播放的vid标识 |
accessKeyId | 用户sts的accessKey ID |
accessKeySecret | 用户sts的accessKey secret |
securityToken | 用户sts的token信息 |
region | 用户sts的region信息 |
◆ initWithVid:accessKeyId:accessKeySecret:securityToken:region:format:playConfig:
- (instancetype) initWithVid: |
|
(NSString *) | vid |
accessKeyId: |
|
(NSString *) | accessKeyId |
accessKeySecret: |
|
(NSString *) | accessKeySecret |
securityToken: |
|
(NSString *) | securityToken |
region: |
|
(NSString *) | region |
format: |
|
(NSString *) | format |
playConfig: |
|
(NSString *) | playConfig |
◆ initWithVid:accessKeyId:accessKeySecret:securityToken:region:playConfig:
- (instancetype) initWithVid: |
|
(NSString *) | vid |
accessKeyId: |
|
(NSString *) | accessKeyId |
accessKeySecret: |
|
(NSString *) | accessKeySecret |
securityToken: |
|
(NSString *) | securityToken |
region: |
|
(NSString *) | region |
playConfig: |
|
(NSString *) | playConfig |
◆ accessKeyId
- (NSString*) accessKeyId |
|
readwritenonatomiccopy |
◆ accessKeySecret
- (NSString*) accessKeySecret |
|
readwritenonatomiccopy |
◆ authTimeout
◆ format
format,default is nil, value is "mp4,mp3,flv,m3u8"
◆ outputType
◆ playConfig
◆ reAuthInfo
◆ region
◆ resultType
◆ securityToken
- (NSString*) securityToken |
|
readwritenonatomiccopy |
◆ streamType
◆ vid
The documentation for this class was generated from the following file: