AliyunPlayer v6.21.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:
 Play by VID and MPS.
 

Properties

NSString * accId
 
NSString * accSecret
 
NSString * authInfo
 
NSString * mtsHlsUriToken
 
NSString * playDomain
 
NSString * region
 
NSString * stsToken
 
NSString * vid
 
- Properties inherited from AVPSource
NSString * coverURL
 The URL of the album cover.
 
NSString * definitions
 
BOOL forceQuality
 Whether to force the player to play the media with the specified definition.
 
NSString * quality
 The preferred definition for playback.
 
NSString * title
 The title of the video.
 

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 

Play by VID and MPS.

This playback method is used by video transcoding service users. Reference for some of the parameters: https://help.aliyun.com/document_detail/53522.html?spm=5176.doc53534.2.5.mhSfOh

Parameters
vidThe VID of the video.
accIdThe AccessKey ID of the user.
accSecretThe AccessKey Secret of the user.
stsTokenThe token information of the user.
authInfoThe authInfo of the user.
regionThe region information of the user.
playDomainThe playDomain information of the user.
mtsHlsUriTokenThe mtsHlsUriToken information of the user.

Property Documentation

◆ accId

- (NSString*) accId
readwritenonatomiccopy

◆ accSecret

- (NSString*) accSecret
readwritenonatomiccopy

◆ authInfo

- (NSString*) authInfo
readwritenonatomiccopy

◆ mtsHlsUriToken

- (NSString*) mtsHlsUriToken
readwritenonatomiccopy

◆ playDomain

- (NSString*) playDomain
readwritenonatomiccopy

◆ region

- (NSString*) region
readwritenonatomiccopy

◆ stsToken

- (NSString*) stsToken
readwritenonatomiccopy

◆ vid

- (NSString*) vid
readwritenonatomiccopy

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