◆ ~AliMediaDownloader()
virtual alivc_player::AliMediaDownloader::~AliMediaDownloader |
( |
| ) |
|
|
virtualdefault |
◆ CreateMediaDownloader()
◆ deleteDownloadedFile()
virtual void alivc_player::AliMediaDownloader::deleteDownloadedFile |
( |
| ) |
|
|
pure virtual |
Delete the downloaded file.
◆ deleteFile()
static int alivc_player::AliMediaDownloader::deleteFile |
( |
const char * |
saveDir, |
|
|
const char * |
vid, |
|
|
const char * |
format, |
|
|
int |
index |
|
) |
| |
|
static |
Delete a downloaded file.
- Parameters
-
saveDir | The path where the file is saved. |
vid | VID. |
format | Format. |
index | The download index corresponds to the VID. |
◆ getConfig()
virtual AVDConfig* alivc_player::AliMediaDownloader::getConfig |
( |
| ) |
|
|
pure virtual |
◆ getDownloadedFilePath()
virtual const char* alivc_player::AliMediaDownloader::getDownloadedFilePath |
( |
| ) |
|
|
pure virtual |
Query the path of the downloaded file.
◆ getListener()
virtual IAVDListener* alivc_player::AliMediaDownloader::getListener |
( |
| ) |
|
|
pure virtual |
◆ prepareWithPlayAuth()
virtual void alivc_player::AliMediaDownloader::prepareWithPlayAuth |
( |
AVPVidAuthSource * |
source | ) |
|
|
pure virtual |
Use AVPVidAuthSource to prepare for playback.
- Parameters
-
source | vid Play the media through playAuth. |
◆ prepareWithVid()
virtual void alivc_player::AliMediaDownloader::prepareWithVid |
( |
AVPVidStsSource * |
source | ) |
|
|
pure virtual |
Use AVPVidStsSource to prepare for playback.
- Parameters
-
source | vid Play the media through VidSts. |
◆ selectTrack()
virtual void alivc_player::AliMediaDownloader::selectTrack |
( |
int |
trackIndex | ) |
|
|
pure virtual |
Specify the indexes of the tracks to be downloaded.
- Parameters
-
trackIndex | Use the prepare callback to retrieve all track indexes. |
◆ setConfig()
virtual void alivc_player::AliMediaDownloader::setConfig |
( |
AVDConfig * |
config | ) |
|
|
pure virtual |
◆ setListener()
virtual void alivc_player::AliMediaDownloader::setListener |
( |
IAVDListener * |
listener | ) |
|
|
pure virtual |
◆ setPlayUrlConvertCallback()
Set a URL conversion callback.
URL conversion is typically used in P2P broadcasting.
- Parameters
-
callback | The function pointer of the callback. |
◆ setSaveDirectory()
virtual void alivc_player::AliMediaDownloader::setSaveDirectory |
( |
const char * |
dir | ) |
|
|
pure virtual |
Set a path to save the downloaded file.
- Parameters
-
◆ start()
virtual void alivc_player::AliMediaDownloader::start |
( |
| ) |
|
|
pure virtual |
◆ stop()
virtual void alivc_player::AliMediaDownloader::stop |
( |
| ) |
|
|
pure virtual |
◆ updateWithPlayAuth()
virtual void alivc_player::AliMediaDownloader::updateWithPlayAuth |
( |
AVPVidAuthSource * |
source | ) |
|
|
pure virtual |
Update the AVPVidAuthSource information when the authentication expires.
- Parameters
-
source | vid Authentication information. |
◆ updateWithVid()
virtual void alivc_player::AliMediaDownloader::updateWithVid |
( |
AVPVidStsSource * |
source | ) |
|
|
pure virtual |
Update the AVPVidStsSource information when the authentication expires.
- Parameters
-
source | vid STS information. |
The documentation for this class was generated from the following file: