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

#include "AVPSource.h"

Inheritance diagram for AVPVidMpsSource:
AVPSource

Instance Methods

(instancetype) - initWithVid:accId:accSecret:stsToken:authInfo:region:playDomain:mtsHlsUriToken:
 用vid和MPS信息来播放视频,视频转码服务用户使用播放方式。部分参数参考:https://help.aliyun.com/document_detail/53522.html?spm=5176.doc53534.2.5.mhSfOh
 

Properties

NSString * accId
 accId
 
NSString * accSecret
 accSecret
 
NSString * authInfo
 authInfo
 
NSString * mtsHlsUriToken
 mtsHlsUriToken
 
NSString * playDomain
 playDomain
 
NSString * region
 region
 
NSString * stsToken
 stsToken
 
NSString * vid
 vid
 
- Properties inherited from AVPSource
NSString * coverURL
 封面地址
 
NSString * definitions
 设置点播服务器返回的码率清晰度类型。例如:"FD,LD,SD,HD,OD,2K,4K,SQ,HQ"。 注意:如果类型为"AUTO", 那么只会返回自适应码率流。
 
BOOL forceQuality
 是否强制使用此清晰度。如果强制,则在没有对应清晰度的情况下播放不了。
 
NSString * quality
 期望播放的清晰度
 
NSString * title
 视频标题
 

Method Documentation

◆ initWithVid:accId:accSecret:stsToken:authInfo:region:playDomain:mtsHlsUriToken:

- (instancetype) initWithVid: (NSString *) vid
accId: (NSString *) accId
accSecret: (NSString *) accSecret
stsToken: (NSString *) stsToken
authInfo: (NSString *) authInfo
region: (NSString *) region
playDomain: (NSString *) playDomain
mtsHlsUriToken: (NSString *) mtsHlsUriToken 

用vid和MPS信息来播放视频,视频转码服务用户使用播放方式。部分参数参考:https://help.aliyun.com/document_detail/53522.html?spm=5176.doc53534.2.5.mhSfOh

Parameters
vid视频播放的vid标识
accId用户sts的accessKey ID
accSecret用户sts的accessKey secret
stsToken用户sts的token信息
authInfo用户authInfo信息
region用户region信息
playDomain用户playDomain信息
mtsHlsUriToken用户mtsHlsUriToken信息

Property Documentation

◆ accId

- (NSString*) accId
readwritenonatomiccopy

accId

◆ accSecret

- (NSString*) accSecret
readwritenonatomiccopy

accSecret

◆ authInfo

- (NSString*) authInfo
readwritenonatomiccopy

authInfo

◆ mtsHlsUriToken

- (NSString*) mtsHlsUriToken
readwritenonatomiccopy

mtsHlsUriToken

◆ playDomain

- (NSString*) playDomain
readwritenonatomiccopy

playDomain

◆ region

- (NSString*) region
readwritenonatomiccopy

region

◆ stsToken

- (NSString*) stsToken
readwritenonatomiccopy

stsToken

◆ vid

- (NSString*) vid
readwritenonatomiccopy

vid


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