下载的视频媒体信息
| class com::tencent::rtmp::downloader::TXVodDownloadMediaInfo |
Public 成员函数 | |
| TXVodDownloadDataSource | getDataSource () |
| int | getDuration () |
| int | getPlayableDuration () |
| int | getSize () |
| int | getDownloadSize () |
| float | getProgress () |
| String | getPlayPath () |
| int | getTaskId () |
| String | getUrl () |
| String | getUserName () |
| int | getDownloadState () |
| boolean | isDownloadFinished () |
| long | getPreferredResolution () |
| TXPlayerDrmBuilder | getDrmBuilder () |
| int | getSpeed () |
静态 Public 属性 | |
| static final int | STATE_INIT = 0 |
| static final int | STATE_START = 1 |
| static final int | STATE_STOP = 2 |
| static final int | STATE_ERROR = 3 |
| static final int | STATE_FINISH = 4 |
|
inline |
fileid下载对象
|
inline |
已下载大小
|
inline |
获取下载状态
|
inline |
获取drm信息
|
inline |
总时长
|
inline |
已下载的可播放时长
|
inline |
播放路径,可传给TXVodPlayer播放
|
inline |
获取偏好分辨率
|
inline |
下载进度
|
inline |
文件总大小。只针对以fileid视频源有效。
|
inline |
获取下载速度,单位:KByte/秒
|
inline |
任务id。可唯一表示下载任务
|
inline |
实际下载地址
|
inline |
获取下载账户名称
|
inline |
是否下载完成
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
下载出错
|
static |
下载完成
|
static |
下载初始态
|
static |
下载开始
|
static |
下载停止
|
protected |
|
protected |
|
protected |