Skip navigation links
A B C D E F G H I J L M N O P R S T V W X Y 

A

addClipInfo(PartInfo) - Method in class com.tencent.ugc.TXUGCPartsManager
添加视频片段到队列尾部 注意:添加的视频片段必须要跟录制的参数一致,否则会合成失败
addVideoRawData(byte[]) - Method in class com.tencent.rtmp.TXLivePlayer
5.1 设置软解码数据载体 Buffer 三个注意点: - 该 Buffer 用于接受软解回调出来的 I420 格式的 YUV 数据。 - Buffer 大小 = width * height * 3 / 2。 - 视频 width 、 height,可通过 ITXLivePlayListener.onPlayEvent(int, Bundle)TXLiveConstants.PLAY_EVT_CHANGE_RESOLUTION 事件获取到。
addVideoRawData(byte[]) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
animatedPasterPathFolder - Variable in class com.tencent.ugc.TXVideoEditConstants.TXAnimatedPaster
 
AUDIO_ROUTE_RECEIVER - Static variable in class com.tencent.rtmp.TXLiveConstants
 
AUDIO_ROUTE_SPEAKER - Static variable in class com.tencent.rtmp.TXLiveConstants
 
AUDIO_SAMPLERATE_16000 - Static variable in class com.tencent.ugc.TXRecordCommon
 
AUDIO_SAMPLERATE_32000 - Static variable in class com.tencent.ugc.TXRecordCommon
 
AUDIO_SAMPLERATE_44100 - Static variable in class com.tencent.ugc.TXRecordCommon
 
AUDIO_SAMPLERATE_48000 - Static variable in class com.tencent.ugc.TXRecordCommon
 
AUDIO_SAMPLERATE_8000 - Static variable in class com.tencent.ugc.TXRecordCommon
音频采样率
audioSampleRate - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCCustomConfig
 
audioSampleRate - Variable in class com.tencent.ugc.TXVideoEditConstants.TXVideoInfo
 
AUTO_ADJUST_BITRATE_RESOLUTION_STRATEGY_1 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
AUTO_ADJUST_BITRATE_RESOLUTION_STRATEGY_2 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
AUTO_ADJUST_BITRATE_STRATEGY_1 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
AUTO_ADJUST_BITRATE_STRATEGY_2 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
AUTO_ADJUST_LIVEPUSH_RESOLUTION_STRATEGY - Static variable in class com.tencent.rtmp.TXLiveConstants
 
AUTO_ADJUST_LIVEPUSH_STRATEGY - Static variable in class com.tencent.rtmp.TXLiveConstants
 
AUTO_ADJUST_NONE - Static variable in class com.tencent.rtmp.TXLiveConstants
 
AUTO_ADJUST_REALTIME_BITRATE_RESOLUTION_STRATEGY - Static variable in class com.tencent.rtmp.TXLiveConstants
 
AUTO_ADJUST_REALTIME_BITRATE_STRATEGY - Static variable in class com.tencent.rtmp.TXLiveConstants
 
AUTO_ADJUST_REALTIME_VIDEOCHAT_STRATEGY - Static variable in class com.tencent.rtmp.TXLiveConstants
 

B

BEAUTY_STYLE_HAZY - Static variable in class com.tencent.rtmp.TXLiveConstants
 
BEAUTY_STYLE_NATURE - Static variable in class com.tencent.rtmp.TXLiveConstants
 
BEAUTY_STYLE_SMOOTH - Static variable in class com.tencent.rtmp.TXLiveConstants
 
bitrate - Variable in class com.tencent.rtmp.TXBitrateItem
 
bitrate - Variable in class com.tencent.ugc.TXVideoEditConstants.TXVideoInfo
 

C

callExperimentalAPI(String) - Method in class com.tencent.rtmp.TXLivePlayer
3.10 调用实验性 API 接口
callExperimentalAPI(String) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
cancel() - Method in class com.tencent.ugc.TXVideoEditer
取消裁剪
cancel() - Method in class com.tencent.ugc.TXVideoInfoReader
 
cancel() - Method in class com.tencent.ugc.TXVideoJoiner
取消合成
com.tencent.rtmp - package com.tencent.rtmp
 
com.tencent.ugc - package com.tencent.ugc
 
compareTo(TXBitrateItem) - Method in class com.tencent.rtmp.TXBitrateItem
 
count - Variable in class com.tencent.ugc.TXVideoEditConstants.TXThumbnail
 
coverImage - Variable in class com.tencent.ugc.TXVideoEditConstants.TXVideoInfo
 
coverPath - Variable in class com.tencent.ugc.TXRecordCommon.TXRecordResult
 
CUSTOM_MODE_AUDIO_CAPTURE - Static variable in class com.tencent.rtmp.TXLiveConstants
自定义音视频采集、预处理类型
CUSTOM_MODE_AUDIO_PREPROCESS - Static variable in class com.tencent.rtmp.TXLiveConstants
 
CUSTOM_MODE_VIDEO_CAPTURE - Static variable in class com.tencent.rtmp.TXLiveConstants
 
CUSTOM_MODE_VIDEO_PREPROCESS - Static variable in class com.tencent.rtmp.TXLiveConstants
 

D

d(String, String) - Static method in class com.tencent.rtmp.TXLog
输出DEBUG级别的log.
DEFAULT_MAX_VIDEO_BITRATE - Static variable in class com.tencent.rtmp.TXLivePushConfig
 
DEFAULT_MIN_VIDEO_BITRATE - Static variable in class com.tencent.rtmp.TXLivePushConfig
 
deleteAllEffect() - Method in class com.tencent.ugc.TXVideoEditer
删除所有滤镜特效 [精简版不支持]
deleteAllParts() - Method in class com.tencent.ugc.TXUGCPartsManager
删除所有分段
deleteLastEffect() - Method in class com.tencent.ugc.TXVideoEditer
删除上一次添加的滤镜特效操作 [精简版不支持]
deleteLastPart() - Method in class com.tencent.ugc.TXUGCPartsManager
删除最后一段分段
deletePart(int) - Method in class com.tencent.ugc.TXUGCPartsManager
删除指定分段
descMsg - Variable in class com.tencent.ugc.TXRecordCommon.TXRecordResult
 
descMsg - Variable in class com.tencent.ugc.TXVideoEditConstants.TXGenerateResult
 
descMsg - Variable in class com.tencent.ugc.TXVideoEditConstants.TXJoinerResult
 
didDetectFacePoints(float[]) - Method in class com.tencent.ugc.TXUGCRecord
 
didProcessFrame(int, int, int, long) - Method in class com.tencent.ugc.TXUGCRecord
 
didProcessFrame(byte[], int, int, int, long) - Method in class com.tencent.ugc.TXUGCRecord
 
duration - Variable in class com.tencent.ugc.TXVideoEditConstants.TXVideoInfo
 

E

e(String, String) - Static method in class com.tencent.rtmp.TXLog
输出ERROR级别的log.
enableAEC(boolean) - Method in class com.tencent.rtmp.TXLivePlayConfig
2.2 设置回声消除 接口说明: - 默认值为:false。 - 连麦时必须开启,非连麦时不要开启
enableAEC(boolean) - Method in class com.tencent.rtmp.TXLivePushConfig
6.1 设置回声消除 接口说明: - 默认值:false。 - 连麦时必须开启,非连麦时不要开启。
enableAudioVolumeEvaluation(int) - Method in class com.tencent.rtmp.TXLivePlayer
3.9 启用音量大小评估 开启后会在 onAudioVolumeEvaluationNotify 中获取到 SDK 对音量大小值的评估。
enableAudioVolumeEvaluation(int) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
enableHardwareDecode(boolean) - Method in class com.tencent.rtmp.TXLivePlayer
3.3 开启硬件加速
enableHardwareDecode(boolean) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
enableHardwareDecode(boolean) - Method in class com.tencent.rtmp.TXVodPlayer
启用或禁用视频硬解码.
enableHighResolutionCaptureMode(boolean) - Method in class com.tencent.rtmp.TXLivePushConfig
3.13 是否固定摄像头的采集分辨率为 720p 接口说明: - 默认值:true,采用 1280 × 720 的采集分辨率。
enablePureAudioPush(boolean) - Method in class com.tencent.rtmp.TXLivePushConfig
3.11 开启纯音频推流 接口说明: - 默认值:false。 - 只有在推流启动前设置才会生效,推流过程中设置不会生效。
enableScreenCaptureAutoRotate(boolean) - Method in class com.tencent.rtmp.TXLivePushConfig
3.12 设置录屏推流时是否要根据情况自适应旋转(仅用于录屏推流) 接口说明: - 默认值:false。
enableVideoHardEncoderMainProfile(boolean) - Method in class com.tencent.rtmp.TXLivePushConfig
6.3 是否开启 MainProfile 硬编码模式 接口说明: - 默认值:true,此参数仅在开启硬件编码加速时有效。
ENCODE_SPEED_FAST - Static variable in class com.tencent.ugc.TXUGCRecord
 
ENCODE_SPEED_FASTEST - Static variable in class com.tencent.ugc.TXUGCRecord
 
ENCODE_SPEED_SLOW - Static variable in class com.tencent.ugc.TXUGCRecord
 
ENCODE_SPEED_SLOWEST - Static variable in class com.tencent.ugc.TXUGCRecord
 
ENCODE_VIDEO_AUTO - Static variable in class com.tencent.rtmp.TXLiveConstants
 
ENCODE_VIDEO_HARDWARE - Static variable in class com.tencent.rtmp.TXLiveConstants
 
ENCODE_VIDEO_SOFTWARE - Static variable in class com.tencent.rtmp.TXLiveConstants
软硬编选项
endTime - Variable in class com.tencent.ugc.TXVideoEditConstants.TXAnimatedPaster
 
endTime - Variable in class com.tencent.ugc.TXVideoEditConstants.TXPaster
 
endTime - Variable in class com.tencent.ugc.TXVideoEditConstants.TXRepeat
 
endTime - Variable in class com.tencent.ugc.TXVideoEditConstants.TXSpeed
 
endTime - Variable in class com.tencent.ugc.TXVideoEditConstants.TXSubtitle
 
ERR_OUTPUT_EMPTY - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
ERR_OUTPUT_SAMEAS_INPUT - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
ERR_SOURCE_DAMAGED - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
ERR_SOURCE_NO_FOUND - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
ERR_SOURCE_NO_TRACK - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
ERR_UNFOUND_FILEINFO - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
ERR_UNSUPPORT_AUDIO_FORMAT - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
ERR_UNSUPPORT_LARGE_RESOLUTION - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
ERR_UNSUPPORT_VIDEO_FORMAT - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
errorCode - Variable in class com.tencent.ugc.TXVideoEditConstants.TXPreviewError
 
errorMsg - Variable in class com.tencent.ugc.TXVideoEditConstants.TXPreviewError
 
EVT_CAMERA_CANNOT_USE - Static variable in class com.tencent.ugc.TXRecordCommon
 
EVT_DESCRIPTION - Static variable in class com.tencent.rtmp.TXLiveConstants
 
EVT_DESCRIPTION - Static variable in class com.tencent.ugc.TXRecordCommon
 
EVT_GET_MSG - Static variable in class com.tencent.rtmp.TXLiveConstants
 
EVT_ID_PAUSE - Static variable in class com.tencent.ugc.TXRecordCommon
录制事件参数
EVT_ID_RESUME - Static variable in class com.tencent.ugc.TXRecordCommon
 
EVT_MIC_CANNOT_USE - Static variable in class com.tencent.ugc.TXRecordCommon
 
EVT_PARAM1 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
EVT_PARAM1 - Static variable in class com.tencent.ugc.TXRecordCommon
 
EVT_PARAM2 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
EVT_PARAM2 - Static variable in class com.tencent.ugc.TXRecordCommon
 
EVT_PLAY_COVER_URL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
EVT_PLAY_DESCRIPTION - Static variable in class com.tencent.rtmp.TXLiveConstants
 
EVT_PLAY_DURATION - Static variable in class com.tencent.rtmp.TXLiveConstants
 
EVT_PLAY_DURATION_MS - Static variable in class com.tencent.rtmp.TXLiveConstants
 
EVT_PLAY_NAME - Static variable in class com.tencent.rtmp.TXLiveConstants
 
EVT_PLAY_PROGRESS - Static variable in class com.tencent.rtmp.TXLiveConstants
 
EVT_PLAY_PROGRESS_MS - Static variable in class com.tencent.rtmp.TXLiveConstants
 
EVT_PLAY_URL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
EVT_PLAYABLE_DURATION_MS - Static variable in class com.tencent.rtmp.TXLiveConstants
 
EVT_TIME - Static variable in class com.tencent.rtmp.TXLiveConstants
事件参数
EVT_TIME - Static variable in class com.tencent.ugc.TXRecordCommon
 

F

fileSize - Variable in class com.tencent.ugc.TXVideoEditConstants.TXVideoInfo
 
fps - Variable in class com.tencent.ugc.TXVideoEditConstants.TXVideoInfo
 
frame - Variable in class com.tencent.ugc.TXVideoEditConstants.TXAnimatedPaster
 
frame - Variable in class com.tencent.ugc.TXVideoEditConstants.TXPaster
 
frame - Variable in class com.tencent.ugc.TXVideoEditConstants.TXSubtitle
 

G

GENERATE_RESULT_FAILED - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
GENERATE_RESULT_LICENCE_VERIFICATION_FAILED - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
GENERATE_RESULT_OK - Static variable in class com.tencent.ugc.TXVideoEditConstants
视频编辑结果错误码定义 生成会校验TXUgvSDK.licence,因此会返回校验的错误码
generateVideo(int, String) - Method in class com.tencent.ugc.TXVideoEditer
根据操作列表生成最终视频文件
getAppId() - Method in class com.tencent.rtmp.TXPlayerAuthBuilder
 
getBGMDuration(String) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
getBitrateIndex() - Method in class com.tencent.rtmp.TXVodPlayer
返回当前播放的码率索引
getBufferDuration() - Method in class com.tencent.rtmp.TXVodPlayer
 
getByteBuffer() - Method in class com.tencent.ugc.TXAudioFrame
 
getConfig() - Method in class com.tencent.rtmp.TXLivePusher
1.3 获取推流器配置信息。
getConfig() - Method in class com.tencent.rtmp.TXLivePusherImpl
 
getCurrentPlaybackTime() - Method in class com.tencent.rtmp.TXVodPlayer
获取当前播放位置
getDuration() - Method in class com.tencent.rtmp.TXVodPlayer
获取总时长
getDuration() - Method in class com.tencent.ugc.PartInfo
获取该片段的时长,单位毫秒
getDuration() - Method in class com.tencent.ugc.TXUGCPartsManager
获取所有分段的总时长
getExper() - Method in class com.tencent.rtmp.TXPlayerAuthBuilder
 
getFileId() - Method in class com.tencent.rtmp.TXPlayerAuthBuilder
 
getHeight() - Method in class com.tencent.rtmp.TXVodPlayer
获取视频高度
getInstance() - Static method in class com.tencent.rtmp.TXLiveBase
 
getInstance() - Static method in class com.tencent.ugc.TXUGCBase
 
getInstance(Context) - Static method in class com.tencent.ugc.TXUGCRecord
获取录制实例
getInstance() - Static method in class com.tencent.ugc.TXVideoInfoReader
 
getLength() - Method in class com.tencent.ugc.TXAudioFrame
 
getLicenceInfo(Context) - Method in class com.tencent.rtmp.TXLiveBase
获取 license 信息
getLicenceInfo(Context) - Method in class com.tencent.ugc.TXUGCBase
 
getMaxZoom() - Method in class com.tencent.rtmp.TXLivePusher
3.6 获取摄像头支持的焦距
getMaxZoom() - Method in class com.tencent.rtmp.TXLivePusherImpl
 
getMaxZoom() - Method in class com.tencent.ugc.TXUGCRecord
获取摄像头支持的最大焦距,此方法同时可以检查是否支持变焦
getMusicDuration(String) - Method in class com.tencent.rtmp.TXLivePusher
6.7 获取背景音乐文件的总时长,单位是毫秒
getMusicDuration(String) - Method in class com.tencent.ugc.TXUGCRecord
获取音乐文件时长.
getPartsManager() - Method in class com.tencent.ugc.TXUGCRecord
 
getPartsPathList() - Method in class com.tencent.ugc.TXUGCPartsManager
获取本次录制所有片段的路径
getPath() - Method in class com.tencent.ugc.PartInfo
获取视频片段路径
getPituSDKVersion() - Static method in class com.tencent.rtmp.TXLiveBase
获取企业版P图SDK版本,非企业版为空String ""
getPlayableDuration() - Method in class com.tencent.rtmp.TXVodPlayer
获取可播放时长
getSampleImage(long, String) - Method in class com.tencent.ugc.TXVideoInfoReader
根据时间获取单帧图片
getSampleImages(int, String, TXVideoInfoReader.OnSampleProgrocess) - Method in class com.tencent.ugc.TXVideoInfoReader
根据文件个数获取视频缩略图
getSDKVersionStr() - Static method in class com.tencent.rtmp.TXLiveBase
获取SDK版本信息.
getSign() - Method in class com.tencent.rtmp.TXPlayerAuthBuilder
 
getSupportedBitrates() - Method in class com.tencent.rtmp.TXVodPlayer
当播放地址为master playlist,返回支持的码率(清晰度)
getThumbnail(float) - Method in class com.tencent.rtmp.TXImageSprite
获取缩略图
getThumbnail(List<Long>, int, int, boolean, TXVideoEditer.TXThumbnailListener) - Method in class com.tencent.ugc.TXVideoEditer
获取缩略图列表
getThumbnail(int, int, int, boolean, TXVideoEditer.TXThumbnailListener) - Method in class com.tencent.ugc.TXVideoEditer
获取缩略图列表
getTimeout() - Method in class com.tencent.rtmp.TXPlayerAuthBuilder
 
getUs() - Method in class com.tencent.rtmp.TXPlayerAuthBuilder
 
getVideoFileInfo(String) - Method in class com.tencent.ugc.TXVideoInfoReader
获取视频信息
getWidth() - Method in class com.tencent.rtmp.TXVodPlayer
获取视频宽度

H

height - Variable in class com.tencent.rtmp.TXBitrateItem
 
height - Variable in class com.tencent.ugc.TXVideoEditConstants.ThumbnailTime
 
height - Variable in class com.tencent.ugc.TXVideoEditConstants.TXAbsoluteRect
 
height - Variable in class com.tencent.ugc.TXVideoEditConstants.TXThumbnail
 
height - Variable in class com.tencent.ugc.TXVideoEditConstants.TXVideoInfo
 

I

i(String, String) - Static method in class com.tencent.rtmp.TXLog
输出INFO级别的log.
index - Variable in class com.tencent.rtmp.TXBitrateItem
 
initWithPreview(TXVideoEditConstants.TXPreviewParam) - Method in class com.tencent.ugc.TXVideoEditer
初始化预览View
initWithPreview(TXVideoEditConstants.TXPreviewParam) - Method in class com.tencent.ugc.TXVideoJoiner
初始化预览View
insertPart(String, int) - Method in class com.tencent.ugc.TXUGCPartsManager
插入视频片段 您可以添加当前录制视频之外的视频,调用stopRecord()的时候,SDK会把所有的视频合成(这里添加的视频需要和录制视频的参数保持一致,否则会合成失败)
isFront - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCCustomConfig
 
isFront - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCSimpleConfig
 
isHttps() - Method in class com.tencent.rtmp.TXPlayerAuthBuilder
 
isLibraryPathValid(String) - Static method in class com.tencent.rtmp.TXLiveBase
检查LibraryPath的有效性,
isLoop() - Method in class com.tencent.rtmp.TXVodPlayer
 
isPlaying() - Method in class com.tencent.rtmp.TXLivePlayer
2.4 是否正在播放
isPlaying() - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
isPlaying() - Method in class com.tencent.rtmp.TXVodPlayer
是否正在播放.
isPushing() - Method in class com.tencent.rtmp.TXLivePusher
2.9 查询是否正在推流
isPushing() - Method in class com.tencent.rtmp.TXLivePusherImpl
 
ITXLiveBaseListener - Interface in com.tencent.rtmp
Created by randewang on 2017/7/21.
ITXLivePlayListener - Interface in com.tencent.rtmp
 
ITXLivePushListener - Interface in com.tencent.rtmp
 
ITXVodPlayListener - Interface in com.tencent.rtmp
 

J

JOIN_RESULT_FAILED - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
JOIN_RESULT_LICENCE_VERIFICATION_FAILED - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
JOIN_RESULT_OK - Static variable in class com.tencent.ugc.TXVideoEditConstants
视频合成结果错误码定义 合成会校验TXUgvSDK.licence,因此会返回校验的错误码
joinVideo(int, String) - Method in class com.tencent.ugc.TXVideoJoiner
合成

L

LOG_LEVEL_DEBUG - Static variable in class com.tencent.rtmp.TXLiveConstants
 
LOG_LEVEL_ERROR - Static variable in class com.tencent.rtmp.TXLiveConstants
 
LOG_LEVEL_FATAL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
LOG_LEVEL_INFO - Static variable in class com.tencent.rtmp.TXLiveConstants
 
LOG_LEVEL_NULL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
LOG_LEVEL_VERBOSE - Static variable in class com.tencent.rtmp.TXLiveConstants
log输出级别TXE_VIDEO_DECODER_EVENT_SOFTWARE_OPEN_FAIL
LOG_LEVEL_WARN - Static variable in class com.tencent.rtmp.TXLiveConstants
 

M

maxDuration - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCCustomConfig
 
maxDuration - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCSimpleConfig
 
minDuration - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCCustomConfig
 
minDuration - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCSimpleConfig
 

N

needEdit - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCCustomConfig
 
needEdit - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCSimpleConfig
 
NET_STATUS_AUDIO_BITRATE - Static variable in class com.tencent.rtmp.TXLiveConstants
 
NET_STATUS_AUDIO_CACHE - Static variable in class com.tencent.rtmp.TXLiveConstants
 
NET_STATUS_AUDIO_CACHE_THRESHOLD - Static variable in class com.tencent.rtmp.TXLiveConstants
 
NET_STATUS_AUDIO_DROP - Static variable in class com.tencent.rtmp.TXLiveConstants
 
NET_STATUS_AUDIO_INFO - Static variable in class com.tencent.rtmp.TXLiveConstants
 
NET_STATUS_AV_PLAY_INTERVAL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
NET_STATUS_AV_RECV_INTERVAL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
NET_STATUS_CPU_USAGE - Static variable in class com.tencent.rtmp.TXLiveConstants
网络状态通知
NET_STATUS_NET_JITTER - Static variable in class com.tencent.rtmp.TXLiveConstants
 
NET_STATUS_NET_SPEED - Static variable in class com.tencent.rtmp.TXLiveConstants
 
NET_STATUS_SERVER_IP - Static variable in class com.tencent.rtmp.TXLiveConstants
 
NET_STATUS_V_DEC_CACHE_SIZE - Static variable in class com.tencent.rtmp.TXLiveConstants
 
NET_STATUS_V_SUM_CACHE_SIZE - Static variable in class com.tencent.rtmp.TXLiveConstants
 
NET_STATUS_VIDEO_BITRATE - Static variable in class com.tencent.rtmp.TXLiveConstants
 
NET_STATUS_VIDEO_CACHE - Static variable in class com.tencent.rtmp.TXLiveConstants
 
NET_STATUS_VIDEO_DPS - Static variable in class com.tencent.rtmp.TXLiveConstants
 
NET_STATUS_VIDEO_DROP - Static variable in class com.tencent.rtmp.TXLiveConstants
 
NET_STATUS_VIDEO_FPS - Static variable in class com.tencent.rtmp.TXLiveConstants
 
NET_STATUS_VIDEO_GOP - Static variable in class com.tencent.rtmp.TXLiveConstants
 
NET_STATUS_VIDEO_HEIGHT - Static variable in class com.tencent.rtmp.TXLiveConstants
 
NET_STATUS_VIDEO_WIDTH - Static variable in class com.tencent.rtmp.TXLiveConstants
 

O

onAudioInfoChanged(int, int, int) - Method in interface com.tencent.rtmp.TXLivePlayer.ITXAudioRawDataListener
音频播放信息回调
onAudioVolumeEvaluationNotify(int) - Method in interface com.tencent.rtmp.TXLivePlayer.ITXAudioVolumeEvaluationListener
播放器音量大小回调
onBackgroudPushStop() - Method in class com.tencent.rtmp.TXLivePusherImpl
 
onBGMComplete(int) - Method in interface com.tencent.rtmp.TXLivePusher.OnBGMNotify
音乐播放结束的回调通知
onBGMComplete(int) - Method in interface com.tencent.ugc.TXRecordCommon.ITXBGMNotify
音乐播放结束的回调通知
onBGMProgress(long, long) - Method in interface com.tencent.rtmp.TXLivePusher.OnBGMNotify
音乐播放进度的回调通知
onBGMProgress(long, long) - Method in interface com.tencent.ugc.TXRecordCommon.ITXBGMNotify
音乐播放进度的回调通知
onBGMStart() - Method in interface com.tencent.rtmp.TXLivePusher.OnBGMNotify
音乐播放开始的回调通知
onBGMStart() - Method in interface com.tencent.ugc.TXRecordCommon.ITXBGMNotify
音乐播放开始的回调通知
onBufferProcess(byte[], float[]) - Method in class com.tencent.ugc.TXUGCRecord
 
onDeleteAllParts() - Method in interface com.tencent.ugc.TXUGCPartsManager.IPartsManagerListener
 
onDeleteAllParts() - Method in class com.tencent.ugc.TXUGCRecord
 
onDeleteLastPart() - Method in interface com.tencent.ugc.TXUGCPartsManager.IPartsManagerListener
 
onDeleteLastPart() - Method in class com.tencent.ugc.TXUGCRecord
 
onDetectFacePoints(float[]) - Method in interface com.tencent.rtmp.TXLivePusher.VideoCustomProcessListener
增值版回调人脸坐标
onDetectFacePoints(float[]) - Method in interface com.tencent.ugc.TXUGCRecord.VideoCustomProcessListener
增值版回调人脸坐标
onEncodeFinished(long, long, long) - Method in class com.tencent.ugc.TXUGCRecord
 
onEncodeFormat(MediaFormat) - Method in class com.tencent.ugc.TXUGCRecord
 
onEncodeNAL(TXSNALPacket, int) - Method in class com.tencent.ugc.TXUGCRecord
 
onGenerateComplete(TXVideoEditConstants.TXGenerateResult) - Method in interface com.tencent.ugc.TXVideoEditer.TXVideoGenerateListener
短视频生成完成
onGenerateProgress(float) - Method in interface com.tencent.ugc.TXVideoEditer.TXVideoGenerateListener
短视频生成进度 progress 生成视频进度百分比
onJoinComplete(TXVideoEditConstants.TXJoinerResult) - Method in interface com.tencent.ugc.TXVideoJoiner.TXVideoJoinerListener
短视频生成完成
onJoinProgress(float) - Method in interface com.tencent.ugc.TXVideoJoiner.TXVideoJoinerListener
短视频生成完成 progress 生成视频进度百分比
OnLog(int, String, String) - Method in interface com.tencent.rtmp.ITXLiveBaseListener
SDK内部log的回调.
onLogRecord(String) - Method in class com.tencent.rtmp.TXLivePusher
9.2 输出自己的 log,保存到 SDK 内部的 xlog 文件中
onLogRecord(String) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
onNetFailed(TXCVodPlayerNetApi, String, int) - Method in class com.tencent.rtmp.TXVodPlayer
 
onNetStatus(Bundle) - Method in interface com.tencent.rtmp.ITXLivePlayListener
网络状态通知。
onNetStatus(Bundle) - Method in interface com.tencent.rtmp.ITXLivePushListener
网络状态通知。
onNetStatus(TXVodPlayer, Bundle) - Method in interface com.tencent.rtmp.ITXVodPlayListener
网络状态通知.
onNetSuccess(TXCVodPlayerNetApi) - Method in class com.tencent.rtmp.TXVodPlayer
 
onNotifyEvent(int, Bundle) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
onNotifyEvent(int, Bundle) - Method in class com.tencent.rtmp.TXVodPlayer
 
onNotifyEvent(int, Bundle) - Method in class com.tencent.ugc.TXUGCRecord
 
onPCMCallback(TXAudioFrame) - Method in interface com.tencent.ugc.TXVideoEditer.TXPCMCallbackListener
 
onPcmDataAvailable(byte[], long) - Method in interface com.tencent.rtmp.TXLivePlayer.ITXAudioRawDataListener
音频播放数据回调,数据格式 :PCM 音频播放器会在播放数据的前一刻,调用此函数,同步回调将要播放的数据。因此在函数内部做耗时操作可能会影响播放。
onPlayEvent(int, Bundle) - Method in interface com.tencent.rtmp.ITXLivePlayListener
播放事件通知。
onPlayEvent(TXVodPlayer, int, Bundle) - Method in interface com.tencent.rtmp.ITXVodPlayListener
播放事件通知.
onPreviewError(TXVideoEditConstants.TXPreviewError) - Method in interface com.tencent.ugc.TXVideoEditer.TXVideoPreviewListenerEx
短视频预览过程中发生错误
onPreviewFinished() - Method in interface com.tencent.ugc.TXVideoEditer.TXVideoPreviewListener
短视频预览结束回调
onPreviewFinished() - Method in interface com.tencent.ugc.TXVideoJoiner.TXVideoPreviewListener
短视频预览结束回调
onPreviewProgress(int) - Method in interface com.tencent.ugc.TXVideoEditer.TXVideoPreviewListener
短视频预览进度,单位us
onPreviewProgress(int) - Method in interface com.tencent.ugc.TXVideoJoiner.TXVideoPreviewListener
短视频预览进度
onProcessComplete(TXVideoEditConstants.TXGenerateResult) - Method in interface com.tencent.ugc.TXVideoEditer.TXVideoProcessListener
短视频预处理完成
onProcessProgress(float) - Method in interface com.tencent.ugc.TXVideoEditer.TXVideoProcessListener
短视频预处理进度
onPushEvent(int, Bundle) - Method in interface com.tencent.rtmp.ITXLivePushListener
推流事件通知。
onRecordComplete(TXRecordCommon.TXRecordResult) - Method in interface com.tencent.ugc.TXRecordCommon.ITXVideoRecordListener
短视频录制完成
onRecordEncData(byte[], long, int, int, int) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
onRecordEncData(byte[], long, int, int, int) - Method in class com.tencent.ugc.TXUGCRecord
 
onRecordError(int, String) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
onRecordError(int, String) - Method in class com.tencent.ugc.TXUGCRecord
 
onRecordEvent(int, Bundle) - Method in interface com.tencent.ugc.TXRecordCommon.ITXVideoRecordListener
短视频录制事件通知
onRecordPcmData(byte[], long, int, int, int) - Method in interface com.tencent.rtmp.TXLivePusher.AudioCustomProcessListener
回调 SDK 录制音频 PCM 数据
onRecordPcmData(byte[], long, int, int, int) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
onRecordPcmData(byte[], long, int, int, int) - Method in class com.tencent.ugc.TXUGCRecord
 
onRecordProgress(long) - Method in interface com.tencent.ugc.TXRecordCommon.ITXVideoRecordListener
短视频录制进度
onRecordRawPcmData(byte[], long, int, int, int, boolean) - Method in interface com.tencent.rtmp.TXLivePusher.AudioCustomProcessListener
回调未经过任何处理的 SDK 录制音频 PCM 数据
onRecordRawPcmData(byte[], long, int, int, int, boolean) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
onRecordRawPcmData(byte[], long, int, int, int, boolean) - Method in class com.tencent.ugc.TXUGCRecord
 
onSnapshot(Bitmap) - Method in interface com.tencent.rtmp.TXLivePlayer.ITXSnapshotListener
截图回调
onSnapshot(Bitmap) - Method in interface com.tencent.rtmp.TXLivePusher.ITXSnapshotListener
 
onSnapshot(Bitmap) - Method in interface com.tencent.rtmp.TXVodPlayer.ITXSnapshotListener
截图回调
onSnapshot(Bitmap) - Method in interface com.tencent.ugc.TXRecordCommon.ITXSnapshotListener
 
onSurfaceTextureAvailable(SurfaceTexture) - Method in class com.tencent.ugc.TXUGCRecord
 
onSurfaceTextureDestroy(SurfaceTexture) - Method in class com.tencent.ugc.TXUGCRecord
 
onTextureCustomProcess(int, int, int) - Method in interface com.tencent.rtmp.TXLivePusher.VideoCustomProcessListener
在 OpenGL 线程中回调,在这里可以进行采集图像的二次处理
onTextureCustomProcess(int, int, int) - Method in interface com.tencent.ugc.TXUGCRecord.VideoCustomProcessListener
在OpenGL线程中回调,在这里可以进行采集图像的二次处理
onTextureCustomProcess(int, int, int, long) - Method in interface com.tencent.ugc.TXVideoEditer.TXVideoCustomProcessListener
在OpenGL线程中回调,在这里可以进行采集图像的二次处理
onTextureDestoryed() - Method in interface com.tencent.rtmp.TXLivePusher.VideoCustomProcessListener
在 OpenGL 线程中回调,可以在这里释放创建的 OpenGL 资源
onTextureDestroyed() - Method in interface com.tencent.ugc.TXUGCRecord.VideoCustomProcessListener
在OpenGL线程中回调,可以在这里释放创建的OpenGL资源
onTextureDestroyed() - Method in interface com.tencent.ugc.TXVideoEditer.TXVideoCustomProcessListener
在OpenGL线程中回调,可以在这里释放创建的OpenGL资源
onTextureProcess(int, float[]) - Method in class com.tencent.ugc.TXUGCRecord
 
onThumbnail(int, long, Bitmap) - Method in interface com.tencent.ugc.TXVideoEditer.TXThumbnailListener
 
onVideoRawDataAvailable(byte[], int, int, int) - Method in interface com.tencent.rtmp.TXLivePlayer.ITXVideoRawDataListener
软解码器解出一帧数据回调一次 需要在回调中再次调用TXLivePlayer.addVideoRawData(byte[])将 buffer 塞给 SDK 来填充下一帧 YUV 数据。

P

PartInfo - Class in com.tencent.ugc
Created by vinsonswang on 2017/8/25.
PartInfo() - Constructor for class com.tencent.ugc.PartInfo
 
pasterImage - Variable in class com.tencent.ugc.TXVideoEditConstants.TXPaster
 
pause() - Method in class com.tencent.rtmp.TXLivePlayer
2.5 暂停播放 停止获取流数据,保留最后一帧画面。
pause() - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
pause() - Method in class com.tencent.rtmp.TXVodPlayer
暂停播放,停止获取流数据,保留最后一帧画面.
PAUSE_FLAG_PAUSE_AUDIO - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PAUSE_FLAG_PAUSE_VIDEO - Static variable in class com.tencent.rtmp.TXLiveConstants
pause选项
pauseBGM() - Method in class com.tencent.rtmp.TXLivePusher
6.5 暂停播放背景音乐
pauseBGM() - Method in class com.tencent.rtmp.TXLivePusherImpl
 
pauseBGM() - Method in class com.tencent.ugc.TXUGCRecord
暂停播放背景音乐 [精简版不支持]
pausePlay() - Method in class com.tencent.ugc.TXVideoEditer
暂停播放
pausePlay() - Method in class com.tencent.ugc.TXVideoJoiner
暂停播放
pausePusher() - Method in class com.tencent.rtmp.TXLivePusher
2.7 暂停摄像头(或屏幕)采集并进入垫片推流状态 SDK 会暂时停止摄像头(或屏幕)采集,并使用 TXLivePushConfig.pauseImg 中指定的图片作为替代图像进行推流,也就是所谓的“垫片”。 这项功能常用于 App 被切到后台运行的场景,尤其是在 iOS 系统中,当 App 切到后台以后,操作系统不会再允许该 App 继续使用摄像头。 此时就可以通过调用 pausePush() 进入垫片状态。 对于绝大多数推流服务器而言,如果超过一定时间不推视频数据,服务器会断开当前的推流链接。 在 TXLivePushConfig 您可以指定: - pauseImg 设置后台推流的默认图片,不设置该参数,则默认为黑色背景。 - pauseFps 设置后台推流帧率,最小值为5,最大值为20,默认10。 - pauseTime 设置后台推流持续时长,单位秒,默认300秒。
pausePusher() - Method in class com.tencent.rtmp.TXLivePusherImpl
 
pauseRecord() - Method in class com.tencent.ugc.TXUGCRecord
暂停视频录制
PICTURE_TRANSITION_FAILED - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
PICTURE_TRANSITION_OK - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
PLAY_ERR_FILE_NOT_FOUND - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_ERR_GET_PLAYINFO_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_ERR_GET_RTMP_ACC_URL_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_ERR_HEVC_DECODE_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_ERR_HLS_KEY - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_ERR_NET_DISCONNECT - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_ERR_STREAM_SWITCH_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_EVT_CHANGE_RESOLUTION - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_EVT_CHANGE_ROTATION - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_EVT_CONNECT_SUCC - Static variable in class com.tencent.rtmp.TXLiveConstants
播放事件列表
PLAY_EVT_GET_MESSAGE - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_EVT_GET_METADATA - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_EVT_GET_PLAYINFO_SUCC - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_EVT_PLAY_BEGIN - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_EVT_PLAY_END - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_EVT_PLAY_LOADING - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_EVT_PLAY_PROGRESS - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_EVT_RCV_FIRST_I_FRAME - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_EVT_RTMP_STREAM_BEGIN - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_EVT_START_VIDEO_DECODER - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_EVT_STREAM_SWITCH_SUCC - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_EVT_VOD_LOADING_END - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_EVT_VOD_PLAY_PREPARED - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_SPEED_FAST - Static variable in class com.tencent.ugc.TXUGCRecord
 
PLAY_SPEED_FASTEST - Static variable in class com.tencent.ugc.TXUGCRecord
 
PLAY_SPEED_SLOW - Static variable in class com.tencent.ugc.TXUGCRecord
 
PLAY_SPEED_SLOWEST - Static variable in class com.tencent.ugc.TXUGCRecord
 
PLAY_TYPE_LIVE_FLV - Static variable in class com.tencent.rtmp.TXLivePlayer
 
PLAY_TYPE_LIVE_RTMP - Static variable in class com.tencent.rtmp.TXLivePlayer
播放类型
PLAY_TYPE_LIVE_RTMP_ACC - Static variable in class com.tencent.rtmp.TXLivePlayer
 
PLAY_TYPE_LOCAL_VIDEO - Static variable in class com.tencent.rtmp.TXLivePlayer
 
PLAY_TYPE_VOD_FLV - Static variable in class com.tencent.rtmp.TXLivePlayer
 
PLAY_TYPE_VOD_HLS - Static variable in class com.tencent.rtmp.TXLivePlayer
 
PLAY_TYPE_VOD_MP4 - Static variable in class com.tencent.rtmp.TXLivePlayer
 
PLAY_WARNING_AUDIO_DECODE_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_WARNING_DNS_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_WARNING_FIRST_IDR_HW_DECODE_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_WARNING_HW_ACCELERATION_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_WARNING_READ_WRITE_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_WARNING_RECONNECT - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_WARNING_RECV_DATA_LAG - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_WARNING_SEVER_CONN_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_WARNING_SHAKE_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_WARNING_VIDEO_DECODE_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_WARNING_VIDEO_DISCONTINUITY - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PLAY_WARNING_VIDEO_PLAY_LAG - Static variable in class com.tencent.rtmp.TXLiveConstants
 
playBGM(String) - Method in class com.tencent.rtmp.TXLivePusher
6.3 播放背景音乐 SDK 会将背景音乐和麦克风采集的声音进行混合并一起推送到云端。
playBGM(String) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
playBGMFromTime(int, int) - Method in class com.tencent.ugc.TXUGCRecord
播放背景音乐.
PLAYER_TYPE_EXO - Static variable in class com.tencent.rtmp.TXVodPlayer
 
PLAYER_TYPE_FFPLAY - Static variable in class com.tencent.rtmp.TXVodPlayer
播放器类型
prepareLiveSeek(String, int) - Method in class com.tencent.rtmp.TXLivePlayer
6.1 直播时移准备 使用说明: - 非腾讯云直播地址不能时移。 - 使用时移功能需在播放开始后调用此方法,否则时移失败。 - 时移的使用请参考文档:[直播时移播放使用文档](https://cloud.tencent.com/document/product/881/20213#.E6.97.B6.E7.A7.BB.E6.92.AD.E6.94.BE)。
prepareLiveSeek(String, int) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
PREVIEW_ERROR_VIDEO_DECODE_FAIL - Static variable in class com.tencent.ugc.TXVideoEditConstants
视频编辑结果错误码定义 生成会校验TXUgvSDK.licence,因此会返回校验的错误码
PREVIEW_RENDER_MODE_FILL_EDGE - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
PREVIEW_RENDER_MODE_FILL_SCREEN - Static variable in class com.tencent.ugc.TXVideoEditConstants
短视频预览参数
previewAtTime(long) - Method in class com.tencent.ugc.TXVideoEditer
单帧预览
processVideo() - Method in class com.tencent.ugc.TXVideoEditer
视频预处理,所有功能均能使用
PUSH_ERR_AUDIO_ENCODE_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_ERR_INVALID_ADDRESS - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_ERR_MIC_RECORD_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_ERR_NET_DISCONNECT - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_ERR_OPEN_CAMERA_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_ERR_OPEN_MIC_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_ERR_SCREEN_CAPTURE_DISTURBED - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_ERR_SCREEN_CAPTURE_START_FAILED - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_ERR_SCREEN_CAPTURE_SWITCH_DISPLAY_FAILED - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_ERR_SCREEN_CAPTURE_UNSURPORT - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_ERR_UNSUPPORTED_RESOLUTION - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_ERR_UNSUPPORTED_SAMPLERATE - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_ERR_VIDEO_ENCODE_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_EVT_CHANGE_BITRATE - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_EVT_CHANGE_RESOLUTION - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_EVT_CONNECT_SUCC - Static variable in class com.tencent.rtmp.TXLiveConstants
推流事件列表
PUSH_EVT_FIRST_FRAME_AVAILABLE - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_EVT_OPEN_CAMERA_SUCC - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_EVT_PUSH_BEGIN - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_EVT_ROOM_IN - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_EVT_ROOM_NEED_REENTER - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_EVT_ROOM_OUT - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_EVT_ROOM_USERLIST - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_EVT_SCREEN_CAPTURE_SUCC - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_EVT_START_VIDEO_ENCODER - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_WARNING_BEAUTYSURFACE_VIEW_INIT_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_WARNING_DNS_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_WARNING_HW_ACCELERATION_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_WARNING_NET_BUSY - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_WARNING_READ_WRITE_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_WARNING_RECONNECT - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_WARNING_SERVER_DISCONNECT - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_WARNING_SEVER_CONN_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_WARNING_SHAKE_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_WARNING_VIDEO_ENCODE_BITRATE_OVERFLOW - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_WARNING_VIDEO_ENCODE_FAIL - Static variable in class com.tencent.rtmp.TXLiveConstants
 
PUSH_WARNING_VIDEO_ENCODE_SW_SWITCH_HW - Static variable in class com.tencent.rtmp.TXLiveConstants
 

R

RECORD_RESULT_COMPOSE_CANCEL - Static variable in class com.tencent.ugc.TXRecordCommon
 
RECORD_RESULT_COMPOSE_INTERNAL_ERR - Static variable in class com.tencent.ugc.TXRecordCommon
 
RECORD_RESULT_COMPOSE_SET_DST_PATH_ERR - Static variable in class com.tencent.ugc.TXRecordCommon
 
RECORD_RESULT_COMPOSE_SET_SRC_PATH_ERR - Static variable in class com.tencent.ugc.TXRecordCommon
 
RECORD_RESULT_COMPOSE_START_ERR - Static variable in class com.tencent.ugc.TXRecordCommon
 
RECORD_RESULT_COMPOSE_VERIFY_FAIL - Static variable in class com.tencent.ugc.TXRecordCommon
 
RECORD_RESULT_FAILED - Static variable in class com.tencent.ugc.TXRecordCommon
 
RECORD_RESULT_FILE_ERR - Static variable in class com.tencent.ugc.TXRecordCommon
 
RECORD_RESULT_OK - Static variable in class com.tencent.ugc.TXRecordCommon
录制结果回调错误码定义
RECORD_RESULT_OK_LESS_THAN_MINDURATION - Static variable in class com.tencent.ugc.TXRecordCommon
 
RECORD_RESULT_OK_REACHED_MAXDURATION - Static variable in class com.tencent.ugc.TXRecordCommon
 
RECORD_RESULT_SUSPEND_FOR_NO_TASK - Static variable in class com.tencent.ugc.TXRecordCommon
 
RECORD_SPEED_FAST - Static variable in class com.tencent.ugc.TXRecordCommon
 
RECORD_SPEED_FASTEST - Static variable in class com.tencent.ugc.TXRecordCommon
 
RECORD_SPEED_NORMAL - Static variable in class com.tencent.ugc.TXRecordCommon
 
RECORD_SPEED_SLOW - Static variable in class com.tencent.ugc.TXRecordCommon
 
RECORD_SPEED_SLOWEST - Static variable in class com.tencent.ugc.TXRecordCommon
录制速度
RECORD_TYPE_STREAM_SOURCE - Static variable in class com.tencent.ugc.TXRecordCommon
PlayRecord 录制类型定义
refreshOneFrame() - Method in class com.tencent.ugc.TXVideoEditer
用于编辑字幕界面:刷新一帧,显示不带字幕残影的图像
release() - Method in class com.tencent.rtmp.TXImageSprite
使用完毕调用release 否则会造成内存泄漏
release() - Method in class com.tencent.ugc.TXUGCRecord
释放资源
release() - Method in class com.tencent.ugc.TXVideoEditer
视频处理完或取消处理的视频,必须释放资源
removePartsManagerObserver(TXUGCPartsManager.IPartsManagerListener) - Method in class com.tencent.ugc.TXUGCPartsManager
 
RENDER_MODE_ADJUST_RESOLUTION - Static variable in class com.tencent.rtmp.TXLiveConstants
 
RENDER_MODE_FULL_FILL_SCREEN - Static variable in class com.tencent.rtmp.TXLiveConstants
图像平铺模式
RENDER_ROTATION_0 - Static variable in class com.tencent.rtmp.TXLiveConstants
图像渲染角度
RENDER_ROTATION_180 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
RENDER_ROTATION_270 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
RENDER_ROTATION_90 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
RENDER_ROTATION_LANDSCAPE - Static variable in class com.tencent.rtmp.TXLiveConstants
 
RENDER_ROTATION_PORTRAIT - Static variable in class com.tencent.rtmp.TXLiveConstants
图像渲染角度
renderMode - Variable in class com.tencent.ugc.TXVideoEditConstants.TXPreviewParam
 
repeatTimes - Variable in class com.tencent.ugc.TXVideoEditConstants.TXRepeat
 
resume() - Method in class com.tencent.rtmp.TXLivePlayer
2.5 恢复播放 重新获取数据,获取当前直播数据。
resume() - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
resume() - Method in class com.tencent.rtmp.TXVodPlayer
恢复播放,重新获取流数据.
resumeBGM() - Method in class com.tencent.rtmp.TXLivePusher
6.6 继续播放背音乐
resumeBGM() - Method in class com.tencent.rtmp.TXLivePusherImpl
 
resumeBGM() - Method in class com.tencent.ugc.TXUGCRecord
继续播放背景音乐 [精简版不支持]
resumeLive() - Method in class com.tencent.rtmp.TXLivePlayer
6.3 恢复直播播放 从直播时移播放中,恢复到直播播放。
resumeLive() - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
resumePlay() - Method in class com.tencent.ugc.TXVideoEditer
继续播放
resumePlay() - Method in class com.tencent.ugc.TXVideoJoiner
继续播放
resumePusher() - Method in class com.tencent.rtmp.TXLivePusher
2.8 恢复摄像头采集并结束垫片推流状态
resumePusher() - Method in class com.tencent.rtmp.TXLivePusherImpl
 
resumeRecord() - Method in class com.tencent.ugc.TXUGCRecord
继续视频录制
retCode - Variable in class com.tencent.ugc.TXRecordCommon.TXRecordResult
 
retCode - Variable in class com.tencent.ugc.TXVideoEditConstants.TXGenerateResult
 
retCode - Variable in class com.tencent.ugc.TXVideoEditConstants.TXJoinerResult
 
REVERB_TYPE_0 - Static variable in class com.tencent.rtmp.TXLiveConstants
混响类型
REVERB_TYPE_1 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
REVERB_TYPE_2 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
REVERB_TYPE_3 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
REVERB_TYPE_4 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
REVERB_TYPE_5 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
REVERB_TYPE_6 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
RGB_BGRA - Static variable in class com.tencent.rtmp.TXLivePusher
 
RGB_RGBA - Static variable in class com.tencent.rtmp.TXLivePusher
 
rotation - Variable in class com.tencent.ugc.TXVideoEditConstants.TXAnimatedPaster
 
RTMP_CHANNEL_TYPE_AUTO - Static variable in class com.tencent.rtmp.TXLiveConstants
RTMP传输通道类型
RTMP_CHANNEL_TYPE_PRIVATE - Static variable in class com.tencent.rtmp.TXLiveConstants
 
RTMP_CHANNEL_TYPE_STANDARD - Static variable in class com.tencent.rtmp.TXLiveConstants
 

S

sampleProcess(int, Bitmap) - Method in interface com.tencent.ugc.TXVideoInfoReader.OnSampleProgrocess
 
seek(int) - Method in class com.tencent.rtmp.TXLivePlayer
6.2 直播时移跳转 直播流则会时移到该时间点。
seek(int) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
seek(int) - Method in class com.tencent.rtmp.TXVodPlayer
跳转到视频流指定时间点.
seek(float) - Method in class com.tencent.rtmp.TXVodPlayer
跳转到视频流指定时间点.
seekBGM(int, int) - Method in class com.tencent.ugc.TXUGCRecord
定位BGM开始结束时间 [精简版不支持]
sendCustomPCMData(byte[]) - Method in class com.tencent.rtmp.TXLivePusher
8.3 自定义音频采集,向 SDK 发送自己采集的音频 PCM 数据。 在自定义音频采集模式下,SDK 不再继续从麦克风采集声音,只保留编码和发送能力,您需要定时地发送自己采集的声音数据(PCM 格式) 要开启自定义音频采集,需要完成如下两个步骤: - 开启自定义采集:给 TXLivePushConfig 中的 customModeType 属性增加 CUSTOM_MODE_AUDIO_CAPTURE 选项,代表开启自定义音频采集。 - 设定音频采样率:将 TXLivePushConfig 中的 audioSampleRate 属性设置为您期望的音频采样率,audioChannels 设置为期望的声道数,默认值:1(单声道)。
sendCustomPCMData(byte[]) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
sendCustomVideoData(byte[], int, int, int) - Method in class com.tencent.rtmp.TXLivePusher
8.2 自定义视频采集,向 SDK 发送自己采集的 YUV 视频数据 在自定义视频采集模式下,SDK 不再继续从摄像头采集图像,只保留编码和发送能力,您需要定时地发送自己采集的视频数据。 要开启自定义视频采集,需要完成如下两个步骤: - 开启自定义采集:给 TXLivePushConfig 中的 customModeType 属性增加 CUSTOM_MODE_VIDEO_CAPTURE 选项,代表开启自定义视频采集。 - 设定视频分辨率:将 TXLivePushConfig 中的 videoResolution 属性设置为您发送 YUV 数据的 width、height。
sendCustomVideoData(byte[], int, int, int) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
sendCustomVideoTexture(int, int, int) - Method in class com.tencent.rtmp.TXLivePusher
8.1 自定义视频采集,向 SDK 发送自己采集的 texture 视频数据。 在自定义视频采集模式下,SDK 不再继续从摄像头采集图像,只保留编码和发送能力,您需要定时地发送自己采集的视频数据。 要开启自定义视频采集,需要完成如下两个步骤: - 开启自定义采集:给 TXLivePushConfig 中的 customModeType 属性增加 CUSTOM_MODE_VIDEO_CAPTURE 选项,代表开启自定义视频采集。 - 设定视频分辨率:将 TXLivePushConfig 中的 videoResolution 属性设置为您发送 YUV 数据的 width、height。
sendCustomVideoTexture(int, int, int) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
sendMessageEx(byte[]) - Method in class com.tencent.rtmp.TXLivePusher
9.1 发送 SEI 消息,播放端 TXLivePlayer 通过 onPlayEvent(EVT_PLAY_GET_MESSAGE) 来接收该消息。 本接口是将数据直接塞入视频数据头中,因此不能太大(几个字节比较合适),一般常用于塞入自定义时间戳等信息。
sendMessageEx(byte[]) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setAnimatedPasterList(List<TXVideoEditConstants.TXAnimatedPaster>) - Method in class com.tencent.ugc.TXVideoEditer
设置动态贴纸列表 [精简版不支持]
setAppID(String) - Static method in class com.tencent.rtmp.TXLiveBase
设置appID.
setAppId(int) - Method in class com.tencent.rtmp.TXPlayerAuthBuilder
应用appId。必填
setAppVersion(String) - Static method in class com.tencent.rtmp.TXLiveBase
 
setAspectRatio(int) - Method in class com.tencent.ugc.TXUGCRecord
设置宽高比
setAudioBitrate(int) - Method in class com.tencent.ugc.TXVideoEditer
设置生成的音频码率
setAudioChannels(int) - Method in class com.tencent.rtmp.TXLivePushConfig
3.10 设置声道数 接口说明: - 默认值:1。 - 其他值:1、2、4。
setAudioProcessListener(TXLivePusher.AudioCustomProcessListener) - Method in class com.tencent.rtmp.TXLivePusher
8.5 自定义音频处理回调 自定义音频采集和自定义音频处理不能同时开启,与自定义音频采集不同,自定义音频处理依然是由 SDK 采集麦克风的声音, 但 SDK 会通过 AudioCustomProcessListener 回调将数据回调给您的 App 进行二次加工。 如果要开启自定义音频处理,需要给 TXLivePushConfig 中的 customModeType 属性增加 CUSTOM_MODE_AUDIO_PREPROCESS 选项。
setAudioProcessListener(TXLivePusher.AudioCustomProcessListener) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setAudioRawDataListener(TXLivePlayer.ITXAudioRawDataListener) - Method in class com.tencent.rtmp.TXLivePlayer
5.3 设置音频数据回调
setAudioRawDataListener(TXLivePlayer.ITXAudioRawDataListener) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
setAudioRoute(int) - Method in class com.tencent.rtmp.TXLivePlayer
3.6 设置声音播放模式 播放模式有两种: - 听筒:声音将从听筒播出 - 扬声器:声音将从扬声器播出
setAudioRoute(int) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
setAudioSampleRate(int) - Method in class com.tencent.rtmp.TXLivePushConfig
3.9 设置声音采样率 接口说明: - 默认值:48000。 - 其他值:8000、16000、32000、44100、48000。
setAudioVolumeEvaluationListener(TXLivePlayer.ITXAudioVolumeEvaluationListener) - Method in class com.tencent.rtmp.TXLivePlayer
3.8 设置音量大小回调接口
setAudioVolumeEvaluationListener(TXLivePlayer.ITXAudioVolumeEvaluationListener) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
setAutoAdjustBitrate(boolean) - Method in class com.tencent.rtmp.TXLivePushConfig
3.7 设置是否开启码率自适应 接口说明: - 默认值:false。 - 开启后,SDK 会根据网络情况自动调节视频码率,调节范围在 (videoBitrateMin - videoBitrateMax)。
setAutoAdjustCacheTime(boolean) - Method in class com.tencent.rtmp.TXLivePlayConfig
1.1 设置是否自动调整缓存时间 接口说明: - 默认值:true - true:启用自动调整, SDK 将根据网络状况在一个范围内调整缓存时间;通过 TXLivePlayConfig.setMaxAutoAdjustCacheTime(float)TXLivePlayConfig.setMinAutoAdjustCacheTime(float) 两个接口来进行设置。 - false:关闭自动调整, SDK 将使用固定缓存时长;通过 TXLivePlayConfig.setCacheTime(float) 来进行设置。
setAutoAdjustStrategy(int) - Method in class com.tencent.rtmp.TXLivePushConfig
3.8 设置动态调整码率的策略 接口说明: - 默认值:TXLiveConstants.AUTO_ADJUST_BITRATE_STRATEGY_1。 - 其他值:详情见 TXLiveConstants 类中 AUTO_ADJUST_XXX 。
setAutoPlay(boolean) - Method in class com.tencent.rtmp.TXVodPlayer
设置点播是否startPlay后自动开始播放。默认自动播放
setAutoRotate(boolean) - Method in class com.tencent.rtmp.TXVodPlayConfig
播放mp4文件时,若设为YES则根据文件中的旋转角度自动旋转。旋转角度可在PLAY_EVT_CHANGE_ROTATION事件中获得。默认YES
setBeautyDepth(int, int, int, int) - Method in class com.tencent.ugc.TXUGCRecord
设置美颜 和 美白 效果级别
setBeautyFilter(int, int, int, int) - Method in class com.tencent.rtmp.TXLivePusher
4.1 设置美颜级别和美白级别
setBeautyFilter(int, int, int, int) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setBeautyFilter(int, int) - Method in class com.tencent.ugc.TXVideoEditer
设置美颜,美白级别 [精简版不支持]
setBeautyStyle(int) - Method in class com.tencent.ugc.TXUGCRecord
设置美颜类型
setBGM(String) - Method in class com.tencent.ugc.TXUGCRecord
设置背景音乐文件 [精简版不支持]
setBGM(String) - Method in class com.tencent.ugc.TXVideoEditer
设置背景音乐路径 [精简版不支持]
setBGMAtVideoTime(long) - Method in class com.tencent.ugc.TXVideoEditer
设置背景音乐从视频的某个位置起开始添加 [精简版不支持]
setBGMFadeInOutDuration(long, long) - Method in class com.tencent.ugc.TXVideoEditer
设置背景音乐淡入淡出 [精简版不支持]
setBGMLoop(boolean) - Method in class com.tencent.ugc.TXVideoEditer
设置背景音乐是否重复 [精简版不支持]
setBGMNofify(TXLivePusher.OnBGMNotify) - Method in class com.tencent.rtmp.TXLivePusher
6.2 设置背景音乐的回调接口
setBGMNofify(TXLivePusher.OnBGMNotify) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setBGMNofify(TXRecordCommon.ITXBGMNotify) - Method in class com.tencent.ugc.TXUGCRecord
设置背景音乐播放回调接口.
setBGMPitch(float) - Method in class com.tencent.rtmp.TXLivePusher
6.10 调整背景音乐的音调高低
setBGMPitch(float) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setBGMPosition(int) - Method in class com.tencent.rtmp.TXLivePusher
6.13 指定背景音乐的播放位置
setBGMPosition(int) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setBGMStartTime(long, long) - Method in class com.tencent.ugc.TXVideoEditer
可以选取音乐的起始时间和结束时间 [精简版不支持]
setBGMVolume(float) - Method in class com.tencent.rtmp.TXLivePusher
6.8 设置混音时背景音乐的音量大小,仅在播放背景音乐混音时使用
setBGMVolume(float) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setBGMVolume(float) - Method in class com.tencent.ugc.TXUGCRecord
设置背景音乐的音量大小.
setBGMVolume(float) - Method in class com.tencent.ugc.TXVideoEditer
设置背景音乐声音大小 [精简版不支持]
setBitrateIndex(int) - Method in class com.tencent.rtmp.TXVodPlayer
设置当前正在播放的码率索引,无缝切换清晰度 清晰度切换可能需要等待一小段时间。腾讯云支持多码率HLS分片对齐,保证最佳体验。
setByteBuffer(ByteBuffer) - Method in class com.tencent.ugc.TXAudioFrame
 
setCacheFolderPath(String) - Method in class com.tencent.rtmp.TXVodPlayConfig
设置点播缓存目录。点播MP4、HLS有效
setCacheMp4ExtName(String) - Method in class com.tencent.rtmp.TXVodPlayConfig
缓存mp4文件扩展名
setCacheTime(float) - Method in class com.tencent.rtmp.TXLivePlayConfig
1.2 设置播放器缓存时间 接口说明: - 设置播放器缓存时间,单位为秒;默认值为5秒。 - 不建议设置过大,会影响秒开以及直播流播放的实时性。
setChinLevel(int) - Method in class com.tencent.rtmp.TXLivePusher
5.4 设置下巴拉伸或收缩(商用企业版有效,其它版本设置此参数无效)
setChinLevel(int) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setChinLevel(int) - Method in class com.tencent.ugc.TXUGCRecord
设置下巴长度 [仅支持商业版Pro]
setConfig(TXLivePlayConfig) - Method in class com.tencent.rtmp.TXLivePlayer
1.2 设置 TXLivePlayer 播放配置项
setConfig(TXLivePlayConfig) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
setConfig(TXLivePushConfig) - Method in class com.tencent.rtmp.TXLivePusher
1.2 设置 TXLivePusher 推流配置项
setConfig(TXLivePushConfig) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setConfig(TXVodPlayConfig) - Method in class com.tencent.rtmp.TXVodPlayer
设置播放器配置信息.
setConnectRetryCount(int) - Method in class com.tencent.rtmp.TXLivePlayConfig
1.6 设置播放器重连次数 接口说明: - 默认值:3;取值范围:1 - 10。 - 当 SDK 与服务器异常断开连接时, SDK 会尝试与服务器重连;您可通过此接口设置重连次数。
setConnectRetryCount(int) - Method in class com.tencent.rtmp.TXLivePushConfig
4.1 设置推流端重连次数 当 SDK 与服务器异常断开连接时,SDK 会尝试与服务器重连。通过此函数设置 SDK 重连次数。 接口说明: - 默认值:3。 - 取值范围:1 - 10
setConnectRetryCount(int) - Method in class com.tencent.rtmp.TXVodPlayConfig
设置播放器重连次数.
setConnectRetryInterval(int) - Method in class com.tencent.rtmp.TXLivePlayConfig
1.7 设置播放器重连间隔。 接口说明: - 默认值:3,单位为秒;取值范围:3 - 30。 - 当 SDK 与服务器异常断开连接时, SDK 会尝试与服务器重连;您可通过此接口设置连续两次重连的时间间隔。
setConnectRetryInterval(int) - Method in class com.tencent.rtmp.TXLivePushConfig
4.2 设置推流端重连间隔 当 SDK 与服务器异常断开连接时,SDK 会尝试与服务器重连。通过此函数来设置两次重连间隔时间。 接口说明: - 默认值:3秒 - 取值范围:3 - 30 秒
setConnectRetryInterval(int) - Method in class com.tencent.rtmp.TXVodPlayConfig
设置播放器重连间隔.
setConsoleEnabled(boolean) - Static method in class com.tencent.rtmp.TXLiveBase
setConsoleEnabled 启用或禁用控制台日志打印 enabled:指定是否启用
setCustomAudioPreProcessLibrary(String, String) - Method in class com.tencent.rtmp.TXLivePushConfig
7.8 设置用户自定义的音频预处理库
setCustomModeType(int) - Method in class com.tencent.rtmp.TXLivePushConfig
5.1 自定义采集和自定义处理开关 接口说明: - 该字段需要使用与运算符进行级联操作(自定义采集和自定义处理不能同时开启): 开启自定义视频采集:_config.customModeType |= CUSTOM_MODE_VIDEO_CAPTURE; 开启自定义音频采集:_config.customModeType |= CUSTOM_MODE_AUDIO_CAPTURE。 - 其他值:详情见 TXLiveConstants 中 CUSTOM_MODE_XXX 。
setCustomVideoPreProcessLibrary(String, String) - Method in class com.tencent.rtmp.TXLivePushConfig
7.7 设置用户自定义的视频预处理库
setCustomVideoProcessListener(TXVideoEditer.TXVideoCustomProcessListener) - Method in class com.tencent.ugc.TXVideoEditer
自定义图像处理 [精简版不支持]
setCutFromTime(long, long) - Method in class com.tencent.ugc.TXVideoEditer
设置视频剪切范围
setDuration(long) - Method in class com.tencent.ugc.PartInfo
设置片段时长,单位毫秒
setEnableAccurateSeek(boolean) - Method in class com.tencent.rtmp.TXVodPlayConfig
设置是否精确seek,默认true
setEnableMessage(boolean) - Method in class com.tencent.rtmp.TXLivePlayConfig
2.1 开启消息通道 此接口在视频帧与消息需要高同步的情况使用,如:直播答题场景。 接口说明: - 默认值:false。 - 此接口需要搭配 TXLivePusher.sendMessageEx(byte[]) 使用。 - 此接口存在一定的性能开销以及兼容性风险。
setEnableMetaData(boolean) - Method in class com.tencent.rtmp.TXLivePlayConfig
2.3 开启 MetaData 数据回调 标准直播流都会在最开始的阶段有一个 MetaData 数据头,该数据头支持定制。 您可以通过 TXLivePushConfig 中的 setMetaData 接口设置一些自定义数据,再通过 ITXLivePlayListener 中的 onPlayEvent(TXLiteAVCode.EVT_PLAY_GET_METADATA) 消息接收到这些数据。
setEnableZoom(boolean) - Method in class com.tencent.rtmp.TXLivePushConfig
1.3 设置是否允许双指手势放大预览画面 接口说明: - 默认值:false。
setExper(int) - Method in class com.tencent.rtmp.TXPlayerAuthBuilder
试看时长,单位:秒。可选
setExposureCompensation(float) - Method in class com.tencent.rtmp.TXLivePusher
3.8 调整曝光比例
setExposureCompensation(float) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setEyeScaleLevel(int) - Method in class com.tencent.rtmp.TXLivePusher
5.1 设置大眼级别(商用企业版有效,其它版本设置此参数无效)
setEyeScaleLevel(int) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setEyeScaleLevel(float) - Method in class com.tencent.ugc.TXUGCRecord
设置大眼效果 [仅支持商业版Pro]
setFaceScaleLevel(float) - Method in class com.tencent.ugc.TXUGCRecord
设置瘦脸效果 [仅支持商业版Pro]
setFaceShortLevel(int) - Method in class com.tencent.rtmp.TXLivePusher
5.5 设置短脸级别(商用企业版有效,其它版本设置此参数无效)
setFaceShortLevel(int) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setFaceShortLevel(int) - Method in class com.tencent.ugc.TXUGCRecord
设置短脸 [仅支持商业版Pro]
setFaceSlimLevel(int) - Method in class com.tencent.rtmp.TXLivePusher
5.2 设置瘦脸级别(商用企业版有效,其它版本设置此参数无效)
setFaceSlimLevel(int) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setFaceVLevel(int) - Method in class com.tencent.rtmp.TXLivePusher
5.3 设置 V 脸级别(商用企业版有效,其它版本设置此参数无效
setFaceVLevel(int) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setFaceVLevel(int) - Method in class com.tencent.ugc.TXUGCRecord
设置V脸 [仅支持商业版Pro]
setFileId(String) - Method in class com.tencent.rtmp.TXPlayerAuthBuilder
文件id。必填
setFilter(Bitmap) - Method in class com.tencent.rtmp.TXLivePusher
4.2 设置指定素材滤镜特效
setFilter(Bitmap) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setFilter(Bitmap) - Method in class com.tencent.ugc.TXUGCRecord
setFilter 设置指定素材滤镜特效
setFilter(Bitmap, float, Bitmap, float, float) - Method in class com.tencent.ugc.TXUGCRecord
setFilter 设置组合滤镜特效
setFilter(Bitmap) - Method in class com.tencent.ugc.TXVideoEditer
设置滤镜 [精简版不支持]
setFilter(Bitmap, float, Bitmap, float, float) - Method in class com.tencent.ugc.TXVideoEditer
setFilter 设置组合滤镜特效 [精简版不支持]
setFocusPosition(float, float) - Method in class com.tencent.rtmp.TXLivePusher
8.8 在 Surface 模式下,设置摄像机的对焦位置
setFocusPosition(float, float) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setFocusPosition(float, float) - Method in class com.tencent.ugc.TXUGCRecord
设置手动聚焦
setGreenScreenFile(String) - Method in class com.tencent.rtmp.TXLivePusher
5.7 设置绿幕背景视频(商用企业版有效,其它版本设置此参数无效) 此处的绿幕功能并非智能抠背,它需要被拍摄者的背后有一块绿色的幕布来辅助产生特效。
setGreenScreenFile(String) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setGreenScreenFile(String, boolean) - Method in class com.tencent.ugc.TXUGCRecord
设置绿幕文件 [仅支持商业版Pro]
setHardwareAcceleration(int) - Method in class com.tencent.rtmp.TXLivePushConfig
6.2 设置硬件加速选项 接口说明: - 默认值:TXLiveConstants.ENCODE_VIDEO_AUTO 自动选择是否启用硬件加速。 - 其他值:TXLiveConstants.ENCODE_VIDEO_HARDWARE:开启硬件加速、TXLiveConstants.ENCODE_VIDEO_SOFTWARE:禁用硬件加速。默认禁用硬件加速。
setHeaders(Map<String, String>) - Method in class com.tencent.rtmp.TXVodPlayConfig
设置自定义http headers
setHomeOrientation(int) - Method in class com.tencent.rtmp.TXLivePushConfig
1.1 设置采集的视频的旋转角度 接口说明: - 默认值:HOME_ORIENTATION_DOWN(竖屏推流) - 常用的还有 HOME_ORIENTATION_RIGHT 和 HOME_ORIENTATION_LEFT,也就是横屏推流。 - 改变该字段的设置以后,本地摄像头的预览画面方向也会发生改变,请调用 TXLivePush 的 setRenderRotation 进行矫正。
setHomeOrientation(int) - Method in class com.tencent.ugc.TXUGCRecord
设置home键方向
setHttps(boolean) - Method in class com.tencent.rtmp.TXPlayerAuthBuilder
是否用https请求。默认false
setLength(int) - Method in class com.tencent.ugc.TXAudioFrame
 
setLibraryPath(String) - Static method in class com.tencent.rtmp.TXLiveBase
设置sdk的library加载路径.
setLicence(Context, String, String) - Method in class com.tencent.rtmp.TXLiveBase
设置licence
setLicence(Context, String, String) - Method in class com.tencent.ugc.TXUGCBase
 
setListener(ITXLiveBaseListener) - Static method in class com.tencent.rtmp.TXLiveBase
设置日志回调listener
setLogLevel(int) - Static method in class com.tencent.rtmp.TXLiveBase
设置SDK将NULL级别 至 logLevel 级别以内的log存入文件.
setLoop(boolean) - Method in class com.tencent.rtmp.TXVodPlayer
设置是否循环播放
setMaxAutoAdjustCacheTime(float) - Method in class com.tencent.rtmp.TXLivePlayConfig
1.3 设置最大的缓存时间 接口说明: - 默认值:5,单位为秒。 - 仅在启用自动调用缓存时间接口时,有效。
setMaxBufferSize(int) - Method in class com.tencent.rtmp.TXVodPlayConfig
最大预加载大小,单位 MB
setMaxCacheItems(int) - Method in class com.tencent.rtmp.TXVodPlayConfig
设置缓存文件个数
setMaxVideoBitrate(int) - Method in class com.tencent.rtmp.TXLivePushConfig
3.5 设置最大视频码率 接口说明: - 默认值:1000。 - 只有开启码率自适应,该设置项才能启作用:TXLivePushConfig.setAutoAdjustBitrate(boolean)
setMetaData(HashMap<String, String>) - Method in class com.tencent.rtmp.TXLivePushConfig
6.4 设置自定义 MetaData
setMicVolume(float) - Method in class com.tencent.rtmp.TXLivePusher
6.9 设置混音时麦克风音量大小,仅在播放背景音乐混音时使用。
setMicVolume(float) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setMicVolume(float) - Method in class com.tencent.ugc.TXUGCRecord
设置麦克风的音量大小.
setMinAutoAdjustCacheTime(float) - Method in class com.tencent.rtmp.TXLivePlayConfig
1.4 设置最小的缓存时间 接口说明: - 默认值:1,单位为秒。 - 仅在启用自动调用缓存时间接口时,有效。
setMinVideoBitrate(int) - Method in class com.tencent.rtmp.TXLivePushConfig
3.6 设置最小视频码率 接口说明: - 默认值:400。 - 只有开启码率自适应,该设置项才能启作用:TXLivePushConfig.setAutoAdjustBitrate(boolean)
setMirror(boolean) - Method in class com.tencent.rtmp.TXLivePusher
3.3 设置视频镜像效果 由于前置摄像头采集的画面是取自手机的观察视角,如果将采集到的画面直接展示给观众,是完全没有问题的。 但如果将采集到的画面也直接显示给主播,则会跟主播照镜子时的体验完全相反,会让主播感觉到很奇怪。 因此,SDK 会默认开启本地摄像头预览画面的镜像效果,让主播直播时跟照镜子时保持一个体验效果。 setMirror 所影响的则是观众端看到的视频效果,如果想要保持观众端看到的效果跟主播端保持一致,需要开启镜像; 如果想要让观众端看到正常的未经处理过的画面(比如主播弹吉他的时候有类似需求),则可以关闭镜像。
setMirror(boolean) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setMirror(boolean) - Method in class com.tencent.rtmp.TXVodPlayer
设置镜像
setMotionMute(boolean) - Method in class com.tencent.rtmp.TXLivePusher
5.9 设置动效静音(商用企业版有效,其它版本设置此参数无效) 有些挂件本身会有声音特效,通过此 API 可以关闭这些特效播放时所带的声音效果。
setMotionMute(boolean) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setMotionMute(boolean) - Method in class com.tencent.ugc.TXUGCRecord
设置动效是否静音 [仅支持商业版和商业版Pro]
setMotionTmpl(String) - Method in class com.tencent.rtmp.TXLivePusher
5.8 选择使用哪一款 AI 动效挂件(商用企业版有效,其它版本设置此参数无效)
setMotionTmpl(String) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setMotionTmpl(String) - Method in class com.tencent.ugc.TXUGCRecord
setMotionTmpl 设置动效文件 [仅支持商业版和商业版Pro]
setMute(boolean) - Method in class com.tencent.rtmp.TXLivePlayer
3.4 设置是否静音播放
setMute(boolean) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
setMute(boolean) - Method in class com.tencent.rtmp.TXLivePusher
6.1 开启静音 开启静音后,SDK 并不会继续采集麦克风的声音,但是会用非常低(5kbps 左右)的码率推送伪静音数据, 这样做的目的是为了兼容 H5 上的 video 标签,并让录制出来的 mp4 文件有更好的兼容性。
setMute(boolean) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setMute(boolean) - Method in class com.tencent.rtmp.TXVodPlayer
设置是否静音播放.
setMute(boolean) - Method in class com.tencent.ugc.TXUGCRecord
 
setNoseSlimLevel(int) - Method in class com.tencent.rtmp.TXLivePusher
5.6 设置瘦鼻级别(商用企业版有效,其它版本设置此参数无效)
setNoseSlimLevel(int) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setNoseSlimLevel(int) - Method in class com.tencent.ugc.TXUGCRecord
设置小鼻效果 [仅支持商业版Pro]
setPartsManagerObserver(TXUGCPartsManager.IPartsManagerListener) - Method in class com.tencent.ugc.TXUGCPartsManager
 
setPasterList(List<TXVideoEditConstants.TXPaster>) - Method in class com.tencent.ugc.TXVideoEditer
设置静态贴纸列表 [精简版不支持]
setPath(String) - Method in class com.tencent.ugc.PartInfo
设置视频片段路径
setPauseFlag(int) - Method in class com.tencent.rtmp.TXLivePushConfig
2.3 设置后台推流的选项 接口说明: - 默认值:TXLiveConstants.PAUSE_FLAG_PAUSE_VIDEO - TXLiveConstants.PAUSE_FLAG_PAUSE_VIDEO 表示暂停推流时,采用TXLivePushConfig.setPauseImg(Bitmap)传入的图片作为画面推流,声音不做暂停,继续录制麦克风或 custom 音频发送 - TXLiveConstants.PAUSE_FLAG_PAUSE_AUDIO 表示暂停推流时,推静音数据,画面数据不做暂停,继续发送摄像头、录屏或 custom 视频数据 - TXLiveConstants.PAUSE_FLAG_PAUSE_VIDEO|TXLiveConstants.PAUSE_FLAG_PAUSE_AUDIO 表示暂停推流时,推送暂停图片和静音数据
setPauseImg(Bitmap) - Method in class com.tencent.rtmp.TXLivePushConfig
2.1 设置垫片推流的图片素材 接口说明: - 图片最大尺寸不能超过1920 × 1920
setPauseImg(int, int) - Method in class com.tencent.rtmp.TXLivePushConfig
2.2 设置垫片的帧率与最长持续时间 接口说明: - 默认值:最大持续时间为300秒,帧率为10。 - 调用 TXLivePusher 的 pausePush() 接口,会暂停摄像头采集并进入垫片推流状态,如果该状态一直保持, 可能会消耗主播过多的手机流量,本字段用于指定垫片推流的最大持续时间,超过后即断开与云服务器的连接。
setPictureList(List<Bitmap>, int) - Method in class com.tencent.ugc.TXVideoEditer
设置图片转视频参数 [精简版不支持]
setPictureTransition(int) - Method in class com.tencent.ugc.TXVideoEditer
设置图片转场类型 [精简版不支持]
setPituLicencePath(String) - Static method in class com.tencent.rtmp.TXLiveBase
设置企业版动效Licence文件路径
setPlayerType(int) - Method in class com.tencent.rtmp.TXVodPlayConfig
设置播放器类型
setPlayerView(TXCloudVideoView) - Method in class com.tencent.rtmp.TXLivePlayer
2.1 设置播放器的视频渲染 View
setPlayerView(TXCloudVideoView) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
setPlayerView(TXCloudVideoView) - Method in class com.tencent.rtmp.TXVodPlayer
设置播放器的视频渲染View.
setPlayerView(TextureRenderView) - Method in class com.tencent.rtmp.TXVodPlayer
设置播放器视频渲染TextureRenderView, 推荐使用TXCloudVideoView
setPlayListener(ITXLivePlayListener) - Method in class com.tencent.rtmp.TXLivePlayer
1.3 设置推流回调接口
setPlayListener(ITXLivePlayListener) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
setProgressInterval(int) - Method in class com.tencent.rtmp.TXVodPlayConfig
设置进度回调间隔
setPushListener(ITXLivePushListener) - Method in class com.tencent.rtmp.TXLivePusher
1.4 设置推流回调接口
setPushListener(ITXLivePushListener) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setRate(float) - Method in class com.tencent.rtmp.TXVodPlayer
设置点播的播放速率。默认1.0
setRecordSpeed(int) - Method in class com.tencent.ugc.TXUGCRecord
录制速度 [精简版不支持]
setRenderMode(int) - Method in class com.tencent.rtmp.TXLivePlayer
3.1 设置播放渲染模式 渲染模式有两种: - 平铺模式:视频画面将会按照比例铺满屏幕,多余部分会被裁减掉,此模式下不会有黑边。 - 自适应模式:视频画面将等比例缩放,会居中显示,此模式可能会有黑边。
setRenderMode(int) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
setRenderMode(int) - Method in class com.tencent.rtmp.TXVodPlayer
设置图像平铺模式.
setRenderRotation(int) - Method in class com.tencent.rtmp.TXLivePlayer
3.2 设置图像渲染角度 渲染角度有两种: - 竖屏:播放是竖屏播放的时候使用 - 横屏:播放是横屏播放的时候使用
setRenderRotation(int) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
setRenderRotation(int) - Method in class com.tencent.rtmp.TXLivePusher
3.4 设置本地摄像头预览画面的旋转方向 该接口仅能够改变主播本地预览画面的方向,而不会改变观众端的画面效果。 如果希望改变观众端看到的视频画面的方向,比如原来是 540x960,希望变成 960x540,则可以通过设置 TXLivePushConfig 中的 homeOrientation 来实现。
setRenderRotation(int) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setRenderRotation(int) - Method in class com.tencent.rtmp.TXVodPlayer
设置图像渲染角度.
setRenderRotation(int) - Method in class com.tencent.ugc.TXUGCRecord
设置渲染方向
setRenderRotation(int) - Method in class com.tencent.ugc.TXVideoEditer
设置画面渲染角度 [精简版不支持]
setRepeatPlay(List<TXVideoEditConstants.TXRepeat>) - Method in class com.tencent.ugc.TXVideoEditer
设置多段重复片段 [精简版不支持]
setReverb(int) - Method in class com.tencent.rtmp.TXLivePusher
6.11 设置混响效果
setReverb(int) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setReverb(int) - Method in class com.tencent.ugc.TXUGCRecord
设置混响 [精简版不支持]
setReverse(boolean) - Method in class com.tencent.ugc.TXVideoEditer
视频倒放处理 [精简版不支持]
setSign(String) - Method in class com.tencent.rtmp.TXPlayerAuthBuilder
无防盗链不填。 普通防盗链签名: sign = md5(KEY+appId+fileId+t+us) 带试看的防盗链签名: sign = md5(KEY+appId+fileId+t+exper+us) 播放器API使用的防盗链参数(t, us, exper) 与CDN防盗链参数一致,只是sign计算方式不同 参考防盗链产品文档: https://cloud.tencent.com/document/product/266/11243
setSmoothSwitchBitrate(boolean) - Method in class com.tencent.rtmp.TXVodPlayConfig
平滑切换多码率HLS,默认false
setSpecialRatio(float) - Method in class com.tencent.rtmp.TXLivePusher
4.3 设置滤镜浓度 在美女秀场等应用场景里,滤镜浓度的要求会比较高,以便更加突显主播的差异。 我们默认的滤镜浓度是0.5,如果您觉得滤镜效果不明显,可以使用下面的接口进行调节。
setSpecialRatio(float) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setSpecialRatio(float) - Method in class com.tencent.ugc.TXUGCRecord
setSpecialRatio 设置滤镜效果程度
setSpecialRatio(float) - Method in class com.tencent.ugc.TXVideoEditer
设置滤镜程度值 [精简版不支持]
setSpeedList(List<TXVideoEditConstants.TXSpeed>) - Method in class com.tencent.ugc.TXVideoEditer
设置多段倍速播放 [精简版不支持]
setSplitScreenList(List<TXVideoEditConstants.TXAbsoluteRect>, int, int) - Method in class com.tencent.ugc.TXVideoJoiner
设置画面合成列表
setStartTime(float) - Method in class com.tencent.rtmp.TXVodPlayer
设置播放开始时间.
setSubtitleList(List<TXVideoEditConstants.TXSubtitle>) - Method in class com.tencent.ugc.TXVideoEditer
设置字幕列表 [精简版不支持]
setSurface(Surface) - Method in class com.tencent.rtmp.TXLivePlayer
2.6 使用 Surface 模式用于本地渲染
setSurface(Surface) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
setSurface(Surface) - Method in class com.tencent.rtmp.TXLivePusher
8.6 指定 SDK 渲染所使用的 Surface(仅供微信 App 使用)。 该接口是为了支持微信小程序最新版本中的同层渲染能力而增加的,目的是让微信小程序通知设置渲染用的 Surface, 我们推荐您不要使用此接口,建议直接使用 TXCloudVideoView。
setSurface(Surface) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setSurface(Surface) - Method in class com.tencent.rtmp.TXVodPlayer
设置Surface,目前只支持硬解 播放器只能在Surface有效的情况下才能正常工作,使用此接口播放时,需要由用户手动调用 resume() 或 pause()
setSurfaceSize(int, int) - Method in class com.tencent.rtmp.TXLivePlayer
2.7 设置渲染 Surface 的大小
setSurfaceSize(int, int) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
setSurfaceSize(int, int) - Method in class com.tencent.rtmp.TXLivePusher
8.7 设置渲染 Surface 的大小(仅供微信 App 使用)。 该接口是为了支持微信小程序最新版本中的同层渲染能力而增加的,目的是让微信小程序通知设置渲染用的 Surface, 我们推荐您不要使用此接口,建议直接使用 TXCloudVideoView。
setSurfaceSize(int, int) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setTailWaterMark(Bitmap, TXVideoEditConstants.TXRect, int) - Method in class com.tencent.ugc.TXVideoEditer
设置片尾水印 [精简版不支持]
setThumbnail(TXVideoEditConstants.TXThumbnail) - Method in class com.tencent.ugc.TXVideoEditer
设置预处理输出的缩略图
setThumbnailListener(TXVideoEditer.TXThumbnailListener) - Method in class com.tencent.ugc.TXVideoEditer
设置预处理输出缩略图回调
setTimeout(String) - Method in class com.tencent.rtmp.TXPlayerAuthBuilder
加密链接超时时间戳,转换为16进制小写字符串,腾讯云 CDN 服务器会根据该时间判断该链接是否有效。可选
setTimeout(int) - Method in class com.tencent.rtmp.TXVodPlayConfig
设置播放器连接超时时间.
setToken(String) - Method in class com.tencent.rtmp.TXVodPlayer
加密HLS的token。设置此值后,播放器自动在URL中的文件名之前增加voddrm.token.
setTouchFocus(boolean) - Method in class com.tencent.rtmp.TXLivePushConfig
1.2 设置是否开启手动对焦 接口说明: - 默认值:true。 - 因为硬件的限制,API 14以上的版本以及后置摄像头才会支持。
setTXVideoPreviewListener(TXVideoEditer.TXVideoPreviewListener) - Method in class com.tencent.ugc.TXVideoEditer
设置视频预览监听
setTXVideoPreviewListener(TXVideoJoiner.TXVideoPreviewListener) - Method in class com.tencent.ugc.TXVideoJoiner
设置视频合成预览进度回调
setUs(String) - Method in class com.tencent.rtmp.TXPlayerAuthBuilder
唯一标识请求,增加链接唯一性
setVideoBitrate(int) - Method in class com.tencent.rtmp.TXLivePushConfig
3.4 设置视频编码码率 接口说明: - 默认值:1200。 - 不开启码率自适应时,视频以此码率编码。
setVideoBitrate(int) - Method in class com.tencent.ugc.TXUGCRecord
 
setVideoBitrate(int) - Method in class com.tencent.ugc.TXVideoEditer
设置生成视频码率
setVideoBlockThreshold(int) - Method in class com.tencent.rtmp.TXLivePlayConfig
1.5 设置播放器视频卡顿报警阈值 接口说明: - 默认值:800,单位为毫秒。 - 当渲染间隔超过此阈值时候,表明产生了卡顿;播放器会通过 ITXLivePlayListener.onPlayEvent(int, Bundle) 回调 PLAY_WARNING_VIDEO_PLAY_LAG 事件通知。
setVideoEncodeGop(int) - Method in class com.tencent.rtmp.TXLivePushConfig
3.3 设置视频编码 GOP 接口说明: - 默认值:3,单位为秒。
setVideoEncoderXMirror(boolean) - Method in class com.tencent.rtmp.TXLivePushConfig
3.14 设置观众端水平镜像 接口说明: - 默认值:false
setVideoFPS(int) - Method in class com.tencent.rtmp.TXLivePushConfig
3.2 设置视频帧率 接口说明: - 默认值:20。
setVideoGenerateListener(TXVideoEditer.TXVideoGenerateListener) - Method in class com.tencent.ugc.TXVideoEditer
设置编辑器生成视频监听
setVideoJoinerListener(TXVideoJoiner.TXVideoJoinerListener) - Method in class com.tencent.ugc.TXVideoJoiner
设置合成回调
setVideoPath(String) - Method in class com.tencent.ugc.TXVideoEditer
设置视频路径
setVideoPathList(List<String>) - Method in class com.tencent.ugc.TXVideoJoiner
设置合成的视频列表
setVideoProcessListener(TXLivePusher.VideoCustomProcessListener) - Method in class com.tencent.rtmp.TXLivePusher
8.4 自定义视频处理回调 自定义视频采集和自定义视频处理不能同时开启,与自定义视频采集不同,自定义视频处理依然是由 SDK 采集摄像头的画面, 但 SDK 会通过 VideoCustomProcessListener 回调将数据回调给您的 App 进行二次加工。 如果要开启自定义视频处理,需要给 TXLivePushConfig 中的 customModeType 属性增加 CUSTOM_MODE_VIDEO_PREPROCESS 选项。
setVideoProcessListener(TXLivePusher.VideoCustomProcessListener) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setVideoProcessListener(TXUGCRecord.VideoCustomProcessListener) - Method in class com.tencent.ugc.TXUGCRecord
设置自定义图像处理回调 [精简版不支持]
setVideoProcessListener(TXVideoEditer.TXVideoProcessListener) - Method in class com.tencent.ugc.TXVideoEditer
设置视频预处理回调
setVideoQuality(int, boolean, boolean) - Method in class com.tencent.rtmp.TXLivePusher
3.1 设置视频编码质量 推荐设置:秀场直播 quality:HIGH_DEFINITION;adjustBitrate:NO;adjustResolution:NO。 参考文档:[设定清晰度](https://cloud.tencent.com/document/product/454/7879#step-4.3A-.E8.AE.BE.E5.AE.9A.E6.B8.85.E6.99.B0.E5.BA.A6)。
setVideoQuality(int, boolean, boolean) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setVideoRawDataListener(TXLivePlayer.ITXVideoRawDataListener) - Method in class com.tencent.rtmp.TXLivePlayer
5.2 设置软解码视频数据回调
setVideoRawDataListener(TXLivePlayer.ITXVideoRawDataListener) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
setVideoRecordListener(TXRecordCommon.ITXVideoRecordListener) - Method in class com.tencent.rtmp.TXLivePlayer
4.1 设置录制回调接口
setVideoRecordListener(TXRecordCommon.ITXVideoRecordListener) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
setVideoRecordListener(TXRecordCommon.ITXVideoRecordListener) - Method in class com.tencent.rtmp.TXLivePusher
7.1 设置录制回调接口
setVideoRecordListener(TXRecordCommon.ITXVideoRecordListener) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setVideoRecordListener(TXRecordCommon.ITXVideoRecordListener) - Method in class com.tencent.ugc.TXUGCRecord
设置录制回调接口
setVideoRenderMode(int) - Method in class com.tencent.ugc.TXUGCRecord
渲染模式TXRecordCommon:RENDER_MODE_FULL_FILL_SCREEN / RENDER_MODE_ADJUST_RESOLUTION
setVideoResolution(int) - Method in class com.tencent.rtmp.TXLivePushConfig
3.1 设置采集的视频的分辨率 接口说明: - 默认值:TXLiveConstants.VIDEO_RESOLUTION_TYPE_540_960 。 - 其他值可参考 TXLiveConstants VIDEO_RESOLUTION_TYPE_XXX 。
setVideoResolution(int) - Method in class com.tencent.ugc.TXUGCRecord
单独设置分辨率
setVideoVolume(float) - Method in class com.tencent.ugc.TXVideoEditer
设置视频声音大小
setVodListener(ITXVodPlayListener) - Method in class com.tencent.rtmp.TXVodPlayer
设置播放器的回调.
setVoiceChangerType(int) - Method in class com.tencent.rtmp.TXLivePusher
6.12 设置变声类型
setVoiceChangerType(int) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setVoiceChangerType(int) - Method in class com.tencent.ugc.TXUGCRecord
设置变声 [精简版不支持]
setVolume(int) - Method in class com.tencent.rtmp.TXLivePlayer
3.5 设置音量
setVolume(int) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
setVTTUrlAndImageUrls(String, List<String>) - Method in class com.tencent.rtmp.TXImageSprite
设置雪碧图地址
setWatermark(Bitmap, int, int) - Method in class com.tencent.rtmp.TXLivePushConfig
1.4 设置水印图片及水印图片位置 接口说明: - 水印位置坐标系与系统保持一致。 - 设置为 null 关闭水印。
setWatermark(Bitmap, float, float, float) - Method in class com.tencent.rtmp.TXLivePushConfig
1.5 设置水印图片及水印图片位置。 接口说明: - 使用归一化坐标。 - 假设推流分辨率为:540 × 960,x,y,width 分别设置为:(0.1, 0.1, 0.1),那么水印的实际像素坐标为:(540 × 0.1, 960 × 0.1, 水印宽度*0.1,水印高度会被自动计算)。
setWatermark(Bitmap, TXVideoEditConstants.TXRect) - Method in class com.tencent.ugc.TXUGCRecord
设置全局水印 [精简版不支持]
setWaterMark(Bitmap, TXVideoEditConstants.TXRect) - Method in class com.tencent.ugc.TXVideoEditer
设置水印
setZoom(int) - Method in class com.tencent.rtmp.TXLivePusher
3.7 调整摄像头的焦距
setZoom(int) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
setZoom(int) - Method in class com.tencent.ugc.TXUGCRecord
设置焦距
snapshot(TXLivePlayer.ITXSnapshotListener) - Method in class com.tencent.rtmp.TXLivePlayer
4.4 播放过程中本地截图
snapshot(TXLivePlayer.ITXSnapshotListener) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
snapshot(TXLivePusher.ITXSnapshotListener) - Method in class com.tencent.rtmp.TXLivePusher
7.4 推流过程中本地截图
snapshot(TXLivePusher.ITXSnapshotListener) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
snapshot(TXLivePlayer.ITXSnapshotListener) - Method in class com.tencent.rtmp.TXVodPlayer
获取当前视频帧图像 注意:由于获取当前帧图像是比较耗时的操作,所以截图会通过异步回调出来
snapshot(TXRecordCommon.ITXSnapshotListener) - Method in class com.tencent.ugc.TXUGCRecord
截图
SPEED_LEVEL_FAST - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
SPEED_LEVEL_FASTEST - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
SPEED_LEVEL_NORMAL - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
SPEED_LEVEL_SLOW - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
SPEED_LEVEL_SLOWEST - Static variable in class com.tencent.ugc.TXVideoEditConstants
变速速度
speedLevel - Variable in class com.tencent.ugc.TXVideoEditConstants.TXSpeed
 
splitJoinVideo(int, String) - Method in class com.tencent.ugc.TXVideoJoiner
合演
START_RECORD_ERR_API_IS_LOWER_THAN_18 - Static variable in class com.tencent.ugc.TXRecordCommon
 
START_RECORD_ERR_IS_IN_RECORDING - Static variable in class com.tencent.ugc.TXRecordCommon
 
START_RECORD_ERR_LICENCE_VERIFICATION_FAILED - Static variable in class com.tencent.ugc.TXRecordCommon
 
START_RECORD_ERR_NOT_INIT - Static variable in class com.tencent.ugc.TXRecordCommon
 
START_RECORD_ERR_VIDEO_PATH_IS_EMPTY - Static variable in class com.tencent.ugc.TXRecordCommon
 
START_RECORD_OK - Static variable in class com.tencent.ugc.TXRecordCommon
开始录制的返回错误码
startCameraCustomPreview(TXRecordCommon.TXUGCCustomConfig, TXCloudVideoView) - Method in class com.tencent.ugc.TXUGCRecord
启动摄像头预览
startCameraPreview(TXCloudVideoView) - Method in class com.tencent.rtmp.TXLivePusher
2.1 启动摄像头预览 启动预览后并不会立即开始 RTMP 推流,需要调用 TXLivePusher.startPusher(String) 才能真正开始推流。
startCameraPreview(TXCloudVideoView) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
startCameraSimplePreview(TXRecordCommon.TXUGCSimpleConfig, TXCloudVideoView) - Method in class com.tencent.ugc.TXUGCRecord
启动摄像头预览
startEffect(int, long) - Method in class com.tencent.ugc.TXVideoEditer
设置滤镜特效开始时间 [精简版不支持]
startPlay(String, int) - Method in class com.tencent.rtmp.TXLivePlayer
2.2 播放器开始播放 可播放的直播流连接: - RTMP 直播流:TXLivePlayer.PLAY_TYPE_LIVE_RTMP - FLV 直播流:TXLivePlayer.PLAY_TYPE_LIVE_FLV - RTMP 加速流,用于连麦:TXLivePlayer.PLAY_TYPE_LIVE_RTMP_ACC
startPlay(String, int) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
startPlay(String) - Method in class com.tencent.rtmp.TXVodPlayer
启动播放.
startPlay(TXPlayerAuthBuilder) - Method in class com.tencent.rtmp.TXVodPlayer
以fileid形式播放
startPlay() - Method in class com.tencent.ugc.TXVideoJoiner
开启视频播放,从视频起始位置开始播放,(需要在setVideoPathList之后调用)
startPlayFromTime(long, long) - Method in class com.tencent.ugc.TXVideoEditer
播放某一时间段的视频
startPusher(String) - Method in class com.tencent.rtmp.TXLivePusher
2.3 启动 RTMP 推流 针对腾讯云的推流地址,会采用 QUIC 协议进行加速,配合改进后的 BBR2 带宽测算方案,可以最大限度的利用主播的上行带宽,降低直播卡顿率。
startPusher(String) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
startRecord(int) - Method in class com.tencent.rtmp.TXLivePlayer
4.2 启动视频录制 目前录制格式仅支持录制直播流,TXRecordCommon.RECORD_TYPE_STREAM_SOURCE
startRecord(int) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
startRecord(String) - Method in class com.tencent.rtmp.TXLivePusher
7.2 开始录制短视频
startRecord(String) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
startRecord() - Method in class com.tencent.ugc.TXUGCRecord
开始视频录制,SDK内部会自动生成视频路经和视频封面,在TXVideoRecordListener里面返回
startRecord(String, String) - Method in class com.tencent.ugc.TXUGCRecord
开始视频录制
startRecord(String, String, String) - Method in class com.tencent.ugc.TXUGCRecord
开始视频录制
startScreenCapture() - Method in class com.tencent.rtmp.TXLivePusher
2.5 启动录屏推流(基于 MediaProjection 技术实现) 如果要开启“隐私模式”,请调用TXLivePusher.pausePusher()接口推默认图及静音数据,取消隐私模式调用TXLivePusher.resumePusher()
startScreenCapture() - Method in class com.tencent.rtmp.TXLivePusherImpl
 
startTime - Variable in class com.tencent.ugc.TXVideoEditConstants.TXAnimatedPaster
 
startTime - Variable in class com.tencent.ugc.TXVideoEditConstants.TXPaster
 
startTime - Variable in class com.tencent.ugc.TXVideoEditConstants.TXRepeat
 
startTime - Variable in class com.tencent.ugc.TXVideoEditConstants.TXSpeed
 
startTime - Variable in class com.tencent.ugc.TXVideoEditConstants.TXSubtitle
 
stopBGM() - Method in class com.tencent.rtmp.TXLivePusher
6.4 停止播放背景音乐
stopBGM() - Method in class com.tencent.rtmp.TXLivePusherImpl
 
stopBGM() - Method in class com.tencent.ugc.TXUGCRecord
停止播放背景音乐.
stopCameraPreview(boolean) - Method in class com.tencent.rtmp.TXLivePusher
2.2 停止摄像头预览。
stopCameraPreview(boolean) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
stopCameraPreview() - Method in class com.tencent.ugc.TXUGCRecord
停止摄像头预览
stopEffect(int, long) - Method in class com.tencent.ugc.TXVideoEditer
设置滤镜特效结束时间 [精简版不支持]
stopPlay(boolean) - Method in class com.tencent.rtmp.TXLivePlayer
2.3 停止播放 isNeedClearLastImg 提供是否清除最后一帧画面的逻辑: - 推荐在正常停止播放时,进行清除 - 异常播放,如网络异常等,而您希望等待重连服务器,继续播放时,推荐保留
stopPlay(boolean) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
stopPlay(boolean) - Method in class com.tencent.rtmp.TXVodPlayer
停止播放.
stopPlay() - Method in class com.tencent.ugc.TXVideoEditer
停止播放(释放资源)
stopPlay() - Method in class com.tencent.ugc.TXVideoJoiner
停止播放(释放资源)
stopPusher() - Method in class com.tencent.rtmp.TXLivePusher
2.4 停止 RTMP 推流
stopPusher() - Method in class com.tencent.rtmp.TXLivePusherImpl
2.4 停止 RTMP 推流
stopRecord() - Method in class com.tencent.rtmp.TXLivePlayer
4.3 停止视频录制
stopRecord() - Method in class com.tencent.rtmp.TXLivePlayerImpl
 
stopRecord() - Method in class com.tencent.rtmp.TXLivePusher
7.3 结束录制短视频,当停止推流后,如果视频还在录制中,SDK 内部会自动结束录制。
stopRecord() - Method in class com.tencent.rtmp.TXLivePusherImpl
 
stopRecord() - Method in class com.tencent.ugc.TXUGCRecord
停止视频录制
stopScreenCapture() - Method in class com.tencent.rtmp.TXLivePusher
2.6 结束录屏推流
stopScreenCapture() - Method in class com.tencent.rtmp.TXLivePusherImpl
 
switchCamera() - Method in class com.tencent.rtmp.TXLivePusher
3.2 切换前后摄像头
switchCamera() - Method in class com.tencent.rtmp.TXLivePusherImpl
 
switchCamera(boolean) - Method in class com.tencent.ugc.TXUGCRecord
切换前后摄像头
switchStream(String) - Method in class com.tencent.rtmp.TXLivePlayer
3.7 多清晰度切换 使用说明: - 必须是腾讯云的直播地址。 - 必须是当前播放直播流的不同清晰度,切换到无关流地址可能会失败。
switchStream(String) - Method in class com.tencent.rtmp.TXLivePlayerImpl
 

T

TAG - Static variable in class com.tencent.rtmp.TXLivePlayer
 
TAG - Static variable in class com.tencent.rtmp.TXLivePlayerImpl
 
TAG - Static variable in class com.tencent.rtmp.TXVodPlayer
 
ThumbnailTime() - Constructor for class com.tencent.ugc.TXVideoEditConstants.ThumbnailTime
 
timestamp - Variable in class com.tencent.ugc.TXVideoEditConstants.ThumbnailTime
 
titleImage - Variable in class com.tencent.ugc.TXVideoEditConstants.TXSubtitle
 
toggleTorch(boolean) - Method in class com.tencent.ugc.TXUGCRecord
toggleTorch, 打开闪关灯
touchFocus - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCCustomConfig
 
touchFocus - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCSimpleConfig
 
turnOnFlashLight(boolean) - Method in class com.tencent.rtmp.TXLivePusher
3.5 打开后置摄像头旁边的闪光灯 此操作对于前置摄像头是无效的,因为绝大多数手机都没有给前置摄像头配置闪光灯。
turnOnFlashLight(boolean) - Method in class com.tencent.rtmp.TXLivePusherImpl
 
TX_TRANSITION_TYPE_ENLARGE - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
TX_TRANSITION_TYPE_FADEIN_FADEOUT - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
TX_TRANSITION_TYPE_LEFT_RIGHT_SLIPPING - Static variable in class com.tencent.ugc.TXVideoEditConstants
图片转视频的转场类型
TX_TRANSITION_TYPE_NARROW - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
TX_TRANSITION_TYPE_ROTATIONAL_SCALING - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
TX_TRANSITION_TYPE_UP_DOWN_SLIPPING - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
TXAbsoluteRect() - Constructor for class com.tencent.ugc.TXVideoEditConstants.TXAbsoluteRect
 
TXAnimatedPaster() - Constructor for class com.tencent.ugc.TXVideoEditConstants.TXAnimatedPaster
 
TXAudioFrame - Class in com.tencent.ugc
Created by yuejiaoli on 2017/9/1.
TXAudioFrame() - Constructor for class com.tencent.ugc.TXAudioFrame
 
TXBitrateItem - Class in com.tencent.rtmp
Created by annidy on 2017/11/17.
TXBitrateItem() - Constructor for class com.tencent.rtmp.TXBitrateItem
 
TXEffectType_DARK_DRAEM - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
TXEffectType_GHOST - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
TXEffectType_GHOST_SHADDOW - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
TXEffectType_ILLUSION - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
TXEffectType_LIGHTNING - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
TXEffectType_MIRROR - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
TXEffectType_PHANTOM_SHADDOW - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
TXEffectType_ROCK_LIGHT - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
TXEffectType_SOUL_OUT - Static variable in class com.tencent.ugc.TXVideoEditConstants
滤镜特效类型定义
TXEffectType_SPLIT_SCREEN - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
TXEffectType_WIN_SHADDOW - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
TXGenerateResult() - Constructor for class com.tencent.ugc.TXVideoEditConstants.TXGenerateResult
 
TXImageSprite - Class in com.tencent.rtmp
Created by hanszhli on 2018/8/27.
TXImageSprite(Context) - Constructor for class com.tencent.rtmp.TXImageSprite
 
TXJoinerResult() - Constructor for class com.tencent.ugc.TXVideoEditConstants.TXJoinerResult
 
TXLiveBase - Class in com.tencent.rtmp
Created by randewang on 2017/7/21.
TXLiveConstants - Class in com.tencent.rtmp
 
TXLiveConstants() - Constructor for class com.tencent.rtmp.TXLiveConstants
 
TXLivePlayConfig - Class in com.tencent.rtmp
腾讯云直播播放器的参数配置模块 主要负责 TXLivePlayer 对应的参数设置,**其中绝大多数设置项在播放开始之后再设置是无效的**。
TXLivePlayConfig() - Constructor for class com.tencent.rtmp.TXLivePlayConfig
 
TXLivePlayer - Class in com.tencent.rtmp
视频播放器 主要负责将直播流的音视频画面进行解码和本地渲染,包含如下技术特点: - 针对腾讯云的拉流地址,可使用低延时拉流,实现直播连麦等相关场景。 - 针对腾讯云的拉流地址,可使用直播时移功能,能够实现直播观看与时移观看的无缝切换。 - 支持自定义的音视频数据处理,您可以根据项目需要处理直播流中的音视频数据,然后进行渲染以及播放。
TXLivePlayer(Context) - Constructor for class com.tencent.rtmp.TXLivePlayer
1.1 创建 TXLivePlayer 实例
TXLivePlayer.ITXAudioRawDataListener - Interface in com.tencent.rtmp
8.3 音频原始数据接口类
TXLivePlayer.ITXAudioVolumeEvaluationListener - Interface in com.tencent.rtmp
8.4 播放器音量大小回调
TXLivePlayer.ITXSnapshotListener - Interface in com.tencent.rtmp
8.1 截图回调接口类
TXLivePlayer.ITXVideoRawDataListener - Interface in com.tencent.rtmp
8.2 软解视频数据回调接口类
TXLivePlayerImpl - Class in com.tencent.rtmp
 
TXLivePlayerImpl(Context) - Constructor for class com.tencent.rtmp.TXLivePlayerImpl
 
TXLivePushConfig - Class in com.tencent.rtmp
腾讯云直播推流用 RTMP SDK 的参数配置模块 主要负责 TXLivePusher 对应的参数设置,**其中绝大多数设置项在推流开始之后再设置是无效的**。
TXLivePushConfig() - Constructor for class com.tencent.rtmp.TXLivePushConfig
 
TXLivePusher - Class in com.tencent.rtmp
直播推流类 主要负责将本地的音视频画面进行编码和 RTMP 推送,包含如下技术特点: - 针对腾讯云的推流地址,会采用 QUIC 协议进行加速,配合改进后的 BBR2 带宽测算方案,可以最大限度的利用主播的上行带宽,降低直播卡顿率。 - 内嵌套的 Qos 流量控制技术具备上行网络自适应能力,可以根据主播端网络的具体情况实时调节音视频数据量。 - 内嵌多套美颜磨皮算法(自然&光滑)和多款色彩空间滤镜(支持自定义滤镜),可以根据需要自行选择。 - 商业版包含了基于优图 AI 人脸识别技术的大眼、瘦脸、隆鼻以及动效挂架,只需要购买**优图 License**就可以零成本集成。 - 支持自定义的音视频采集和渲染,让您可以根据项目需要选择自己的音视频数据源。
TXLivePusher(Context) - Constructor for class com.tencent.rtmp.TXLivePusher
1.1 创建 TXLivePusher 实例
TXLivePusher.AudioCustomProcessListener - Interface in com.tencent.rtmp
10.2 自定义音频处理回调类
TXLivePusher.ITXSnapshotListener - Interface in com.tencent.rtmp
10.4 截图回调类
TXLivePusher.OnBGMNotify - Interface in com.tencent.rtmp
10.3 背景音乐回调类
TXLivePusher.VideoCustomProcessListener - Interface in com.tencent.rtmp
10.1 自定义视频处理回调类
TXLivePusherImpl - Class in com.tencent.rtmp
 
TXLivePusherImpl(Context) - Constructor for class com.tencent.rtmp.TXLivePusherImpl
 
TXLog - Class in com.tencent.rtmp
Created by randewang on 2017/7/21.
TXLog() - Constructor for class com.tencent.rtmp.TXLog
 
TXPaster() - Constructor for class com.tencent.ugc.TXVideoEditConstants.TXPaster
 
TXPlayerAuthBuilder - Class in com.tencent.rtmp
Created by annidy on 2017/12/13.
TXPlayerAuthBuilder() - Constructor for class com.tencent.rtmp.TXPlayerAuthBuilder
 
TXPreviewError() - Constructor for class com.tencent.ugc.TXVideoEditConstants.TXPreviewError
 
TXPreviewParam() - Constructor for class com.tencent.ugc.TXVideoEditConstants.TXPreviewParam
 
TXRecordCommon - Class in com.tencent.ugc
 
TXRecordCommon() - Constructor for class com.tencent.ugc.TXRecordCommon
 
TXRecordCommon.ITXBGMNotify - Interface in com.tencent.ugc
播放背景音乐的回调接口
TXRecordCommon.ITXSnapshotListener - Interface in com.tencent.ugc
录制截屏
TXRecordCommon.ITXVideoRecordListener - Interface in com.tencent.ugc
录制回调定义
TXRecordCommon.TXRecordResult - Class in com.tencent.ugc
录制结果
TXRecordCommon.TXUGCCustomConfig - Class in com.tencent.ugc
录制参数
TXRecordCommon.TXUGCSimpleConfig - Class in com.tencent.ugc
录制参数
TXRecordResult() - Constructor for class com.tencent.ugc.TXRecordCommon.TXRecordResult
 
TXRect() - Constructor for class com.tencent.ugc.TXVideoEditConstants.TXRect
 
TXRepeat() - Constructor for class com.tencent.ugc.TXVideoEditConstants.TXRepeat
 
TXRTMPSDK_AUDIO_PCMSOURCE_LOCALMERGER - Static variable in class com.tencent.rtmp.TXLiveConstants
 
TXRTMPSDK_PUSHEVENT_SOURCE_OPENCAMERA - Static variable in class com.tencent.rtmp.TXLiveConstants
 
TXRTMPSDK_PUSHEVENT_SOURCE_OPENMIC - Static variable in class com.tencent.rtmp.TXLiveConstants
 
TXRTMPSDK_VIDEO_YUVSOURCE_LOCALCAMERA - Static variable in class com.tencent.rtmp.TXLiveConstants
 
TXSpeed() - Constructor for class com.tencent.ugc.TXVideoEditConstants.TXSpeed
 
TXSubtitle() - Constructor for class com.tencent.ugc.TXVideoEditConstants.TXSubtitle
 
TXThumbnail() - Constructor for class com.tencent.ugc.TXVideoEditConstants.TXThumbnail
 
TXUGCBase - Class in com.tencent.ugc
Created by liyuejiao on 2018/5/10.
TXUGCCustomConfig() - Constructor for class com.tencent.ugc.TXRecordCommon.TXUGCCustomConfig
 
TXUGCPartsManager - Class in com.tencent.ugc
Created by vinsonswang on 2017/8/25.
TXUGCPartsManager() - Constructor for class com.tencent.ugc.TXUGCPartsManager
 
TXUGCPartsManager.IPartsManagerListener - Interface in com.tencent.ugc
 
TXUGCRecord - Class in com.tencent.ugc
短视频录制接口类
TXUGCRecord.VideoCustomProcessListener - Interface in com.tencent.ugc
 
TXUGCSimpleConfig() - Constructor for class com.tencent.ugc.TXRecordCommon.TXUGCSimpleConfig
 
TXVideoEditConstants - Class in com.tencent.ugc
 
TXVideoEditConstants() - Constructor for class com.tencent.ugc.TXVideoEditConstants
 
TXVideoEditConstants.ThumbnailTime - Class in com.tencent.ugc
 
TXVideoEditConstants.TXAbsoluteRect - Class in com.tencent.ugc
画面合成每个视频的位置和宽高
TXVideoEditConstants.TXAnimatedPaster - Class in com.tencent.ugc
动态贴纸
TXVideoEditConstants.TXGenerateResult - Class in com.tencent.ugc
短视频编辑结果
TXVideoEditConstants.TXJoinerResult - Class in com.tencent.ugc
短视频合成结果
TXVideoEditConstants.TXPaster - Class in com.tencent.ugc
静态贴纸
TXVideoEditConstants.TXPreviewError - Class in com.tencent.ugc
短视频预览错误
TXVideoEditConstants.TXPreviewParam - Class in com.tencent.ugc
短视频预览参数
TXVideoEditConstants.TXRect - Class in com.tencent.ugc
水印
TXVideoEditConstants.TXRepeat - Class in com.tencent.ugc
重复片段
TXVideoEditConstants.TXSpeed - Class in com.tencent.ugc
变速 speedLevel设置:
SPEED_LEVEL_SLOWEST(极慢速-源视频的0.25倍速)
SPEED_LEVEL_SLOW(慢速-源视频的0.5倍速)
SPEED_LEVEL_NORMAL(标准-源视频的1倍速)
SPEED_LEVEL_FAST(快速-源视频的1.5倍速)
SPEED_LEVEL_FASTEST(极快速-源视频的2倍速)
TXVideoEditConstants.TXSubtitle - Class in com.tencent.ugc
字幕
TXVideoEditConstants.TXThumbnail - Class in com.tencent.ugc
缩略图
TXVideoEditConstants.TXVideoInfo - Class in com.tencent.ugc
视频信息
TXVideoEditer - Class in com.tencent.ugc
Created by liyuejiao on 2017/5/19.
TXVideoEditer(Context) - Constructor for class com.tencent.ugc.TXVideoEditer
 
TXVideoEditer.TXPCMCallbackListener - Interface in com.tencent.ugc
 
TXVideoEditer.TXThumbnailListener - Interface in com.tencent.ugc
 
TXVideoEditer.TXVideoCustomProcessListener - Interface in com.tencent.ugc
 
TXVideoEditer.TXVideoGenerateListener - Interface in com.tencent.ugc
 
TXVideoEditer.TXVideoPreviewListener - Interface in com.tencent.ugc
 
TXVideoEditer.TXVideoPreviewListenerEx - Interface in com.tencent.ugc
 
TXVideoEditer.TXVideoProcessListener - Interface in com.tencent.ugc
 
TXVideoInfo() - Constructor for class com.tencent.ugc.TXVideoEditConstants.TXVideoInfo
 
TXVideoInfoReader - Class in com.tencent.ugc
Created by liyuejiao on 2017/5/21.
TXVideoInfoReader.OnSampleProgrocess - Interface in com.tencent.ugc
 
TXVideoJoiner - Class in com.tencent.ugc
 
TXVideoJoiner(Context) - Constructor for class com.tencent.ugc.TXVideoJoiner
 
TXVideoJoiner.TXVideoJoinerListener - Interface in com.tencent.ugc
视频生成回调
TXVideoJoiner.TXVideoPreviewListener - Interface in com.tencent.ugc
 
TXVodPlayConfig - Class in com.tencent.rtmp
Created by annidy on 2017/9/21.
TXVodPlayConfig() - Constructor for class com.tencent.rtmp.TXVodPlayConfig
 
TXVodPlayer - Class in com.tencent.rtmp
Created by annidy on 2017/9/21.
TXVodPlayer(Context) - Constructor for class com.tencent.rtmp.TXVodPlayer
构造一个TXLivePlayer对象.
TXVodPlayer.ITXSnapshotListener - Interface in com.tencent.rtmp
截图回调 用于接收当前视频图片

V

VIDEO_ANGLE_HOME_DOWN - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_ANGLE_HOME_LEFT - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_ANGLE_HOME_RIGHT - Static variable in class com.tencent.rtmp.TXLiveConstants
视频旋转角度
VIDEO_ANGLE_HOME_UP - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_ASPECT_RATIO_1_1 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDEO_ASPECT_RATIO_3_4 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDEO_ASPECT_RATIO_9_16 - Static variable in class com.tencent.ugc.TXRecordCommon
显示比例
VIDEO_COMPRESSED_360P - Static variable in class com.tencent.ugc.TXVideoEditConstants
短视频压缩质量 注意压缩到的目标分辨率要小于原画的分辨率,否则不会生效
VIDEO_COMPRESSED_480P - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
VIDEO_COMPRESSED_540P - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
VIDEO_COMPRESSED_720P - Static variable in class com.tencent.ugc.TXVideoEditConstants
 
VIDEO_QUALITY_HIGH - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDEO_QUALITY_HIGH_DEFINITION - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_QUALITY_LINKMIC_MAIN_PUBLISHER - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_QUALITY_LINKMIC_SUB_PUBLISHER - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_QUALITY_LOW - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDEO_QUALITY_MEDIUM - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDEO_QUALITY_REALTIEM_VIDEOCHAT - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_QUALITY_STANDARD_DEFINITION - Static variable in class com.tencent.rtmp.TXLiveConstants
视频质量
VIDEO_QUALITY_SUPER_DEFINITION - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_RENDER_MODE_ADJUST_RESOLUTION - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDEO_RENDER_MODE_FULL_FILL_SCREEN - Static variable in class com.tencent.ugc.TXRecordCommon
图像平铺模式 VIDEO_RENDER_MODE_FULL_FILL_SCREEN :将图像等比例铺满整个屏幕,多余部分裁剪掉,此模式下画面不留黑边 VIDEO_RENDER_MODE_ADJUST_RESOLUTION :将图像等比例缩放,缩放后的宽和高都不会超过显示区域,居中显示
VIDEO_RESOLUTION_1080_1920 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDEO_RESOLUTION_360_640 - Static variable in class com.tencent.ugc.TXRecordCommon
Record 录制分辨率类型定义
VIDEO_RESOLUTION_540_960 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDEO_RESOLUTION_720_1280 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDEO_RESOLUTION_TYPE_1280_720 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_RESOLUTION_TYPE_160_160 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_RESOLUTION_TYPE_180_320 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_RESOLUTION_TYPE_240_320 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_RESOLUTION_TYPE_270_270 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_RESOLUTION_TYPE_270_480 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_RESOLUTION_TYPE_320_180 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_RESOLUTION_TYPE_320_240 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_RESOLUTION_TYPE_320_480 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_RESOLUTION_TYPE_360_480 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_RESOLUTION_TYPE_360_640 - Static variable in class com.tencent.rtmp.TXLiveConstants
视频分辨率
VIDEO_RESOLUTION_TYPE_480_270 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_RESOLUTION_TYPE_480_360 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_RESOLUTION_TYPE_480_480 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_RESOLUTION_TYPE_480_640 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_RESOLUTION_TYPE_540_960 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_RESOLUTION_TYPE_640_360 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_RESOLUTION_TYPE_640_480 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_RESOLUTION_TYPE_720_1280 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VIDEO_RESOLUTION_TYPE_960_540 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
videoBitrate - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCCustomConfig
 
videoFps - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCCustomConfig
 
videoGop - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCCustomConfig
 
videoPath - Variable in class com.tencent.ugc.TXRecordCommon.TXRecordResult
 
videoQuality - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCSimpleConfig
 
videoResolution - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCCustomConfig
 
videoView - Variable in class com.tencent.ugc.TXVideoEditConstants.TXPreviewParam
 
VIDOE_REVERB_TYPE_0 - Static variable in class com.tencent.ugc.TXRecordCommon
混响
VIDOE_REVERB_TYPE_1 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDOE_REVERB_TYPE_2 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDOE_REVERB_TYPE_3 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDOE_REVERB_TYPE_4 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDOE_REVERB_TYPE_5 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDOE_REVERB_TYPE_6 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDOE_REVERB_TYPE_7 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDOE_VOICECHANGER_TYPE_0 - Static variable in class com.tencent.ugc.TXRecordCommon
变声
VIDOE_VOICECHANGER_TYPE_1 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDOE_VOICECHANGER_TYPE_10 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDOE_VOICECHANGER_TYPE_11 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDOE_VOICECHANGER_TYPE_2 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDOE_VOICECHANGER_TYPE_3 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDOE_VOICECHANGER_TYPE_4 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDOE_VOICECHANGER_TYPE_6 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDOE_VOICECHANGER_TYPE_7 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDOE_VOICECHANGER_TYPE_8 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VIDOE_VOICECHANGER_TYPE_9 - Static variable in class com.tencent.ugc.TXRecordCommon
 
VOICECHANGER_TYPE_0 - Static variable in class com.tencent.rtmp.TXLiveConstants
变声类型
VOICECHANGER_TYPE_1 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VOICECHANGER_TYPE_10 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VOICECHANGER_TYPE_11 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VOICECHANGER_TYPE_2 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VOICECHANGER_TYPE_3 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VOICECHANGER_TYPE_4 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VOICECHANGER_TYPE_5 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VOICECHANGER_TYPE_6 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VOICECHANGER_TYPE_7 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VOICECHANGER_TYPE_8 - Static variable in class com.tencent.rtmp.TXLiveConstants
 
VOICECHANGER_TYPE_9 - Static variable in class com.tencent.rtmp.TXLiveConstants
 

W

w(String, String) - Static method in class com.tencent.rtmp.TXLog
输出WARN级别的log.
watermark - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCCustomConfig
 
watermark - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCSimpleConfig
 
watermarkX - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCCustomConfig
 
watermarkX - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCSimpleConfig
 
watermarkY - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCCustomConfig
 
watermarkY - Variable in class com.tencent.ugc.TXRecordCommon.TXUGCSimpleConfig
 
width - Variable in class com.tencent.rtmp.TXBitrateItem
 
width - Variable in class com.tencent.ugc.TXVideoEditConstants.ThumbnailTime
 
width - Variable in class com.tencent.ugc.TXVideoEditConstants.TXAbsoluteRect
 
width - Variable in class com.tencent.ugc.TXVideoEditConstants.TXRect
 
width - Variable in class com.tencent.ugc.TXVideoEditConstants.TXThumbnail
 
width - Variable in class com.tencent.ugc.TXVideoEditConstants.TXVideoInfo
 
willAddWatermark(int, int, int) - Method in class com.tencent.ugc.TXUGCRecord
 

X

x - Variable in class com.tencent.ugc.TXVideoEditConstants.TXAbsoluteRect
 
x - Variable in class com.tencent.ugc.TXVideoEditConstants.TXRect
 

Y

y - Variable in class com.tencent.ugc.TXVideoEditConstants.TXAbsoluteRect
 
y - Variable in class com.tencent.ugc.TXVideoEditConstants.TXRect
 
YUV_420P - Static variable in class com.tencent.rtmp.TXLivePusher
 
YUV_420SP - Static variable in class com.tencent.rtmp.TXLivePusher
 
YUV_420YpCbCr - Static variable in class com.tencent.rtmp.TXLivePusher
 
A B C D E F G H I J L M N O P R S T V W X Y 
Skip navigation links