TXLiveConstants class

from com.tencent.rtmp.TXLiveConstants

Constructors

TXLiveConstants()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

AUDIO_ROUTE_RECEIVER → const int
1
AUDIO_ROUTE_SPEAKER → const int
声音播放模式
0
AUDIO_VOLUME_TYPE_AUTO → const int
系统音量类型 默认类型,SDK会自动选择合适的音量类型
0
AUDIO_VOLUME_TYPE_MEDIA → const int
仅使用媒体音量,SDK不再使用通话音量
1
AUDIO_VOLUME_TYPE_VOIP → const int
仅使用通话音量,SDK一直使用通话音量
2
AUTO_ADJUST_BITRATE_RESOLUTION_STRATEGY_1 → const int
1
AUTO_ADJUST_BITRATE_RESOLUTION_STRATEGY_2 → const int
3
AUTO_ADJUST_BITRATE_STRATEGY_1 → const int
码率自适应算法
0
AUTO_ADJUST_BITRATE_STRATEGY_2 → const int
2
AUTO_ADJUST_LIVEPUSH_RESOLUTION_STRATEGY → const int
1
AUTO_ADJUST_LIVEPUSH_STRATEGY → const int
0
AUTO_ADJUST_NONE → const int
-1
AUTO_ADJUST_REALTIME_BITRATE_RESOLUTION_STRATEGY → const int
5
AUTO_ADJUST_REALTIME_BITRATE_STRATEGY → const int
4
AUTO_ADJUST_REALTIME_VIDEOCHAT_STRATEGY → const int
5
BEAUTY_STYLE_HAZY → const int
2
BEAUTY_STYLE_NATURE → const int
1
BEAUTY_STYLE_SMOOTH → const int
0
CUSTOM_MODE_AUDIO_CAPTURE → const int
自定义采集和自定义处理开关
1
CUSTOM_MODE_AUDIO_PREPROCESS → const int
4
CUSTOM_MODE_VIDEO_CAPTURE → const int
2
CUSTOM_MODE_VIDEO_PREPROCESS → const int
8
ENCODE_VIDEO_AUTO → const int
2
ENCODE_VIDEO_HARDWARE → const int
1
ENCODE_VIDEO_SOFTWARE → const int
0
EVT_DESCRIPTION → const String
"EVT_MSG"
EVT_GET_MSG → const String
"EVT_GET_MSG"
EVT_PARAM1 → const String
"EVT_PARAM1"
EVT_PARAM2 → const String
"EVT_PARAM2"
EVT_PLAY_COVER_URL → const String
"EVT_PLAY_COVER_URL"
EVT_PLAY_DESCRIPTION → const String
"EVT_PLAY_DESCRIPTION"
EVT_PLAY_DURATION → const String
"EVT_PLAY_DURATION"
EVT_PLAY_DURATION_MS → const String
"EVT_PLAY_DURATION_MS"
EVT_PLAY_NAME → const String
"EVT_PLAY_NAME"
EVT_PLAY_PROGRESS → const String
"EVT_PLAY_PROGRESS"
EVT_PLAY_PROGRESS_MS → const String
"EVT_PLAY_PROGRESS_MS"
EVT_PLAY_URL → const String
"EVT_PLAY_URL"
EVT_PLAYABLE_DURATION_MS → const String
"EVT_PLAYABLE_DURATION_MS"
EVT_TIME → const String
"EVT_TIME"
LOCAL_VIDEO_MIRROR_TYPE_AUTO → const int
本地预览画面的镜像设置功能,默认是AUTO类型。
0
LOCAL_VIDEO_MIRROR_TYPE_DISABLE → const int
2
LOCAL_VIDEO_MIRROR_TYPE_ENABLE → const int
1
LOG_LEVEL_DEBUG → const int
1
LOG_LEVEL_ERROR → const int
4
LOG_LEVEL_FATAL → const int
5
LOG_LEVEL_INFO → const int
2
LOG_LEVEL_NULL → const int
6
LOG_LEVEL_VERBOSE → const int
0
LOG_LEVEL_WARN → const int
3
NET_STATUS_AUDIO_BITRATE → const String
"AUDIO_BITRATE"
NET_STATUS_AUDIO_CACHE → const String
"AUDIO_CACHE"
NET_STATUS_AUDIO_CACHE_THRESHOLD → const String
"AUDIO_CACHE_THRESHOLD"
NET_STATUS_AUDIO_DROP → const String
"AUDIO_DROP"
NET_STATUS_AUDIO_INFO → const String
"AUDIO_PLAY_INFO"
NET_STATUS_AV_PLAY_INTERVAL → const String
"AV_PLAY_INTERVAL"
NET_STATUS_AV_RECV_INTERVAL → const String
"AV_RECV_INTERVAL"
NET_STATUS_CPU_USAGE → const String
"CPU_USAGE"
NET_STATUS_NET_JITTER → const String
"NET_JITTER"
NET_STATUS_NET_SPEED → const String
"NET_SPEED"
NET_STATUS_QUALITY_LEVEL → const String
"NET_QUALITY_LEVEL"
NET_STATUS_SERVER_IP → const String
"SERVER_IP"
NET_STATUS_V_DEC_CACHE_SIZE → const String
"V_DEC_CACHE_SIZE"
NET_STATUS_V_SUM_CACHE_SIZE → const String
"V_SUM_CACHE_SIZE"
NET_STATUS_VIDEO_BITRATE → const String
"VIDEO_BITRATE"
NET_STATUS_VIDEO_CACHE → const String
"VIDEO_CACHE"
NET_STATUS_VIDEO_DPS → const String
"VIDEO_DPS"
NET_STATUS_VIDEO_DROP → const String
"VIDEO_DROP"
NET_STATUS_VIDEO_FPS → const String
"VIDEO_FPS"
NET_STATUS_VIDEO_GOP → const String
"VIDEO_GOP"
NET_STATUS_VIDEO_HEIGHT → const String
"VIDEO_HEIGHT"
NET_STATUS_VIDEO_WIDTH → const String
"VIDEO_WIDTH"
PAUSE_FLAG_PAUSE_AUDIO → const int
2
PAUSE_FLAG_PAUSE_VIDEO → const int
1
PLAY_ERR_FILE_NOT_FOUND → const int
-2303
PLAY_ERR_GET_PLAYINFO_FAIL → const int
-2306
PLAY_ERR_GET_RTMP_ACC_URL_FAIL → const int
-2302
PLAY_ERR_HEVC_DECODE_FAIL → const int
-2304
PLAY_ERR_HLS_KEY → const int
-2305
PLAY_ERR_NET_DISCONNECT → const int
-2301
PLAY_ERR_STREAM_SWITCH_FAIL → const int
-2307
PLAY_EVT_CHANGE_RESOLUTION → const int
2009
PLAY_EVT_CHANGE_ROTATION → const int
2011
PLAY_EVT_CONNECT_SUCC → const int
2001
PLAY_EVT_GET_FLVSESSIONKEY → const int
2030
PLAY_EVT_GET_MESSAGE → const int
2012
PLAY_EVT_GET_METADATA → const int
2028
PLAY_EVT_GET_PLAYINFO_SUCC → const int
2010
PLAY_EVT_PLAY_BEGIN → const int
2004
PLAY_EVT_PLAY_END → const int
2006
PLAY_EVT_PLAY_LOADING → const int
2007
PLAY_EVT_PLAY_PROGRESS → const int
2005
PLAY_EVT_RCV_FIRST_I_FRAME → const int
2003
PLAY_EVT_RTMP_STREAM_BEGIN → const int
2002
PLAY_EVT_START_VIDEO_DECODER → const int
2008
PLAY_EVT_STREAM_SWITCH_SUCC → const int
2015
PLAY_EVT_VOD_LOADING_END → const int
2014
PLAY_EVT_VOD_PLAY_PREPARED → const int
2013
PLAY_WARNING_AUDIO_DECODE_FAIL → const int
2102
PLAY_WARNING_DNS_FAIL → const int
3001
PLAY_WARNING_FIRST_IDR_HW_DECODE_FAIL → const int
2108
PLAY_WARNING_HW_ACCELERATION_FAIL → const int
2106
PLAY_WARNING_READ_WRITE_FAIL → const int
3005
PLAY_WARNING_RECONNECT → const int
2103
PLAY_WARNING_RECV_DATA_LAG → const int
2104
PLAY_WARNING_SEVER_CONN_FAIL → const int
3002
PLAY_WARNING_SHAKE_FAIL → const int
3003
PLAY_WARNING_VIDEO_DECODE_FAIL → const int
2101
PLAY_WARNING_VIDEO_DISCONTINUITY → const int
2107
PLAY_WARNING_VIDEO_PLAY_LAG → const int
2105
PUSH_ERR_AUDIO_ENCODE_FAIL → const int
-1304
PUSH_ERR_INVALID_ADDRESS → const int
-1313
PUSH_ERR_MIC_RECORD_FAIL → const int
-1311
PUSH_ERR_NET_DISCONNECT → const int
-1307
PUSH_ERR_OPEN_CAMERA_FAIL → const int
-1301
PUSH_ERR_OPEN_MIC_FAIL → const int
-1302
PUSH_ERR_SCREEN_CAPTURE_DISTURBED → const int
-1310
PUSH_ERR_SCREEN_CAPTURE_START_FAILED → const int
-1308
PUSH_ERR_SCREEN_CAPTURE_SWITCH_DISPLAY_FAILED → const int
-1312
PUSH_ERR_SCREEN_CAPTURE_UNSURPORT → const int
-1309
PUSH_ERR_UNSUPPORTED_RESOLUTION → const int
-1305
PUSH_ERR_UNSUPPORTED_SAMPLERATE → const int
-1306
PUSH_ERR_VIDEO_ENCODE_FAIL → const int
-1303
PUSH_EVT_CHANGE_BITRATE → const int
1006
PUSH_EVT_CHANGE_RESOLUTION → const int
1005
PUSH_EVT_CONNECT_SUCC → const int
1001
PUSH_EVT_FIRST_FRAME_AVAILABLE → const int
1007
PUSH_EVT_OPEN_CAMERA_SUCC → const int
1003
PUSH_EVT_PUSH_BEGIN → const int
1002
PUSH_EVT_ROOM_IN → const int
1018
PUSH_EVT_ROOM_IN_FAILED → const int
1022
PUSH_EVT_ROOM_NEED_REENTER → const int
1021
PUSH_EVT_ROOM_OUT → const int
1019
PUSH_EVT_ROOM_USER_AUDIO_STATE → const int
1034
PUSH_EVT_ROOM_USER_ENTER → const int
1031
PUSH_EVT_ROOM_USER_EXIT → const int
1032
PUSH_EVT_ROOM_USER_VIDEO_STATE → const int
1033
PUSH_EVT_ROOM_USERLIST → const int
1020
PUSH_EVT_SCREEN_CAPTURE_SUCC → const int
1004
PUSH_EVT_START_VIDEO_ENCODER → const int
1008
PUSH_WARNING_BEAUTYSURFACE_VIEW_INIT_FAIL → const int
1105
PUSH_WARNING_DNS_FAIL → const int
3001
PUSH_WARNING_HW_ACCELERATION_FAIL → const int
1103
PUSH_WARNING_NET_BUSY → const int
1101
PUSH_WARNING_READ_WRITE_FAIL → const int
3005
PUSH_WARNING_RECONNECT → const int
1102
PUSH_WARNING_SERVER_DISCONNECT → const int
3004
PUSH_WARNING_SEVER_CONN_FAIL → const int
3002
PUSH_WARNING_SHAKE_FAIL → const int
3003
PUSH_WARNING_VIDEO_ENCODE_BITRATE_OVERFLOW → const int
1106
PUSH_WARNING_VIDEO_ENCODE_FAIL → const int
1104
PUSH_WARNING_VIDEO_ENCODE_SW_SWITCH_HW → const int
1107
PUSH_WARNING_VIDEO_RENDER_FAIL → const int
2110
RENDER_MODE_ADJUST_RESOLUTION → const int
图像适应屏幕,保持画面完整,但如果图像宽高比不同于屏幕宽高比,会有黑边的存在。
1
RENDER_MODE_FULL_FILL_SCREEN → const int
画面填充模式 图像铺满屏幕,不留黑边,如果图像宽高比不同于屏幕宽高比,部分画面内容会被裁剪掉。
0
RENDER_ROTATION_0 → const int
画面旋转角度 HOME键在下方
0
RENDER_ROTATION_90 → const int
HOME键在左方 (注意:设置前置摄像头录制时是HOME键在右方)
90
RENDER_ROTATION_180 → const int
HOME键在上方
180
RENDER_ROTATION_270 → const int
HOME键在右方(注意:设置前置摄像头录制时是HOME键在左方)
270
RENDER_ROTATION_LANDSCAPE → const int
270
RENDER_ROTATION_PORTRAIT → const int
0
REVERB_TYPE_0 → const int
混响类型 关闭混响
0
REVERB_TYPE_1 → const int
KTV
1
REVERB_TYPE_2 → const int
小房间
2
REVERB_TYPE_3 → const int
大会堂
3
REVERB_TYPE_4 → const int
低沉
4
REVERB_TYPE_5 → const int
洪亮
5
REVERB_TYPE_6 → const int
金属声
6
REVERB_TYPE_7 → const int
磁性
7
RTMP_CHANNEL_TYPE_AUTO → const int
0
RTMP_CHANNEL_TYPE_PRIVATE → const int
2
RTMP_CHANNEL_TYPE_STANDARD → const int
1
TXRTMPSDK_AUDIO_PCMSOURCE_LOCALMERGER → const String
"TXRTMPSDK_AUDIO_PCMSOURCE_LOCALMERGER"
TXRTMPSDK_PUSHEVENT_SOURCE_OPENCAMERA → const String
"TXRTMPSDK_PUSHEVENT_SOURCE_OPENCAMERA"
TXRTMPSDK_PUSHEVENT_SOURCE_OPENMIC → const String
"TXRTMPSDK_PUSHEVENT_SOURCE_OPENMIC"
TXRTMPSDK_VIDEO_YUVSOURCE_LOCALCAMERA → const String
"TXRTMPSDK_VIDEO_YUVSOURCE_LOCALCAMERA"
VIDEO_ANGLE_HOME_DOWN → const int
1
VIDEO_ANGLE_HOME_LEFT → const int
2
VIDEO_ANGLE_HOME_RIGHT → const int
采集的视频的旋转角度
0
VIDEO_ANGLE_HOME_UP → const int
3
VIDEO_QUALITY_HIGH_DEFINITION → const int
高清:采用 540 × 960 的分辨率
2
VIDEO_QUALITY_LINKMIC_MAIN_PUBLISHER → const int
连麦场景下的大主播使用
4
VIDEO_QUALITY_LINKMIC_SUB_PUBLISHER → const int
连麦场景下的小主播(连麦的观众)使用
5
VIDEO_QUALITY_STANDARD_DEFINITION → const int
视频编码质量 标清:采用 360 × 640 的分辨率
1
VIDEO_QUALITY_SUPER_DEFINITION → const int
超清:采用 720 × 1280 的分辨率
3
VIDEO_QUALITY_ULTRA_DEFINITION → const int
蓝光:采用 1080 × 1920 的分辨率
7
VIDEO_RESOLUTION_TYPE_160_160 → const int
19
VIDEO_RESOLUTION_TYPE_180_320 → const int
7
VIDEO_RESOLUTION_TYPE_240_320 → const int
11
VIDEO_RESOLUTION_TYPE_270_270 → const int
18
VIDEO_RESOLUTION_TYPE_270_480 → const int
8
VIDEO_RESOLUTION_TYPE_320_180 → const int
9
VIDEO_RESOLUTION_TYPE_320_240 → const int
14
VIDEO_RESOLUTION_TYPE_320_480 → const int
6
VIDEO_RESOLUTION_TYPE_360_480 → const int
12
VIDEO_RESOLUTION_TYPE_360_640 → const int
0
VIDEO_RESOLUTION_TYPE_480_270 → const int
10
VIDEO_RESOLUTION_TYPE_480_360 → const int
15
VIDEO_RESOLUTION_TYPE_480_480 → const int
17
VIDEO_RESOLUTION_TYPE_480_640 → const int
13
VIDEO_RESOLUTION_TYPE_540_960 → const int
1
VIDEO_RESOLUTION_TYPE_640_360 → const int
3
VIDEO_RESOLUTION_TYPE_640_480 → const int
16
VIDEO_RESOLUTION_TYPE_720_1280 → const int
2
VIDEO_RESOLUTION_TYPE_960_540 → const int
4
VIDEO_RESOLUTION_TYPE_1080_1920 → const int
30
VIDEO_RESOLUTION_TYPE_1280_720 → const int
5
VIDEO_RESOLUTION_TYPE_1920_1080 → const int
31
VOICECHANGER_TYPE_0 → const int
变声选项 关闭变声
0
VOICECHANGER_TYPE_1 → const int
熊孩子
1
VOICECHANGER_TYPE_2 → const int
萝莉
2
VOICECHANGER_TYPE_3 → const int
大叔
3
VOICECHANGER_TYPE_4 → const int
重金属
4
VOICECHANGER_TYPE_5 → const int
感冒
5
VOICECHANGER_TYPE_6 → const int
外国人
6
VOICECHANGER_TYPE_7 → const int
困兽
7
VOICECHANGER_TYPE_8 → const int
死肥仔
8
VOICECHANGER_TYPE_9 → const int
强电流
9
VOICECHANGER_TYPE_10 → const int
重机械
10
VOICECHANGER_TYPE_11 → const int
空灵
11