Data Structures | |
class | TXVodConstants |
Player SDK constant class.
class com::tencent::rtmp::TXVodConstants |
Static Public Attributes | |
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 int | VOD_PLAY_EVT_LOOP_ONCE_COMPLETE = 6001 |
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 | EVT_KEY_SELECT_TRACK_INDEX = "EVT_KEY_SELECT_TRACK_INDEX" |
static final String | EVT_KEY_SELECT_TRACK_ERROR_CODE = "EVT_KEY_SELECT_TRACK_ERROR_CODE" |
static final String | EVT_KEY_VIDEO_ROTATION = "EVT_KEY_VIDEO_ROTATION" |
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 = TXVCubePlayerParams.MEDIA_TYPE_AUTO |
static final int | MEDIA_TYPE_HLS_VOD = TXVCubePlayerParams.MEDIA_TYPE_HLS_VOD |
static final int | MEDIA_TYPE_HLS_LIVE = TXVCubePlayerParams.MEDIA_TYPE_HLS_LIVE |
static final int | INDEX_AUTO = ITXVCubePlayer.INDEX_AUTO |
|
static |
The lag duration.
|
static |
The video encoding type.
|
static |
The event description.
|
static |
The encryption type.
|
static |
The message content. This field is used to get the message content when the PLAY_EVT_GET_MESSAGE
event is received.
|
static |
The event ID.
|
static |
The download URL of the image sprite.
|
static |
The download URL of the image sprite WebVTT file.
|
static |
Video key frame description information.
|
static |
Key frame time (seconds)
|
static |
Return error code for switching media tracks.
|
static |
Switched media track index.
|
static |
Video rotation angle.
|
static |
Event parameter 1.
|
static |
Event parameter 2.
|
static |
The video thumbnail.
|
static |
The video description.
|
static |
The total playback duration.
|
static |
The total playback duration in milliseconds.
|
static |
The video name.
|
static |
The playback progress.
|
static |
The playback progress in milliseconds.
|
static |
The video URL.
|
static |
The playable duration of the VOD file.
|
static |
The playable duration of the VOD file in milliseconds.
|
static |
The playback speed.
|
static |
The data reporting token.
|
static |
The event stream type.
|
static |
The event occurrence time.
|
static |
|
static |
The UTC time.
|
static |
The index for adaptive bitrate.
|
static |
The auto type. It is not supported by adaptive bitrate streaming currently.
|
static |
The HLS live stream media asset for adaptive bitrate streaming.
|
static |
The HLS VOD media asset for adaptive bitrate streaming.
|
static |
Push: the bitrate of the sent audio data in Kbps; pull: the bitrate of the received audio data in Kbps.
|
static |
Push: the number of audio frames cached but not sent by the sender; pull: the total duration of audio frames received but not played back by the receiver.
|
static |
The audio information of the current stream, including sample rate and number of sound channels.
|
static |
The CPU utilization.
|
static |
The network jitter. The greater the value, the greater the jitter, and the more unstable the network.
|
static |
Push: the total bitrate of the sent audio/video data in Kbps; pull: the total bitrate of the received audio/video data in Kbps.
|
static |
The network quality. Valid values: 0: undefined; 1: excellent; 2: good; 3: fair; 4: poor; 5: very poor; 6: unavailable.
|
static |
The connected server IP.
|
static |
Push: the bitrate of the sent video data in Kbps; pull: the bitrate of the received video data in Kbps.
|
static |
Push: the number of video frames cached but not sent by the sender; pull: the total duration of video frames received but not rendered by the receiver.
|
static |
The current frame rate of the video output by the decoder (for VOD)
|
static |
The current video frame rate, i.e., how many image frames the video encoder generates per second.
|
static |
The current video group of pictures (GOP), i.e., the interval between two keyframes in seconds.
|
static |
The resolution height.
|
static |
The resolution width.
|
static |
The video image is scaled proportionally to fit the screen. Neither side exceeds the screen after scaling. The image is centered, and there may be black bars.
|
static |
The video image is scaled proportionally to fill the entire screen, and the excess parts are cropped. There are no black bars in this mode.
|
static |
Landscape.
|
static |
Portrait.
|
static |
The file does not exist.
|
static |
Failed to get the information of the VOD file.
|
static |
Failed to decode with H.265.
|
static |
Failed to get the HLS decryption key.
|
static |
The license was invalid, and playback failed.
|
static |
The network was disconnected and could not be connected again after multiple retries. You can restart the player to perform more connection retries.
|
static |
The video resolution changed.
|
static |
Video rotation information.
|
static |
VOD event: DNS resolution was completed (internal SDK event, which will not be thrown out).
|
static |
VOD event: The first data frame was received (internal SDK event, which will not be thrown out).
|
static |
Obtained the VOD file information successfully.
|
static |
VOD event: the end of a round of playback (Version 10.8 is open to the public)
|
static |
Video playback started.
|
static |
Video playback ended.
|
static |
The video is loading.
|
static |
Video playback progress.
|
static |
The audio was played back for the first time.
|
static |
The first video data packet (IDR) was received.
|
static |
VOD event: Video playback seeking was completed (internal SDK event, which will not be thrown out).
|
static |
The decoder started.
|
static |
VOD event: TCP connection succeeded (internal SDK event, which will not be thrown out).
|
static |
VOD event: Video loading ended.
|
static |
VOD event: Video loading was completed.
|
static |
Failed to start the hardware decoder, and the software decoder was used instead.
|
static |
The network was disconnected, and automatic reconnection was performed (which will be canceled if failed for three times in a row).