AliyunPlayer  v5.2.0
Aliyun Player API Reference Manual for Windows Platforms
alivc_player::AVPVidStsSource Class Reference
Inheritance diagram for alivc_player::AVPVidStsSource:
alivc_player::AVPSource

Public Member Functions

 AVPVidStsSource ()
 
char * getAccessKeyId () const
 
char * getAccessKeySecret () const
 
char * getPlayConfig () const
 
char * getRegion () const
 
char * getSecurityToken () const
 
char * getVid () const
 
void initWithVid (const char *vid, const char *accessKeyId, const char *accessKeySecret, const char *securityToken, const char *region, const char *playConfig)
 Play by VID and STS. More...
 
 ~AVPVidStsSource ()
 
- Public Member Functions inherited from alivc_player::AVPSource
 AVPSource ()
 
char * getCoverURL () const
 
char * getQuality () const
 
char * getTitle () const
 
void setCoverURL (const char *url)
 
void setQuality (const char *quality)
 
void setTitle (const char *title)
 
virtual ~AVPSource ()
 

Additional Inherited Members

- Protected Attributes inherited from alivc_player::AVPSource
char * mCoverURL
 The URL of the album cover. More...
 
char * mQuality
 The preferred definition for playback. More...
 
char * mTitle
 The title of the video. More...
 

Constructor & Destructor Documentation

◆ AVPVidStsSource()

alivc_player::AVPVidStsSource::AVPVidStsSource ( )

◆ ~AVPVidStsSource()

alivc_player::AVPVidStsSource::~AVPVidStsSource ( )

Member Function Documentation

◆ getAccessKeyId()

char* alivc_player::AVPVidStsSource::getAccessKeyId ( ) const

◆ getAccessKeySecret()

char* alivc_player::AVPVidStsSource::getAccessKeySecret ( ) const

◆ getPlayConfig()

char* alivc_player::AVPVidStsSource::getPlayConfig ( ) const

◆ getRegion()

char* alivc_player::AVPVidStsSource::getRegion ( ) const

◆ getSecurityToken()

char* alivc_player::AVPVidStsSource::getSecurityToken ( ) const

◆ getVid()

char* alivc_player::AVPVidStsSource::getVid ( ) const

◆ initWithVid()

void alivc_player::AVPVidStsSource::initWithVid ( const char *  vid,
const char *  accessKeyId,
const char *  accessKeySecret,
const char *  securityToken,
const char *  region,
const char *  playConfig 
)

Play by VID and STS.

Temporary AccessKey ID, AccessKey Secret, and token: Activate RAM, and use the API or SDK provided by STS to retrieve the AccessKey ID, AccessKey Secret, and token. Details about parameters in playback and download requests: https://help.aliyun.com/document_detail/28788.html

Parameters
vidThe VID of the video.
accessKeyIdThe AccessKey ID of the user.
accessKeySecretThe AccessKey Secret of the user.
securityTokenThe token information of the user.
regionThe region information of the user.

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