tencent cloud

Tencent Real-Time Communication

소식 및 공지 사항
제품 업데이트
Tencent Cloud 오디오/비디오 단말 SDK 재생 업그레이드 및 권한 부여 인증 추가
TRTC 월간 구독 패키지 출시 관련 안내
제품 소개
제품 개요
기본 개념
제품 기능
제품 장점
응용 시나리오
성능 데이터
구매 가이드
Billing Overview
무료 시간 안내
Monthly subscription
Pay-as-you-go
TRTC Overdue and Suspension Policy
과금 FAQ
Refund Instructions
신규 사용자 가이드
Demo 체험
Call
개요(TUICallKit)
Activate the Service
Run Demo
빠른 통합(TUICallKit)
오프라인 푸시
Conversational Chat
온클라우드 녹화(TUICallKit)
AI Noise Reduction
UI 사용자 정의
Calls integration to Chat
Additional Features
No UI Integration
Server APIs
Client APIs
Solution
ErrorCode
릴리스 노트
FAQs
라이브 스트리밍
Billing of Video Live Component
Overview
Activating the Service (TUILiveKit)
Demo 실행
No UI Integration
UI Customization
Live Broadcast Monitoring
Video Live Streaming
Voice Chat Room
Advanced Features
Client APIs
Server APIs
Error Codes
Release Notes
FAQs
RTC Engine
Activate Service
SDK 다운로드
API 코드 예시
Usage Guidelines
API 클라이언트 API
고급 기능
RTC RESTFUL API
History
Introduction
API Category
Room Management APIs
Stream mixing and relay APIs
On-cloud recording APIs
Data Monitoring APIs
Pull stream Relay Related interface
Web Record APIs
AI Service APIs
Cloud Slicing APIs
Cloud Moderation APIs
Making API Requests
Call Quality Monitoring APIs
Usage Statistics APIs
Data Types
Appendix
Error Codes
콘솔 가이드
애플리케이션 관리
사용량 통계
모니터링 대시보드
개발 보조
Solution
Real-Time Chorus
FAQs
과금 개요
기능 관련
UserSig 관련
방화벽 제한 처리
설치 패키지 용량 축소 관련 질문
Andriod 및 iOS 관련
Web 관련
Flutter 관련
Electron 관련
TRTCCalling Web 관련
멀티미디어 품질 관련
기타 질문
Protocols and Policies
컴플라이언스 인증
보안 백서
정보 보안에 관한 참고 사항
Service Level Agreement
Apple Privacy Policy: PrivacyInfo.xcprivacy
TRTC 정책
개인 정보 보호 정책
데이터 처리 및 보안 계약
용어집

Deprecated Interface

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2025-12-31 17:42:03
Deprecated Interface

IDeprecatedTRTCCloud

FuncList
DESC
Set the strength of beauty, brightening, and rosy skin filters.
Enable volume reminder.
Enable volume reminder.
Set sound quality.
Start displaying remote video image.
Stop displaying remote video image and pulling the video data stream of remote user.
Set the rendering mode of local image.
Set the clockwise rotation angle of local image.
Set the mirror mode of local camera's preview image.
Set the fill mode of substream image.
Set the clockwise rotation angle of remote image.
Start displaying the substream image of remote user.
Stop displaying the substream image of remote user.
Set the fill mode of substream image.
Set the clockwise rotation angle of substream image.
Set sound quality.
Specify whether to view the big or small image.
Set mic volume.
Start background music.
Stop background music.
Stop background music.
Stop background music.
Get the total length of background music in ms.
Set background music playback progress.
Set background music volume.
Set the local playback volume of background music.
Set the remote playback volume of background music.
Play sound effect.
Set sound effect volume.
Stop sound effect.
Stop all sound effects.
Set the volume of all sound effects.
Pause sound effect.
Pause sound effect.
Enable custom video capturing mode.
Deliver captured video data to SDK.
Pause/Resume publishing local video stream.
Pause/Resume subscribing to remote user's video stream.
Start network speed test (used before room entry).
Start screen sharing.
Set video data callback for third-party beauty filters.
Get the list of cameras.
Set the camera to be used currently.
Get the currently used camera.
Get the list of mics.
Get the current mic device.
Select the currently used mic.
Get the current mic volume.
Set the current mic volume.
Set the mute status of the current system mic.
Get the mute status of the current system mic.
Get the list of speakers.
Get the currently used speaker.
Set the speaker to use.
Get the current speaker volume.
Set the current speaker volume.
Get the mute status of the current system speaker.
Set whether to mute the current system speaker.
Start camera test.

Start camera test.
Start mic test.
Start mic test.
Start speaker test.
Stop speaker test.
start in-app screen sharing (for iOS 13.0 and above only).
Set the direction of image output by video encoder.
Set the mirror mode of image output by encoder.
Start publishing audio/video streams to Tencent Cloud CSS CDN.
Stop publishing audio/video streams to Tencent Cloud CSS CDN.
Start publishing audio/video streams to non-Tencent Cloud CDN.
Stop publishing audio/video streams to non-Tencent Cloud CDN.
Set the layout and transcoding parameters of On-Cloud MixTranscoding.

setBeautyStyle

setBeautyStyle
void setBeautyStyle
(TRTCBeautyStyle style

uint32_t beautyLevel

uint32_t whitenessLevel

uint32_t ruddinessLevel)
Set the strength of beauty, brightening, and rosy skin filters.
@deprecated This API is not recommended after v6.9. Please use setBeautyStyle, setBeautyLevel, setWhitenessLevel, setRuddyLevel API in TXBeautyManager instead.

enableAudioVolumeEvaluation

enableAudioVolumeEvaluation
void enableAudioVolumeEvaluation
(uint32_t interval)
Enable volume reminder.
@deprecated This API is not recommended after v10.1. Please use enableAudioVolumeEvaluation(enable, params) instead.

enableAudioVolumeEvaluation

enableAudioVolumeEvaluation
void enableAudioVolumeEvaluation
(uint32_t interval

bool enable_vad)
Enable volume reminder.
@deprecated This API is not recommended after v11.2. Please use enableAudioVolumeEvaluation(enable, params) instead.

startLocalAudio

startLocalAudio
Set sound quality.
@deprecated This API is not recommended after v8.0. Please use startLocalAudio:quality instead.

startRemoteView

startRemoteView
void startRemoteView
(const char* userId

TXView rendView)
Start displaying remote video image.
@deprecated This API is not recommended after v8.0. Please use startRemoteView:streamType:view: instead.

stopRemoteView

stopRemoteView
void stopRemoteView
(const char* userId)
Stop displaying remote video image and pulling the video data stream of remote user.
@deprecated This API is not recommended after v8.0. Please use stopRemoteView:streamType: instead.

setLocalViewFillMode

setLocalViewFillMode
void setLocalViewFillMode
(TRTCVideoFillMode mode)
Set the rendering mode of local image.
@deprecated This API is not recommended after v8.0. Please use setLocalRenderParams instead.

setLocalViewRotation

setLocalViewRotation
void setLocalViewRotation
(TRTCVideoRotation rotation)
Set the clockwise rotation angle of local image.
@deprecated This API is not recommended after v8.0. Please use setLocalRenderParams instead.

setLocalViewMirror

setLocalViewMirror
void setLocalViewMirror
(bool mirror)
Set the mirror mode of local camera's preview image.
@deprecated This API is not recommended after v8.0. Please use setLocalRenderParams instead.

setRemoteViewFillMode

setRemoteViewFillMode
void setRemoteViewFillMode
(const char* userId

TRTCVideoFillMode mode)
Set the fill mode of substream image.
@deprecated This API is not recommended after v8.0. Please use setRemoteRenderParams:streamType:params: instead.

setRemoteViewRotation

setRemoteViewRotation
void setRemoteViewRotation
(const char* userId

TRTCVideoRotation rotation)
Set the clockwise rotation angle of remote image.
@deprecated This API is not recommended after v8.0. Please use setRemoteRenderParams:streamType:params: instead.

startRemoteSubStreamView

startRemoteSubStreamView
void startRemoteSubStreamView
(const char* userId

TXView rendView)
Start displaying the substream image of remote user.
@deprecated This API is not recommended after v8.0. Please use startRemoteView:streamType:view: instead.

stopRemoteSubStreamView

stopRemoteSubStreamView
void stopRemoteSubStreamView
(const char* userId)
Stop displaying the substream image of remote user.
@deprecated This API is not recommended after v8.0. Please use stopRemoteView:streamType: instead.

setRemoteSubStreamViewFillMode

setRemoteSubStreamViewFillMode
void setRemoteSubStreamViewFillMode
(const char* userId

TRTCVideoFillMode mode)
Set the fill mode of substream image.
@deprecated This API is not recommended after v8.0. Please use setRemoteRenderParams:streamType:params: instead.

setRemoteSubStreamViewRotation

setRemoteSubStreamViewRotation
void setRemoteSubStreamViewRotation
(const char* userId

TRTCVideoRotation rotation)
Set the clockwise rotation angle of substream image.
@deprecated This API is not recommended after v8.0. Please use setRemoteRenderParams:streamType:params: instead.

setAudioQuality

setAudioQuality
void setAudioQuality
(TRTCAudioQuality quality)
Set sound quality.
@deprecated This API is not recommended after v8.0. Please use startLocalAudio:quality instead.

setPriorRemoteVideoStreamType

setPriorRemoteVideoStreamType
void setPriorRemoteVideoStreamType
(TRTCVideoStreamType type)
Specify whether to view the big or small image.
@deprecated This API is not recommended after v8.0. Please use startRemoteView:streamType:view: instead.

setMicVolumeOnMixing

setMicVolumeOnMixing
void setMicVolumeOnMixing
(uint32_t volume)
Set mic volume.
@deprecated This API is not recommended after v6.9. Please use setAudioCaptureVolume instead.

playBGM

playBGM
void playBGM
(const char* path)
Start background music.
@deprecated This API is not recommended after v7.3. Please use startPlayMusic API in TXAudioEffectManager instead.

stopBGM

stopBGM
Stop background music.
@deprecated This API is not recommended after v7.3. Please use stopPlayMusic API in TXAudioEffectManager instead.

pauseBGM

pauseBGM
Stop background music.
@deprecated This API is not recommended after v7.3. Please use pausePlayMusic API in TXAudioEffectManager instead.

resumeBGM

resumeBGM
Stop background music.
@deprecated This API is not recommended after v7.3. Please use resumePlayMusic API in TXAudioEffectManager instead.

getBGMDuration

getBGMDuration
uint32_t getBGMDuration
(const char* path)
Get the total length of background music in ms.
@deprecated This API is not recommended after v7.3. Please use getMusicDurationInMS API in TXAudioEffectManager instead.

setBGMPosition

setBGMPosition
void setBGMPosition
(uint32_t pos)
Set background music playback progress.
@deprecated This API is not recommended after v7.3. Please use seekMusicToPosInMS API in TXAudioEffectManager instead.

setBGMVolume

setBGMVolume
void setBGMVolume
(uint32_t volume)
Set background music volume.
@deprecated This API is not recommended after v7.3. Please use setMusicVolume API in TXAudioEffectManager instead.

setBGMPlayoutVolume

setBGMPlayoutVolume
void setBGMPlayoutVolume
(uint32_t volume)
Set the local playback volume of background music.
@deprecated This API is not recommended after v7.3. Please use setMusicPlayoutVolume API in TXAudioEffectManager instead.

setBGMPublishVolume

setBGMPublishVolume
void setBGMPublishVolume
(uint32_t volume)
Set the remote playback volume of background music.
@deprecated This API is not recommended after v7.3. Please use setBGMPublishVolume API in TXAudioEffectManager instead.

playAudioEffect

playAudioEffect
void playAudioEffect
(TRTCAudioEffectParam* effect)
Play sound effect.
@deprecated This API is not recommended after v7.3. Please use startPlayMusic API in TXAudioEffectManager instead.

setAudioEffectVolume

setAudioEffectVolume
void setAudioEffectVolume
(int effectId

int volume)
Set sound effect volume.
@deprecated This API is not recommended after v7.3. Please use setMusicPublishVolume and setMusicPlayoutVolume API in TXAudioEffectManager instead.

stopAudioEffect

stopAudioEffect
void stopAudioEffect
(int effectId)
Stop sound effect.
@deprecated This API is not recommended after v7.3. Please use stopPlayMusic API in TXAudioEffectManager instead.

stopAllAudioEffects

stopAllAudioEffects
Stop all sound effects.
@deprecated This API is not recommended after v7.3. Please use stopPlayMusic API in TXAudioEffectManager instead.

setAllAudioEffectsVolume

setAllAudioEffectsVolume
void setAllAudioEffectsVolume
(int volume)
Set the volume of all sound effects.
@deprecated This API is not recommended after v7.3. Please use setMusicPublishVolume and setMusicPlayoutVolume API in TXAudioEffectManager instead.

pauseAudioEffect

pauseAudioEffect
void pauseAudioEffect
(int effectId)
Pause sound effect.
@deprecated This API is not recommended after v7.3. Please use pauseAudioEffect API in TXAudioEffectManager instead.

resumeAudioEffect

resumeAudioEffect
void resumeAudioEffect
(int effectId)
Pause sound effect.
@deprecated This API is not recommended after v7.3. Please use resumePlayMusic API in TXAudioEffectManager instead.

enableCustomVideoCapture

enableCustomVideoCapture
void enableCustomVideoCapture
(bool enable)
Enable custom video capturing mode.
@deprecated This API is not recommended after v8.5. Please use enableCustomVideoCapture instead.

sendCustomVideoData

sendCustomVideoData
void sendCustomVideoData
(TRTCVideoFrame* frame)
Deliver captured video data to SDK.
@deprecated This API is not recommended after v8.5. Please use sendCustomVideoData instead.

muteLocalVideo

muteLocalVideo
void muteLocalVideo
(bool mute)
Pause/Resume publishing local video stream.
@deprecated This API is not recommended after v8.9. Please use muteLocalVideo (streamType, mute) instead.

muteRemoteVideoStream

muteRemoteVideoStream
void muteRemoteVideoStream
(const char* userId

bool mute)
Pause/Resume subscribing to remote user's video stream.
@deprecated This API is not recommended after v8.9. Please use muteRemoteVideoStream (userId, streamType, mute) instead.

startSpeedTest

startSpeedTest
void startSpeedTest
(uint32_t sdkAppId

const char* userId

const char* userSig)
Start network speed test (used before room entry).
@deprecated This API is not recommended after v9.2. Please use startSpeedTest (params) instead.

startScreenCapture

startScreenCapture
void startScreenCapture
(TXView rendView)
Start screen sharing.
@deprecated This API is not recommended after v7.2. Please use startScreenCapture:streamType:encParam: instead.

setLocalVideoProcessCallback

setLocalVideoProcessCallback
int setLocalVideoProcessCallback
(TRTCVideoPixelFormat pixelFormat

TRTCVideoBufferType bufferType

ITRTCVideoFrameCallback* callback)
Set video data callback for third-party beauty filters.
@deprecated This API is not recommended after v11.4. Please use the enableLocalVideoCustomProcess and setLocalVideoCustomProcessCallback instead.

getCameraDevicesList

getCameraDevicesList
Get the list of cameras.
@deprecated This API is not recommended after v8.0. Please use the getDevicesList API in TXDeviceManager instead.

setCurrentCameraDevice

setCurrentCameraDevice
void setCurrentCameraDevice
(const char* deviceId)
Set the camera to be used currently.
@deprecated This API is not recommended after v8.0. Please use the setCurrentDevice API in TXDeviceManager instead.

getCurrentCameraDevice

getCurrentCameraDevice
Get the currently used camera.
@deprecated This API is not recommended after v8.0. Please use the getCurrentDevice API in TXDeviceManager instead.

getMicDevicesList

getMicDevicesList
Get the list of mics.
@deprecated This API is not recommended after v8.0. Please use the getDevicesList API in TXDeviceManager instead.

getCurrentMicDevice

getCurrentMicDevice
Get the current mic device.
@deprecated This API is not recommended after v8.0. Please use the getCurrentDevice API in TXDeviceManager instead.

setCurrentMicDevice

setCurrentMicDevice
void setCurrentMicDevice
(const char* micId)
Select the currently used mic.
@deprecated This API is not recommended after v8.0. Please use the setCurrentDevice API in TXDeviceManager instead.

getCurrentMicDeviceVolume

getCurrentMicDeviceVolume
Get the current mic volume.
@deprecated This API is not recommended after v8.0. Please use the getCurrentDeviceVolume API in TXDeviceManager instead.

setCurrentMicDeviceVolume

setCurrentMicDeviceVolume
void setCurrentMicDeviceVolume
(uint32_t volume)
Set the current mic volume.
@deprecated This API is not recommended after v8.0. Please use the setCurrentDeviceVolume API in TXDeviceManager instead.

setCurrentMicDeviceMute

setCurrentMicDeviceMute
void setCurrentMicDeviceMute
(bool mute)
Set the mute status of the current system mic.
@deprecated This API is not recommended after v8.0. Please use the setCurrentDeviceMute API in TXDeviceManager instead.

getCurrentMicDeviceMute

getCurrentMicDeviceMute
Get the mute status of the current system mic.
@deprecated This API is not recommended after v8.0. Please use the getCurrentDeviceMute API in TXDeviceManager instead.

getSpeakerDevicesList

getSpeakerDevicesList
Get the list of speakers.
@deprecated This API is not recommended after v8.0. Please use the getDevicesList API in TXDeviceManager instead.

getCurrentSpeakerDevice

getCurrentSpeakerDevice
Get the currently used speaker.
@deprecated This API is not recommended after v8.0. Please use the getCurrentDevice API in TXDeviceManager instead.

setCurrentSpeakerDevice

setCurrentSpeakerDevice
void setCurrentSpeakerDevice
(const char* speakerId)
Set the speaker to use.
@deprecated This API is not recommended after v8.0. Please use the setCurrentDevice API in TXDeviceManager instead.

getCurrentSpeakerVolume

getCurrentSpeakerVolume
Get the current speaker volume.
@deprecated This API is not recommended after v8.0. Please use the getCurrentDeviceVolume API in TXDeviceManager instead.

setCurrentSpeakerVolume

setCurrentSpeakerVolume
void setCurrentSpeakerVolume
(uint32_t volume)
Set the current speaker volume.
@deprecated This API is not recommended after v8.0. Please use the setCurrentDeviceVolume API in TXDeviceManager instead.

getCurrentSpeakerDeviceMute

getCurrentSpeakerDeviceMute
Get the mute status of the current system speaker.
@deprecated This API is not recommended after v8.0. Please use the getCurrentDeviceMute API in TXDeviceManager instead.

setCurrentSpeakerDeviceMute

setCurrentSpeakerDeviceMute
void setCurrentSpeakerDeviceMute
(bool mute)
Set whether to mute the current system speaker.
@deprecated This API is not recommended after v8.0. Please use the setCurrentDeviceMute API in TXDeviceManager instead.

startCameraDeviceTest

startCameraDeviceTest
void startCameraDeviceTest
(TXView renderView)
Start camera test.
@deprecated This API is not recommended after v8.0. Please use the startCameraDeviceTest API in TXDeviceManager instead.

stopCameraDeviceTest

stopCameraDeviceTest
Start camera test.
@deprecated This API is not recommended after v8.0. Please use the stopCameraDeviceTest API in TXDeviceManager instead.

startMicDeviceTest

startMicDeviceTest
void startMicDeviceTest
(uint32_t interval)
Start mic test.
@deprecated This API is not recommended after v8.0. Please use the startMicDeviceTest API in TXDeviceManager instead.

stopMicDeviceTest

stopMicDeviceTest
Start mic test.
@deprecated This API is not recommended after v8.0. Please use the stopMicDeviceTest API in TXDeviceManager instead.

startSpeakerDeviceTest

startSpeakerDeviceTest
void startSpeakerDeviceTest
(const char* testAudioFilePath)
Start speaker test.
@deprecated This API is not recommended after v8.0. Please use the startSpeakerDeviceTest API in TXDeviceManager instead.

stopSpeakerDeviceTest

stopSpeakerDeviceTest
Stop speaker test.
@deprecated This API is not recommended after v8.0. Please use the stopSpeakerDeviceTest API in TXDeviceManager instead.

selectScreenCaptureTarget

selectScreenCaptureTarget
void selectScreenCaptureTarget
(const TRTCScreenCaptureSourceInfo& source

const RECT& captureRect

bool captureMouse = true

bool highlightWindow = true)
start in-app screen sharing (for iOS 13.0 and above only).
@deprecated This API is not recommended after v8.6. Please use startScreenCaptureInApp instead.

setVideoEncoderRotation

setVideoEncoderRotation
void setVideoEncoderRotation
(TRTCVideoRotation rotation)
Set the direction of image output by video encoder.
@deprecated It is deprecated starting from v11.7.

setVideoEncoderMirror

setVideoEncoderMirror
void setVideoEncoderMirror
(bool mirror)
Set the mirror mode of image output by encoder.
@deprecated It is deprecated starting from v11.7.

startPublishing

startPublishing
void startPublishing
(const char* streamId

TRTCVideoStreamType streamType)
Start publishing audio/video streams to Tencent Cloud CSS CDN.
@deprecated It is deprecated starting from v12.0. Please use startPublishMediaStream instead.

stopPublishing

stopPublishing
Stop publishing audio/video streams to Tencent Cloud CSS CDN.
@deprecated It is deprecated starting from v12.0. Please use stopPublishMediaStream instead.

startPublishCDNStream

startPublishCDNStream
void startPublishCDNStream
(const TRTCPublishCDNParam& param)
Start publishing audio/video streams to non-Tencent Cloud CDN.
@deprecated It is deprecated starting from v12.0. Please use startPublishMediaStream instead.

stopPublishCDNStream

stopPublishCDNStream
Stop publishing audio/video streams to non-Tencent Cloud CDN.
@deprecated It is deprecated starting from v12.0. Please use stopPublishMediaStream instead.

setMixTranscodingConfig

setMixTranscodingConfig
void setMixTranscodingConfig
(TRTCTranscodingConfig* config)
Set the layout and transcoding parameters of On-Cloud MixTranscoding.
@deprecated It is deprecated starting from v12.0. Please use startPublishMediaStreamupdatePublishMediaStream and stopPublishMediaStream instead.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백