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

VID and MPS playback source class. More...

#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 *mtsHlsUriToken __deprecated
NSString *playDomain __deprecated
NSString *region __deprecated
NSString *authInfo __deprecated
NSString *stsToken __deprecated
NSString *accSecret __deprecated
NSString *accId __deprecated
NSString *vid __deprecated
Properties inherited from AVPSource
NSString * coverURL
 The URL of the album cover.
NSString * definitions
 List of resolution types supported by VOD server.
BOOL forceQuality
 Whether to force the player to use the specified resolution.
NSString * quality
 The preferred definition for playback.
NSString * title
 The title of the video.

Detailed Description

VID and MPS playback source class.

Plays media using Alibaba Cloud Video ID and Media Processing Service (MPS) information. This playback source is primarily for video transcoding service users.

Deprecated
Recommend using AVPVidAuthSource instead

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 *) __deprecated 

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.
Deprecated
Recommend using AVPVidAuthSource instead

Property Documentation

◆ __deprecated [1/8]

- (NSString* mtsHlsUriToken) __deprecated
readwritenonatomiccopy

◆ __deprecated [2/8]

- (NSString* playDomain) __deprecated
readwritenonatomiccopy

◆ __deprecated [3/8]

- (NSString* region) __deprecated
readwritenonatomiccopy

◆ __deprecated [4/8]

- (NSString* authInfo) __deprecated
readwritenonatomiccopy

◆ __deprecated [5/8]

- (NSString* stsToken) __deprecated
readwritenonatomiccopy

◆ __deprecated [6/8]

- (NSString* accSecret) __deprecated
readwritenonatomiccopy

◆ __deprecated [7/8]

- (NSString* accId) __deprecated
readwritenonatomiccopy

◆ __deprecated [8/8]

- (NSString* vid) __deprecated
readwritenonatomiccopy

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