废弃接口
Copyright (c) 2022 Tencent. All rights reserved.
Module:   DeprecatedTRTCCloud @ TXLiteAVSDK
Function: TRTC 废弃接口
废弃接口
IDeprecatedTRTCCloud
| 函数列表 | 描述 | 
| 启用音量大小提示。 | |
| 启用音量大小提示。 | |
| 设置音频质量。 | |
| 开始显示远端视频画面。 | |
| 停止显示远端视频画面,同时不再拉取该远端用户的视频数据流。 | |
| 设置本地图像的渲染模式。 | |
| 设置本地图像的顺时针旋转角度。 | |
| 设置本地摄像头预览画面的镜像模式。 | |
| 设置远端图像的渲染模式。 | |
| 设置远端图像的顺时针旋转角度。 | |
| 开始显示远端用户的辅路画面。 | |
| 停止显示远端用户的辅路画面。 | |
| 设置辅路画面的填充模式。 | |
| 设置辅路画面的顺时针旋转角度。 | |
| 设置音频质量。 | |
| 设定优先观看大画面还是小画面。 | |
| 设置麦克风音量大小。 | |
| 启动播放背景音乐。 | |
| 停止播放背景音乐。 | |
| 停止播放背景音乐。 | |
| 停止播放背景音乐。 | |
| 获取背景音乐总时长(单位:毫秒)。 | |
| 设置背景音乐的播放进度。 | |
| 设置背景音乐的音量大小。 | |
| 设置背景音乐的本地播放音量。 | |
| 设置背景音乐的远端播放音量。 | |
| 播放音效。 | |
| 设置音效音量。 | |
| 停止播放音效。 | |
| 停止所有音效。 | |
| 设置所有音效音量。 | |
| 暂停音效。 | |
| 暂停音效。 | |
| 启用视频自定义采集模式。 | |
| 投送自己采集的视频数据。 | |
| 暂停/恢复发布本地的视频流。 | |
| 暂停 / 恢复订阅远端用户的视频流。 | |
| 开始进行网络测速(进入房间前使用)。 | |
| 启动屏幕分享。 | |
| 设置第三方美颜的视频数据回调。 | |
| 获取摄像头设备列表。 | |
| 选定当前要使用的摄像头。 | |
| 获取当前使用的摄像头。 | |
| 获取麦克风设备列表。 | |
| 获取当前的麦克风设备。 | |
| 选定当前使用的麦克风。 | |
| 获取当前麦克风的设备音量。 | |
| 设置当前麦克风的设备音量。 | |
| 设置系统当前麦克风设备的静音状态。 | |
| 获取系统当前麦克风设备是否静音。 | |
| 获取扬声器设备列表。 | |
| 获取当前的扬声器设备。 | |
| 设置要使用的扬声器。 | |
| 获取当前扬声器的设备音量。 | |
| 设置当前扬声器的设备音量。 | |
| 获取系统当前扬声器设备是否静音。 | |
| 设置系统当前扬声器设备的静音状态。 | |
| 开始进行摄像头测试。 | |
| 开始进行摄像头测试。 | |
| 停止进行摄像头测试。 | |
| 开始进行麦克风测试。 | |
| 开始进行麦克风测试。 | |
| 开始进行扬声器测试。 | |
| 停止进行扬声器测试。 | |
| 开始应用内的屏幕分享(iOS)。 | |
| 设置视频编码器输出的画面方向。 | |
| 设置编码器输出的画面镜像模式。 | |
| 开始向腾讯云直播 CDN 上发布音视频流。 | |
| 停止向腾讯云直播 CDN 上发布音视频流。 | |
| 开始向非腾讯云 CDN 上发布音视频流。 | |
| 停止向非腾讯云 CDN 上发布音视频流。 | |
| 设置云端混流的排版布局和转码参数。 | 
enableAudioVolumeEvaluation
enableAudioVolumeEvaluation
| void enableAudioVolumeEvaluation | (uint32_t interval) | 
启用音量大小提示。
enableAudioVolumeEvaluation
enableAudioVolumeEvaluation
| void enableAudioVolumeEvaluation | (uint32_t interval | 
|  | bool enable_vad) | 
启用音量大小提示。
startLocalAudio
startLocalAudio
设置音频质量。
startRemoteView
startRemoteView
| void startRemoteView | (const char* userId | 
|  | TXView rendView) | 
开始显示远端视频画面。
stopRemoteView
stopRemoteView
| void stopRemoteView | (const char* userId) | 
停止显示远端视频画面,同时不再拉取该远端用户的视频数据流。
setLocalViewFillMode
setLocalViewFillMode
| void setLocalViewFillMode | 
设置本地图像的渲染模式。
setLocalViewRotation
setLocalViewRotation
| void setLocalViewRotation | 
设置本地图像的顺时针旋转角度。
setLocalViewMirror
setLocalViewMirror
| void setLocalViewMirror | (bool mirror) | 
设置本地摄像头预览画面的镜像模式。
setRemoteViewFillMode
setRemoteViewFillMode
| void setRemoteViewFillMode | (const char* userId | 
|  | 
设置远端图像的渲染模式。
setRemoteViewRotation
setRemoteViewRotation
| void setRemoteViewRotation | (const char* userId | 
|  | 
设置远端图像的顺时针旋转角度。
startRemoteSubStreamView
startRemoteSubStreamView
| void startRemoteSubStreamView | (const char* userId | 
|  | TXView rendView) | 
开始显示远端用户的辅路画面。
stopRemoteSubStreamView
stopRemoteSubStreamView
| void stopRemoteSubStreamView | (const char* userId) | 
停止显示远端用户的辅路画面。
setRemoteSubStreamViewFillMode
setRemoteSubStreamViewFillMode
| void setRemoteSubStreamViewFillMode | (const char* userId | 
|  | 
设置辅路画面的填充模式。
setRemoteSubStreamViewRotation
setRemoteSubStreamViewRotation
| void setRemoteSubStreamViewRotation | (const char* userId | 
|  | 
设置辅路画面的顺时针旋转角度。
setAudioQuality
setAudioQuality
| void setAudioQuality | 
设置音频质量。
setPriorRemoteVideoStreamType
setPriorRemoteVideoStreamType
| void setPriorRemoteVideoStreamType | 
设定优先观看大画面还是小画面。
setMicVolumeOnMixing
setMicVolumeOnMixing
| void setMicVolumeOnMixing | (uint32_t volume) | 
设置麦克风音量大小。
playBGM
playBGM
| void playBGM | (const char* path) | 
启动播放背景音乐。
stopBGM
stopBGM
停止播放背景音乐。
pauseBGM
pauseBGM
停止播放背景音乐。
resumeBGM
resumeBGM
停止播放背景音乐。
getBGMDuration
getBGMDuration
| uint32_t getBGMDuration | (const char* path) | 
获取背景音乐总时长(单位:毫秒)。
setBGMPosition
setBGMPosition
| void setBGMPosition | (uint32_t pos) | 
设置背景音乐的播放进度。
@deprecated v7.3 版本开始不推荐使用,建议使用 TXAudioEffectManager 中的 seekMusicToPosInMS 替代之。
setBGMVolume
setBGMVolume
| void setBGMVolume | (uint32_t volume) | 
设置背景音乐的音量大小。
@deprecated v7.3 版本开始不推荐使用,建议使用 TXAudioEffectManager 中的 setMusicVolume 替代之。
setBGMPlayoutVolume
setBGMPlayoutVolume
| void setBGMPlayoutVolume | (uint32_t volume) | 
设置背景音乐的本地播放音量。
setBGMPublishVolume
setBGMPublishVolume
| void setBGMPublishVolume | (uint32_t volume) | 
设置背景音乐的远端播放音量。
@deprecated v7.3 版本开始不推荐使用,建议使用 TXAudioEffectManager 中的 setBGMPublishVolume 替代之。
playAudioEffect
playAudioEffect
| void playAudioEffect | 
播放音效。
setAudioEffectVolume
setAudioEffectVolume
| void setAudioEffectVolume | (int effectId | 
|  | int volume) | 
设置音效音量。
@deprecated v7.3 版本开始不推荐使用,建议使用 TXAudioEffectManager 中的 setMusicPublishVolume 和 setMusicPlayoutVolume 替代之。
stopAudioEffect
stopAudioEffect
| void stopAudioEffect | (int effectId) | 
停止播放音效。
stopAllAudioEffects
stopAllAudioEffects
停止所有音效。
setAllAudioEffectsVolume
setAllAudioEffectsVolume
| void setAllAudioEffectsVolume | (int volume) | 
设置所有音效音量。
@deprecated v7.3 版本开始不推荐使用,建议使用 TXAudioEffectManager 中的 setMusicPublishVolume 和 setMusicPlayoutVolume 替代之。
pauseAudioEffect
pauseAudioEffect
| void pauseAudioEffect | (int effectId) | 
暂停音效。
@deprecated v7.3 版本开始不推荐使用,建议使用 TXAudioEffectManager 中的 pauseAudioEffect 替代之。
resumeAudioEffect
resumeAudioEffect
| void resumeAudioEffect | (int effectId) | 
暂停音效。
enableCustomVideoCapture
enableCustomVideoCapture
| void enableCustomVideoCapture | (bool enable) | 
启用视频自定义采集模式。
sendCustomVideoData
sendCustomVideoData
| void sendCustomVideoData | 
投送自己采集的视频数据。
muteLocalVideo
muteLocalVideo
| void muteLocalVideo | (bool mute) | 
暂停/恢复发布本地的视频流。
muteRemoteVideoStream
muteRemoteVideoStream
| void muteRemoteVideoStream | (const char* userId | 
|  | bool mute) | 
暂停 / 恢复订阅远端用户的视频流。
startSpeedTest
startSpeedTest
| void startSpeedTest | (uint32_t sdkAppId | 
|  | const char* userId | 
|  | const char* userSig) | 
开始进行网络测速(进入房间前使用)。
startScreenCapture
startScreenCapture
| void startScreenCapture | (TXView rendView) | 
启动屏幕分享。
setLocalVideoProcessCallback
setLocalVideoProcessCallback
| int setLocalVideoProcessCallback | |
|  | |
|  | 
设置第三方美颜的视频数据回调。
@deprecated v11.4 版本开始不推荐使用,建议使用 enableLocalVideoCustomProcess 和 setLocalVideoCustomProcessCallback 替代之。
getCameraDevicesList
getCameraDevicesList
获取摄像头设备列表。
setCurrentCameraDevice
setCurrentCameraDevice
| void setCurrentCameraDevice | (const char* deviceId) | 
选定当前要使用的摄像头。
getCurrentCameraDevice
getCurrentCameraDevice
获取当前使用的摄像头。
getMicDevicesList
getMicDevicesList
获取麦克风设备列表。
getCurrentMicDevice
getCurrentMicDevice
获取当前的麦克风设备。
setCurrentMicDevice
setCurrentMicDevice
| void setCurrentMicDevice | (const char* micId) | 
选定当前使用的麦克风。
getCurrentMicDeviceVolume
getCurrentMicDeviceVolume
获取当前麦克风的设备音量。
setCurrentMicDeviceVolume
setCurrentMicDeviceVolume
| void setCurrentMicDeviceVolume | (uint32_t volume) | 
设置当前麦克风的设备音量。
setCurrentMicDeviceMute
setCurrentMicDeviceMute
| void setCurrentMicDeviceMute | (bool mute) | 
设置系统当前麦克风设备的静音状态。
getCurrentMicDeviceMute
getCurrentMicDeviceMute
获取系统当前麦克风设备是否静音。
getSpeakerDevicesList
getSpeakerDevicesList
获取扬声器设备列表。
getCurrentSpeakerDevice
getCurrentSpeakerDevice
获取当前的扬声器设备。
setCurrentSpeakerDevice
setCurrentSpeakerDevice
| void setCurrentSpeakerDevice | (const char* speakerId) | 
设置要使用的扬声器。
getCurrentSpeakerVolume
getCurrentSpeakerVolume
获取当前扬声器的设备音量。
setCurrentSpeakerVolume
setCurrentSpeakerVolume
| void setCurrentSpeakerVolume | (uint32_t volume) | 
设置当前扬声器的设备音量。
getCurrentSpeakerDeviceMute
getCurrentSpeakerDeviceMute
获取系统当前扬声器设备是否静音。
setCurrentSpeakerDeviceMute
setCurrentSpeakerDeviceMute
| void setCurrentSpeakerDeviceMute | (bool mute) | 
设置系统当前扬声器设备的静音状态。
startCameraDeviceTest
startCameraDeviceTest
| void startCameraDeviceTest | (TXView renderView) | 
开始进行摄像头测试。
startCameraDeviceTest
stopCameraDeviceTest
stopCameraDeviceTest
停止进行摄像头测试。
startMicDeviceTest
startMicDeviceTest
| void startMicDeviceTest | (uint32_t interval) | 
开始进行麦克风测试。
stopMicDeviceTest
stopMicDeviceTest
开始进行麦克风测试。
startSpeakerDeviceTest
startSpeakerDeviceTest
| void startSpeakerDeviceTest | (const char* testAudioFilePath) | 
开始进行扬声器测试。
stopSpeakerDeviceTest
stopSpeakerDeviceTest
停止进行扬声器测试。
selectScreenCaptureTarget
selectScreenCaptureTarget
| void selectScreenCaptureTarget | |
|  | const RECT& captureRect | 
|  | bool captureMouse = true | 
|  | bool highlightWindow = true) | 
开始应用内的屏幕分享(iOS)。
@deprecated v8.6 版本开始不推荐使用,建议使用 startScreenCaptureInApp 接口替代之。
setVideoEncoderRotation
setVideoEncoderRotation
| void setVideoEncoderRotation | 
设置视频编码器输出的画面方向。
@deprecated v11.7 版本开始不推荐使用。
setVideoEncoderMirror
setVideoEncoderMirror
| void setVideoEncoderMirror | (bool mirror) | 
设置编码器输出的画面镜像模式。
@deprecated v11.7 版本开始不推荐使用。
startPublishing
startPublishing
| void startPublishing | (const char* streamId | 
|  | 
开始向腾讯云直播 CDN 上发布音视频流。
stopPublishing
stopPublishing
停止向腾讯云直播 CDN 上发布音视频流。
startPublishCDNStream
startPublishCDNStream
| void startPublishCDNStream | 
开始向非腾讯云 CDN 上发布音视频流。
stopPublishCDNStream
stopPublishCDNStream
停止向非腾讯云 CDN 上发布音视频流。
setMixTranscodingConfig
setMixTranscodingConfig
| void setMixTranscodingConfig | 
设置云端混流的排版布局和转码参数。
@deprecated v12.0 版本开始不推荐使用。建议使用 startPublishMediaStream, updatePublishMediaStream 和 stopPublishMediaStream 接口替代之。