LiteAVSDK
腾讯云音视频 SDK ,服务于数万家企业客户的高可用组件,致力于最大限度地节省您的研发成本。
TXVodConstants

详细描述

播放器SDK常量类

变量

static final int INDEX_AUTO = -1
 

图像平铺模式

static final int RENDER_MODE_FULL_FILL_SCREEN = 0
 
static final int RENDER_MODE_ADJUST_RESOLUTION = 1
 

图像渲染角度

static final int RENDER_ROTATION_PORTRAIT = 0
 
static final int RENDER_ROTATION_LANDSCAPE = 270
 

播放事件列表

static final int VOD_PLAY_EVT_RCV_FIRST_I_FRAME = 2003
 
static final int VOD_PLAY_EVT_PLAY_BEGIN = 2004
 
static final int VOD_PLAY_EVT_PLAY_PROGRESS = 2005
 
static final int VOD_PLAY_EVT_PLAY_END = 2006
 
static final int VOD_PLAY_EVT_PLAY_LOADING = 2007
 
static final int VOD_PLAY_EVT_START_VIDEO_DECODER = 2008
 
static final int VOD_PLAY_EVT_CHANGE_RESOLUTION = 2009
 
static final int VOD_PLAY_EVT_GET_PLAYINFO_SUCC = 2010
 
static final int VOD_PLAY_EVT_CHANGE_ROTATION = 2011
 
static final int VOD_PLAY_EVT_VOD_PLAY_PREPARED = 2013
 
static final int VOD_PLAY_EVT_VOD_LOADING_END = 2014
 
static final int VOD_PLAY_EVT_RCV_FIRST_AUDIO_FRAME = 2026
 
static final int VOD_PLAY_WARNING_RECONNECT = 2103
 
static final int VOD_PLAY_ERR_NET_DISCONNECT = -2301
 
static final int VOD_PLAY_ERR_FILE_NOT_FOUND = -2303
 
static final int VOD_PLAY_ERR_HEVC_DECODE_FAIL = -2304
 
static final int VOD_PLAY_ERR_HLS_KEY = -2305
 
static final int VOD_PLAY_ERR_GET_PLAYINFO_FAIL = -2306
 
static final int VOD_PLAY_WARNING_HW_ACCELERATION_FAIL = 2106
 
static final int VOD_PLAY_ERR_INVALID_LICENSE = -5
 
static final int VOD_PLAY_EVT_TCP_CONNECT_SUCC = 2016
 
static final int VOD_PLAY_EVT_FIRST_VIDEO_PACKET = 2017
 
static final int VOD_PLAY_EVT_DNS_RESOLVED = 2018
 
static final int VOD_PLAY_EVT_SEEK_COMPLETE = 2019
 

播放事件参数

static final String EVT_UTC_TIME = "EVT_UTC_TIME"
 
static final String EVT_BLOCK_DURATION = "EVT_BLOCK_DURATION"
 
static final String EVT_TIME = "EVT_TIME"
 
static final String EVT_DESCRIPTION = "EVT_MSG"
 
static final String EVT_PARAM1 = "EVT_PARAM1"
 
static final String EVT_PARAM2 = "EVT_PARAM2"
 
static final String EVT_GET_MSG = "EVT_GET_MSG"
 
static final String EVT_PLAY_COVER_URL = "EVT_PLAY_COVER_URL"
 
static final String EVT_PLAY_URL = "EVT_PLAY_URL"
 
static final String EVT_PLAY_NAME = "EVT_PLAY_NAME"
 
static final String EVT_PLAY_DESCRIPTION = "EVT_PLAY_DESCRIPTION"
 
static final String EVT_PLAY_PROGRESS_MS = "EVT_PLAY_PROGRESS_MS"
 
static final String EVT_PLAY_DURATION_MS = "EVT_PLAY_DURATION_MS"
 
static final String EVT_PLAY_PROGRESS = "EVT_PLAY_PROGRESS"
 
static final String EVT_PLAY_DURATION = "EVT_PLAY_DURATION"
 
static final String EVT_PLAYABLE_DURATION_MS = "EVT_PLAYABLE_DURATION_MS"
 
static final String EVT_PLAYABLE_RATE = "EVT_PLAYABLE_RATE"
 
static final String EVT_USERID = "EVT_USERID"
 
static final String EVT_ID = "EVT_ID"
 
static final String EVT_REPORT_TOKEN = "EVT_REPORT_TOKEN"
 
static final String EVT_STREAM_TYPE = "EVT_STREAM_TYPE"
 
static final String EVT_PLAYABLE_DURATION = "EVT_PLAYABLE_DURATION"
 
static final String EVT_IMAGESPRIT_WEBVTTURL = "EVT_IMAGESPRIT_WEBVTTURL"
 
static final String EVT_IMAGESPRIT_IMAGEURL_LIST = "EVT_IMAGESPRIT_IMAGEURL_LIST"
 
static final String EVT_DRM_TYPE = "EVT_DRM_TYPE"
 
static final String EVT_CODEC_TYPE = "EVT_CODEC_TYPE"
 
static final String EVT_KEY_FRAME_CONTENT_LIST = "EVT_KEY_FRAME_CONTENT_LIST"
 
static final String EVT_KEY_FRAME_TIME_LIST = "EVT_KEY_FRAME_TIME_LIST"
 

播放网络状态通知参数

static final String NET_STATUS_CPU_USAGE = "CPU_USAGE"
 
static final String NET_STATUS_VIDEO_WIDTH = "VIDEO_WIDTH"
 
static final String NET_STATUS_VIDEO_HEIGHT = "VIDEO_HEIGHT"
 
static final String NET_STATUS_VIDEO_FPS = "VIDEO_FPS"
 
static final String NET_STATUS_VIDEO_GOP = "VIDEO_GOP"
 
static final String NET_STATUS_VIDEO_BITRATE = "VIDEO_BITRATE"
 
static final String NET_STATUS_AUDIO_BITRATE = "AUDIO_BITRATE"
 
static final String NET_STATUS_NET_SPEED = "NET_SPEED"
 
static final String NET_STATUS_AUDIO_CACHE = "AUDIO_CACHE"
 
static final String NET_STATUS_VIDEO_CACHE = "VIDEO_CACHE"
 
static final String NET_STATUS_AUDIO_INFO = "AUDIO_PLAY_INFO"
 
static final String NET_STATUS_NET_JITTER = "NET_JITTER"
 
static final String NET_STATUS_SERVER_IP = "SERVER_IP"
 
static final String NET_STATUS_VIDEO_DPS = "VIDEO_DPS"
 
static final String NET_STATUS_QUALITY_LEVEL = "NET_QUALITY_LEVEL"
 

播放器媒资类型

static final int MEDIA_TYPE_AUTO = 0
 
static final int MEDIA_TYPE_HLS_VOD = 1
 
static final int MEDIA_TYPE_HLS_LIVE = 2
 

结构体说明

◆ com::tencent::rtmp::TXVodConstants

class com::tencent::rtmp::TXVodConstants

静态 Public 属性

static final int INDEX_AUTO = -1
 

图像平铺模式

static final int RENDER_MODE_FULL_FILL_SCREEN = 0
 
static final int RENDER_MODE_ADJUST_RESOLUTION = 1
 

图像渲染角度

static final int RENDER_ROTATION_PORTRAIT = 0
 
static final int RENDER_ROTATION_LANDSCAPE = 270
 

播放事件列表

static final int VOD_PLAY_EVT_RCV_FIRST_I_FRAME = 2003
 
static final int VOD_PLAY_EVT_PLAY_BEGIN = 2004
 
static final int VOD_PLAY_EVT_PLAY_PROGRESS = 2005
 
static final int VOD_PLAY_EVT_PLAY_END = 2006
 
static final int VOD_PLAY_EVT_PLAY_LOADING = 2007
 
static final int VOD_PLAY_EVT_START_VIDEO_DECODER = 2008
 
static final int VOD_PLAY_EVT_CHANGE_RESOLUTION = 2009
 
static final int VOD_PLAY_EVT_GET_PLAYINFO_SUCC = 2010
 
static final int VOD_PLAY_EVT_CHANGE_ROTATION = 2011
 
static final int VOD_PLAY_EVT_VOD_PLAY_PREPARED = 2013
 
static final int VOD_PLAY_EVT_VOD_LOADING_END = 2014
 
static final int VOD_PLAY_EVT_RCV_FIRST_AUDIO_FRAME = 2026
 
static final int VOD_PLAY_WARNING_RECONNECT = 2103
 
static final int VOD_PLAY_ERR_NET_DISCONNECT = -2301
 
static final int VOD_PLAY_ERR_FILE_NOT_FOUND = -2303
 
static final int VOD_PLAY_ERR_HEVC_DECODE_FAIL = -2304
 
static final int VOD_PLAY_ERR_HLS_KEY = -2305
 
static final int VOD_PLAY_ERR_GET_PLAYINFO_FAIL = -2306
 
static final int VOD_PLAY_WARNING_HW_ACCELERATION_FAIL = 2106
 
static final int VOD_PLAY_ERR_INVALID_LICENSE = -5
 
static final int VOD_PLAY_EVT_TCP_CONNECT_SUCC = 2016
 
static final int VOD_PLAY_EVT_FIRST_VIDEO_PACKET = 2017
 
static final int VOD_PLAY_EVT_DNS_RESOLVED = 2018
 
static final int VOD_PLAY_EVT_SEEK_COMPLETE = 2019
 

播放事件参数

static final String EVT_UTC_TIME = "EVT_UTC_TIME"
 
static final String EVT_BLOCK_DURATION = "EVT_BLOCK_DURATION"
 
static final String EVT_TIME = "EVT_TIME"
 
static final String EVT_DESCRIPTION = "EVT_MSG"
 
static final String EVT_PARAM1 = "EVT_PARAM1"
 
static final String EVT_PARAM2 = "EVT_PARAM2"
 
static final String EVT_GET_MSG = "EVT_GET_MSG"
 
static final String EVT_PLAY_COVER_URL = "EVT_PLAY_COVER_URL"
 
static final String EVT_PLAY_URL = "EVT_PLAY_URL"
 
static final String EVT_PLAY_NAME = "EVT_PLAY_NAME"
 
static final String EVT_PLAY_DESCRIPTION = "EVT_PLAY_DESCRIPTION"
 
static final String EVT_PLAY_PROGRESS_MS = "EVT_PLAY_PROGRESS_MS"
 
static final String EVT_PLAY_DURATION_MS = "EVT_PLAY_DURATION_MS"
 
static final String EVT_PLAY_PROGRESS = "EVT_PLAY_PROGRESS"
 
static final String EVT_PLAY_DURATION = "EVT_PLAY_DURATION"
 
static final String EVT_PLAYABLE_DURATION_MS = "EVT_PLAYABLE_DURATION_MS"
 
static final String EVT_PLAYABLE_RATE = "EVT_PLAYABLE_RATE"
 
static final String EVT_USERID = "EVT_USERID"
 
static final String EVT_ID = "EVT_ID"
 
static final String EVT_REPORT_TOKEN = "EVT_REPORT_TOKEN"
 
static final String EVT_STREAM_TYPE = "EVT_STREAM_TYPE"
 
static final String EVT_PLAYABLE_DURATION = "EVT_PLAYABLE_DURATION"
 
static final String EVT_IMAGESPRIT_WEBVTTURL = "EVT_IMAGESPRIT_WEBVTTURL"
 
static final String EVT_IMAGESPRIT_IMAGEURL_LIST = "EVT_IMAGESPRIT_IMAGEURL_LIST"
 
static final String EVT_DRM_TYPE = "EVT_DRM_TYPE"
 
static final String EVT_CODEC_TYPE = "EVT_CODEC_TYPE"
 
static final String EVT_KEY_FRAME_CONTENT_LIST = "EVT_KEY_FRAME_CONTENT_LIST"
 
static final String EVT_KEY_FRAME_TIME_LIST = "EVT_KEY_FRAME_TIME_LIST"
 

播放网络状态通知参数

static final String NET_STATUS_CPU_USAGE = "CPU_USAGE"
 
static final String NET_STATUS_VIDEO_WIDTH = "VIDEO_WIDTH"
 
static final String NET_STATUS_VIDEO_HEIGHT = "VIDEO_HEIGHT"
 
static final String NET_STATUS_VIDEO_FPS = "VIDEO_FPS"
 
static final String NET_STATUS_VIDEO_GOP = "VIDEO_GOP"
 
static final String NET_STATUS_VIDEO_BITRATE = "VIDEO_BITRATE"
 
static final String NET_STATUS_AUDIO_BITRATE = "AUDIO_BITRATE"
 
static final String NET_STATUS_NET_SPEED = "NET_SPEED"
 
static final String NET_STATUS_AUDIO_CACHE = "AUDIO_CACHE"
 
static final String NET_STATUS_VIDEO_CACHE = "VIDEO_CACHE"
 
static final String NET_STATUS_AUDIO_INFO = "AUDIO_PLAY_INFO"
 
static final String NET_STATUS_NET_JITTER = "NET_JITTER"
 
static final String NET_STATUS_SERVER_IP = "SERVER_IP"
 
static final String NET_STATUS_VIDEO_DPS = "VIDEO_DPS"
 
static final String NET_STATUS_QUALITY_LEVEL = "NET_QUALITY_LEVEL"
 

播放器媒资类型

static final int MEDIA_TYPE_AUTO = 0
 
static final int MEDIA_TYPE_HLS_VOD = 1
 
static final int MEDIA_TYPE_HLS_LIVE = 2
 

变量说明

◆ EVT_BLOCK_DURATION

final String EVT_BLOCK_DURATION = "EVT_BLOCK_DURATION"
static

卡顿时间

◆ EVT_CODEC_TYPE

final String EVT_CODEC_TYPE = "EVT_CODEC_TYPE"
static

视频编码类型

◆ EVT_DESCRIPTION

final String EVT_DESCRIPTION = "EVT_MSG"
static

事件说明

◆ EVT_DRM_TYPE

final String EVT_DRM_TYPE = "EVT_DRM_TYPE"
static

加密类型

◆ EVT_GET_MSG

final String EVT_GET_MSG = "EVT_GET_MSG"
static

消息内容,收到PLAY_EVT_GET_MESSAGE事件时,通过该字段获取消息内容

◆ EVT_ID

final String EVT_ID = "EVT_ID"
static

事件ID

◆ EVT_IMAGESPRIT_IMAGEURL_LIST

final String EVT_IMAGESPRIT_IMAGEURL_LIST = "EVT_IMAGESPRIT_IMAGEURL_LIST"
static

雪碧图图片下载URL

◆ EVT_IMAGESPRIT_WEBVTTURL

final String EVT_IMAGESPRIT_WEBVTTURL = "EVT_IMAGESPRIT_WEBVTTURL"
static

雪碧图web vtt描述文件下载URL

◆ EVT_KEY_FRAME_CONTENT_LIST

final String EVT_KEY_FRAME_CONTENT_LIST = "EVT_KEY_FRAME_CONTENT_LIST"
static

视频关键帧描述信息

◆ EVT_KEY_FRAME_TIME_LIST

final String EVT_KEY_FRAME_TIME_LIST = "EVT_KEY_FRAME_TIME_LIST"
static

关键帧时间(秒)

◆ EVT_PARAM1

final String EVT_PARAM1 = "EVT_PARAM1"
static

事件参数1

◆ EVT_PARAM2

final String EVT_PARAM2 = "EVT_PARAM2"
static

事件参数2

◆ EVT_PLAY_COVER_URL

final String EVT_PLAY_COVER_URL = "EVT_PLAY_COVER_URL"
static

视频封面

◆ EVT_PLAY_DESCRIPTION

final String EVT_PLAY_DESCRIPTION = "EVT_PLAY_DESCRIPTION"
static

视频简介

◆ EVT_PLAY_DURATION

final String EVT_PLAY_DURATION = "EVT_PLAY_DURATION"
static

播放总长

◆ EVT_PLAY_DURATION_MS

final String EVT_PLAY_DURATION_MS = "EVT_PLAY_DURATION_MS"
static

播放总长(毫秒)

◆ EVT_PLAY_NAME

final String EVT_PLAY_NAME = "EVT_PLAY_NAME"
static

视频名称

◆ EVT_PLAY_PROGRESS

final String EVT_PLAY_PROGRESS = "EVT_PLAY_PROGRESS"
static

播放进度

◆ EVT_PLAY_PROGRESS_MS

final String EVT_PLAY_PROGRESS_MS = "EVT_PLAY_PROGRESS_MS"
static

播放进度(毫秒)

◆ EVT_PLAY_URL

final String EVT_PLAY_URL = "EVT_PLAY_URL"
static

视频地址

◆ EVT_PLAYABLE_DURATION

final String EVT_PLAYABLE_DURATION = "EVT_PLAYABLE_DURATION"
static

点播可播放时长

◆ EVT_PLAYABLE_DURATION_MS

final String EVT_PLAYABLE_DURATION_MS = "EVT_PLAYABLE_DURATION_MS"
static

点播可播放时长(毫秒)

◆ EVT_PLAYABLE_RATE

final String EVT_PLAYABLE_RATE = "EVT_PLAYABLE_RATE"
static

播放速率

◆ EVT_REPORT_TOKEN

final String EVT_REPORT_TOKEN = "EVT_REPORT_TOKEN"
static

数据上报token

◆ EVT_STREAM_TYPE

final String EVT_STREAM_TYPE = "EVT_STREAM_TYPE"
static

事件流类型

◆ EVT_TIME

final String EVT_TIME = "EVT_TIME"
static

事件发生时间

◆ EVT_USERID

final String EVT_USERID = "EVT_USERID"
static

◆ EVT_UTC_TIME

final String EVT_UTC_TIME = "EVT_UTC_TIME"
static

UTC时间

◆ INDEX_AUTO

final int INDEX_AUTO = -1
static

自适应码率index标识

◆ MEDIA_TYPE_AUTO

final int MEDIA_TYPE_AUTO = 0
static

auto类型,自适应码率播放暂不支持auto类型

◆ MEDIA_TYPE_HLS_LIVE

final int MEDIA_TYPE_HLS_LIVE = 2
static

自适应码率播放hls直播媒资

◆ MEDIA_TYPE_HLS_VOD

final int MEDIA_TYPE_HLS_VOD = 1
static

自适应码率播放hls点播媒资

◆ NET_STATUS_AUDIO_BITRATE

final String NET_STATUS_AUDIO_BITRATE = "AUDIO_BITRATE"
static

推流:音频数据发送比特率;拉流:音频数据接收比特率 单位:kbps

◆ NET_STATUS_AUDIO_CACHE

final String NET_STATUS_AUDIO_CACHE = "AUDIO_CACHE"
static

推流:发送端缓存未发送的音频帧数;拉流:接收端已接收但未播放的音频帧总时长

◆ NET_STATUS_AUDIO_INFO

final String NET_STATUS_AUDIO_INFO = "AUDIO_PLAY_INFO"
static

当前流的音频信息,包括采样率信息和声道数信息

◆ NET_STATUS_CPU_USAGE

final String NET_STATUS_CPU_USAGE = "CPU_USAGE"
static

CPU使用率

◆ NET_STATUS_NET_JITTER

final String NET_STATUS_NET_JITTER = "NET_JITTER"
static

网络抖动情况,数值越大表示抖动越大,网络越不稳定

◆ NET_STATUS_NET_SPEED

final String NET_STATUS_NET_SPEED = "NET_SPEED"
static

推流:音视频数据发送总比特率;拉流:音视频数据接收总比特率 单位:kbps

◆ NET_STATUS_QUALITY_LEVEL

final String NET_STATUS_QUALITY_LEVEL = "NET_QUALITY_LEVEL"
static

网络质量:0:未定义 1:最好 2:好 3:一般 4:差 5:很差 6:不可用

◆ NET_STATUS_SERVER_IP

final String NET_STATUS_SERVER_IP = "SERVER_IP"
static

连接的Server IP地址

◆ NET_STATUS_VIDEO_BITRATE

final String NET_STATUS_VIDEO_BITRATE = "VIDEO_BITRATE"
static

推流:视频数据发送比特率;拉流:视频数据接收比特率 单位:kbps

◆ NET_STATUS_VIDEO_CACHE

final String NET_STATUS_VIDEO_CACHE = "VIDEO_CACHE"
static

推流:发送端缓存未发送的视频帧数;拉流:接收端已接收但未渲染的视频帧总时长

◆ NET_STATUS_VIDEO_DPS

final String NET_STATUS_VIDEO_DPS = "VIDEO_DPS"
static

当前解码器输出帧率(点播)

◆ NET_STATUS_VIDEO_FPS

final String NET_STATUS_VIDEO_FPS = "VIDEO_FPS"
static

当前视频帧率,也就是视频编码器每条生产了多少帧画面

◆ NET_STATUS_VIDEO_GOP

final String NET_STATUS_VIDEO_GOP = "VIDEO_GOP"
static

当前视频GOP,也就是每两个关键帧(I帧)间隔时长,单位s

◆ NET_STATUS_VIDEO_HEIGHT

final String NET_STATUS_VIDEO_HEIGHT = "VIDEO_HEIGHT"
static

分辨率之height

◆ NET_STATUS_VIDEO_WIDTH

final String NET_STATUS_VIDEO_WIDTH = "VIDEO_WIDTH"
static

分辨率之width

◆ RENDER_MODE_ADJUST_RESOLUTION

final int RENDER_MODE_ADJUST_RESOLUTION = 1
static

视频画面自适应屏幕:将图像等比例缩放,缩放后的宽和高都不会超过显示区域,居中显示,可能会留有黑边

◆ RENDER_MODE_FULL_FILL_SCREEN

final int RENDER_MODE_FULL_FILL_SCREEN = 0
static

视频画面全屏铺满:将图像等比例铺满整个屏幕,多余部分裁剪掉,此模式下画面不留黑边

◆ RENDER_ROTATION_LANDSCAPE

final int RENDER_ROTATION_LANDSCAPE = 270
static

右旋90度

◆ RENDER_ROTATION_PORTRAIT

final int RENDER_ROTATION_PORTRAIT = 0
static

常规竖屏

◆ VOD_PLAY_ERR_FILE_NOT_FOUND

final int VOD_PLAY_ERR_FILE_NOT_FOUND = -2303
static

文件不存在

◆ VOD_PLAY_ERR_GET_PLAYINFO_FAIL

final int VOD_PLAY_ERR_GET_PLAYINFO_FAIL = -2306
static

获取点播文件信息失败

◆ VOD_PLAY_ERR_HEVC_DECODE_FAIL

final int VOD_PLAY_ERR_HEVC_DECODE_FAIL = -2304
static

h265解码失败

◆ VOD_PLAY_ERR_HLS_KEY

final int VOD_PLAY_ERR_HLS_KEY = -2305
static

HLS解密key获取失败

◆ VOD_PLAY_ERR_INVALID_LICENSE

final int VOD_PLAY_ERR_INVALID_LICENSE = -5
static

license 不合法,播放失败

◆ VOD_PLAY_ERR_NET_DISCONNECT

final int VOD_PLAY_ERR_NET_DISCONNECT = -2301
static

网络断连,且经多次重连抢救无效,可以放弃治疗,更多重试请自行重启播放

◆ VOD_PLAY_EVT_CHANGE_RESOLUTION

final int VOD_PLAY_EVT_CHANGE_RESOLUTION = 2009
static

视频分辨率改变

◆ VOD_PLAY_EVT_CHANGE_ROTATION

final int VOD_PLAY_EVT_CHANGE_ROTATION = 2011
static

视频旋转信息

◆ VOD_PLAY_EVT_DNS_RESOLVED

final int VOD_PLAY_EVT_DNS_RESOLVED = 2018
static

点播,DNS 解析完成(SDK 内部事件,不会对外抛出)

◆ VOD_PLAY_EVT_FIRST_VIDEO_PACKET

final int VOD_PLAY_EVT_FIRST_VIDEO_PACKET = 2017
static

点播,收到首帧数据(SDK 内部事件,不会对外抛出)

◆ VOD_PLAY_EVT_GET_PLAYINFO_SUCC

final int VOD_PLAY_EVT_GET_PLAYINFO_SUCC = 2010
static

获取点播文件信息成功

◆ VOD_PLAY_EVT_PLAY_BEGIN

final int VOD_PLAY_EVT_PLAY_BEGIN = 2004
static

视频播放开始

◆ VOD_PLAY_EVT_PLAY_END

final int VOD_PLAY_EVT_PLAY_END = 2006
static

视频播放结束

◆ VOD_PLAY_EVT_PLAY_LOADING

final int VOD_PLAY_EVT_PLAY_LOADING = 2007
static

视频播放Loading

◆ VOD_PLAY_EVT_PLAY_PROGRESS

final int VOD_PLAY_EVT_PLAY_PROGRESS = 2005
static

视频播放进度

◆ VOD_PLAY_EVT_RCV_FIRST_AUDIO_FRAME

final int VOD_PLAY_EVT_RCV_FIRST_AUDIO_FRAME = 2026
static

音频首次播放

◆ VOD_PLAY_EVT_RCV_FIRST_I_FRAME

final int VOD_PLAY_EVT_RCV_FIRST_I_FRAME = 2003
static

网络接收到首个视频数据包(IDR)

◆ VOD_PLAY_EVT_SEEK_COMPLETE

final int VOD_PLAY_EVT_SEEK_COMPLETE = 2019
static

点播,视频播放 Seek 完成(10.3 版本开始对外开放)

◆ VOD_PLAY_EVT_START_VIDEO_DECODER

final int VOD_PLAY_EVT_START_VIDEO_DECODER = 2008
static

解码器启动

◆ VOD_PLAY_EVT_TCP_CONNECT_SUCC

final int VOD_PLAY_EVT_TCP_CONNECT_SUCC = 2016
static

点播,TCP 连接成功(SDK 内部事件,不会对外抛出)

◆ VOD_PLAY_EVT_VOD_LOADING_END

final int VOD_PLAY_EVT_VOD_LOADING_END = 2014
static

loading结束(点播)

◆ VOD_PLAY_EVT_VOD_PLAY_PREPARED

final int VOD_PLAY_EVT_VOD_PLAY_PREPARED = 2013
static

视频加载完毕(点播)

◆ VOD_PLAY_WARNING_HW_ACCELERATION_FAIL

final int VOD_PLAY_WARNING_HW_ACCELERATION_FAIL = 2106
static

硬解启动失败,采用软解

◆ VOD_PLAY_WARNING_RECONNECT

final int VOD_PLAY_WARNING_RECONNECT = 2103
static

网络断连, 已启动自动重连 (自动重连连续失败超过三次会放弃)