RTC Engine
  • 개요
  • Web
    • Demo 실행
    • SDK 빠른 실행
    • 기본 기능
      • 화면 공유
      • 라이브 방송
      • 미디어 장치
      • 볼륨
      • 인코딩 구성 파일 설정
      • 네트워크 품질 검사
      • 검출 능력
    • 고급 기능
      • AI 노이즈 캔슬링 활성화
      • 오디오 믹싱 활성화
      • 워터마크 활성화
      • Enable Virtual Background
      • 뷰티 및 특수효과 활성화
      • 데이터 메시지
      • 사용자 정의 수집 및 렌더링
    • 인터페이스 목록
    • 배포 설명
    • 플랫폼 지원
    • Web 관련 자주 받는 질문
      • 다중 사용자 비디오 통화 최적화
      • 자동 재생 제한 처리
      • 방화벽 제한 대응
      • 기타
  • Android
    • Run Sample Code
    • Integration
    • 통합
      • 7. 네트워크 품질 검사
      • 8. 화면 공유 활성화
      • 9. 비디오 품질 설정
      • 10. 비디오 회전
    • Advanced Features
      • 네트워크 품질 테스트
      • 사용자 정의 수집 및 렌더링
      • 사용자 정의 오디오 수집 및 재생
    • 고객 인터페이스
      • 개요
      • TRTCCloud
      • TRTCStatistics
      • TRTCCloudListener
      • TXAudioEffectManager
      • TXBeautyManager
      • TXDeviceManager
      • 유형 정의
      • 인터페이스 폐기
      • 에러코드
    • 솔루션
      • 실시간 합창 (TUIKaraoke)
        • 빠른 통합
        • 실시 절차
        • 노래 동기화
        • 가사 동기화
        • 음성 동기화
        • 혼합 스트림 솔루션
        • TRTCKaraoke 관련 인터페이스
        • 자주 받는 질문들
    • 배포 설명
  • iOS
    • Run Sample Code
    • Integration
    • 통합
      • 7. 네트워크 품질 검사
      • 8. 화면 공유 활성화
      • 9. 비디오 품질 설정
      • 10. 비디오 회전
    • Advanced Features
      • 네트워크 품질 테스트
      • 사용자 정의 수집 및 렌더링
      • 사용자 정의 오디오 수집 및 재생
    • 고객 인터페이스
      • 개요
      • TRTCCloud
      • TRTCCloudDelegate
      • TRTCStatistics
      • TXAudioEffectManager
      • TXBeautyManager
      • TXDeviceManager
      • 유형 정의
      • 인터페이스 폐기
      • ErrorCode
    • 솔루션
      • 빠른 통합
      • 실시 절차
      • 노래 동기화
      • 가사 동기화
      • 음성 동기화
      • 혼합 스트림 솔루션
      • TRTCKaraoke 관련 인터페이스
      • 자주 받는 질문들
    • 배포 설명
  • macOS
    • Run Sample Code
    • Integration
    • 통합
      • 7. 네트워크 품질 검사
      • 8. 화면 공유 활성화
      • 9. 컴퓨터 소리 공유
      • 10. 비디오 품질 설정
      • 11. 비디오 회전
    • Advanced Features
      • 하드웨어 장치 테스트
      • 네트워크 품질 테스트
      • 사용자 정의 수집 및 렌더링
      • 사용자 정의 오디오 수집 및 재생
    • 고객 인터페이스
      • 개요
      • TRTCCloud
      • TRTCCloudDelegate
      • TRTCStatistics
      • TXAudioEffectManager
      • TXBeautyManager
      • TXDeviceManager
      • 유형 정의
      • 인터페이스 폐기
      • ErrorCode
      • 배포 설명
    • 배포 설명
  • Windows
    • Run Sample Code
    • Integration
    • 통합
      • 7. 네트워크 품질 검사
      • 8. 화면 공유 활성화
      • 9. 비디오 품질 설정
      • 10. 비디오 회전
    • Advanced Features
      • 하드웨어 장치 테스트
      • 네트워크 품질 테스트
      • 사용자 정의 수집 및 렌더링
      • 사용자 정의 오디오 수집 및 재생
    • 고객 인터페이스
      • 개요
      • ITRTCCloud
      • ITRTCStatistics
      • TRTCCloudCallback
      • ITXAudioEffectManager
      • ITXDeviceManager
      • 유형 정의
      • 인터페이스 폐기
      • 에러코드
    • 배포 설명
  • Electron
    • 통합
      • 1. 인터페이스 예시
      • 2. SDK 가져오기
      • 3. 룸 들어가기
      • 4. 오디오/비디오 스트림 구독
      • 5. 오디오/비디오 스트림 배포
      • 6. 룸 퇴출
      • 7. 네트워크 품질 검사
      • 8. 화면 공유 활성화
      • 9. 컴퓨터 소리 공유
      • 10. 비디오 품질 설정
      • 11. 비디오 회전
    • 고객 인터페이스
      • 개요
      • 에러코드
  • Flutter
    • 통합
      • 1. 인터페이스 예시
      • 2. SDK 가져오기
      • 3. 룸 들어가기
      • 4. 오디오/비디오 스트림 구독
      • 5. 오디오/비디오 스트림 배포
      • 6. 룸 퇴출
      • 7. 네트워크 품질 검사
      • 8. 화면 공유 활성화
      • 9. 컴퓨터 소리 공유
      • 10. 비디오 품질 설정
      • 11. 비디오 회전
    • 고객 인터페이스
      • 개요
      • 에러코드
  • Unity
    • 통합
      • 1. 인터페이스 예시
      • 2. SDK 가져오기
    • 고객 인터페이스
      • 개요
      • 에러코드
  • QT
    • 통합
      • 1. SDK 가져오기
  • 개요
    • 개요
  • 개념
  • Features
  • 성능 통계
  • 가격
    • 무료시간
    • RTC-Engine 패키지
    • 구독 패키지 기간 과금 설명
    • 종량제
      • 오디오 및 비디오 시간 과금 설명
      • 클라우드 녹화 과금 설명
      • 믹스 트랜스코딩 및 CDN 중계 과금 설명
  • 자주 받는 질문들
    • 자주 받는 질문들
    • 마이그레이션 가이드
      • Twilio Video에서 TRTC로의 마이그레이션
      • 과금
      • Features
      • UserSig
      • 방화벽 제한
      • 설치 패키지 축소 방법
      • TRTCCalling Web 관련
      • 오디오/비디오 품질
      • 기타
RTC Engine
이 페이지는 현재 영어로만 제공되며 한국어 버전은 곧 제공될 예정입니다. 기다려 주셔서 감사드립니다.

인터페이스 폐기

Copyright (c) 2022 Tencent. All rights reserved.
Deprecate

TRTCCloud

FuncList
DESC
Terminate TRTCCloud instance (singleton mode)
Set TRTC event callback
Set the strength of beauty, brightening, and rosy skin filters.
Set the strength of eye enlarging filter
Set the strength of face slimming filter
Set the strength of chin slimming filter
Set the strength of chin lengthening/shortening filter
Set the strength of face shortening filter
Set the strength of nose slimming filter
Set animated sticker
Mute animated sticker
Set color filter
Set the strength of color filter
Set green screen video
Set reverb effect
Set voice changing type
Enable or disable in-ear monitoring
Enable volume reminder
Enable volume reminder
Switch camera
Query whether the current camera supports zoom
Set camera zoom ratio (focal length)
Query whether the device supports flash
Enable/Disable flash
Query whether the camera supports setting focus
Set the focal position of camera
Query whether the device supports the automatic recognition of face position
Enable/Disable face auto focus
Setting the system volume type (for mobile OS)
Screencapture video
Start system-level screen sharing (for iOS 11.0 and above only)
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
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
Set the adaptation mode of G-sensor

destroySharedIntance

destroySharedIntance

Terminate TRTCCloud instance (singleton mode)

@deprecated This API is not recommended after 11.5 Please use destroySharedInstance instead.

delegate

delegate

Set TRTC event callback

@deprecated This API is not recommended after v11.4 Please use addDelegate instead.

setBeautyStyle:beautyLevel:whitenessLevel:ruddinessLevel:

setBeautyStyle:beautyLevel:whitenessLevel:ruddinessLevel:
- (void)setBeautyStyle:
(TRTCBeautyStyle)beautyStyle
beautyLevel:
(NSInteger)beautyLevel
whitenessLevel:
(NSInteger)whitenessLevel
ruddinessLevel:
(NSInteger)ruddinessLevel

Set the strength of beauty, brightening, and rosy skin filters.

@deprecated This API is not recommended after v6.9. Please use getBeautyManager instead.

setEyeScaleLevel:

setEyeScaleLevel:
- (void)setEyeScaleLevel:
(float)eyeScaleLevel

Set the strength of eye enlarging filter

@deprecated This API is not recommended after v6.9. Please use getBeautyManager instead.

setFaceScaleLevel:

setFaceScaleLevel:
- (void)setFaceScaleLevel:
(float)faceScaleLevel

Set the strength of face slimming filter

@deprecated This API is not recommended after v6.9. Please use getBeautyManager instead.

setFaceVLevel:

setFaceVLevel:
- (void)setFaceVLevel:
(float)faceVLevel

Set the strength of chin slimming filter

@deprecated This API is not recommended after v6.9. Please use getBeautyManager instead.

setChinLevel:

setChinLevel:
- (void)setChinLevel:
(float)chinLevel

Set the strength of chin lengthening/shortening filter

@deprecated This API is not recommended after v6.9. Please use getBeautyManager instead.

setFaceShortLevel:

setFaceShortLevel:
- (void)setFaceShortLevel:
(float)faceShortlevel

Set the strength of face shortening filter

@deprecated This API is not recommended after v6.9. Please use getBeautyManager instead.

setNoseSlimLevel:

setNoseSlimLevel:
- (void)setNoseSlimLevel:
(float)noseSlimLevel

Set the strength of nose slimming filter

@deprecated This API is not recommended after v6.9. Please use getBeautyManager instead.

selectMotionTmpl:

selectMotionTmpl:
- (void)selectMotionTmpl:
(NSString *)tmplPath

Set animated sticker

@deprecated This API is not recommended after v6.9. Please use getBeautyManager instead.

setMotionMute:

setMotionMute:
- (void)setMotionMute:
(BOOL)motionMute

Mute animated sticker

@deprecated This API is not recommended after v6.9. Please use getBeautyManager instead.

setFilter:

setFilter:
- (void)setFilter:
(TXImage *)image

Set color filter

@deprecated This API is not recommended after v7.2. Please use getBeautyManager instead.

setFilterConcentration:

setFilterConcentration:
- (void)setFilterConcentration:
(float)concentration

Set the strength of color filter

@deprecated This API is not recommended after v7.2. Please use getBeautyManager instead.

setGreenScreenFile:

setGreenScreenFile:
- (void)setGreenScreenFile:
(NSURL *)file

Set green screen video

@deprecated This API is not recommended after v7.2. Please use getBeautyManager instead.

setReverbType:

setReverbType:
- (void)setReverbType:
(TRTCReverbType)reverbType

Set reverb effect

@deprecated This API is not recommended after v7.3. Please use setVoiceReverbType API in TXAudioEffectManager instead.

setVoiceChangerType:

setVoiceChangerType:
- (void)setVoiceChangerType:
(TRTCVoiceChangerType)voiceChangerType

Set voice changing type

@deprecated This API is not recommended after v7.3. Please use setVoiceChangerType API in TXAudioEffectManager instead.

enableAudioEarMonitoring:

enableAudioEarMonitoring:
- (void)enableAudioEarMonitoring:
(BOOL)enable

Enable or disable in-ear monitoring

@deprecated This API is not recommended after v7.3. Please use setVoiceEarMonitor API in TXAudioEffectManager instead.

enableAudioVolumeEvaluation:

enableAudioVolumeEvaluation:
- (void)enableAudioVolumeEvaluation:
(NSUInteger)interval

Enable volume reminder

@deprecated This API is not recommended after v10.1. Please use enableAudioVolumeEvaluation(enable, params) instead.

enableAudioVolumeEvaluation:enable_vad:

enableAudioVolumeEvaluation:enable_vad:
- (void)enableAudioVolumeEvaluation:
(NSUInteger)interval
enable_vad:
(BOOL)enable_vad

Enable volume reminder

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

switchCamera

switchCamera

Switch camera

@deprecated This API is not recommended after v8.0. Please use the switchCamera API in TXDeviceManager instead.

isCameraZoomSupported

isCameraZoomSupported

Query whether the current camera supports zoom

@deprecated This API is not recommended after v8.0. Please use the isCameraZoomSupported API in TXDeviceManager instead.

setZoom:

setZoom:
- (void)setZoom:
(CGFloat)distance

Set camera zoom ratio (focal length)

@deprecated This API is not recommended after v8.0. Please use the setCameraZoomRatio API in TXDeviceManager instead.

isCameraTorchSupported

isCameraTorchSupported

Query whether the device supports flash

@deprecated This API is not recommended after v8.0. Please use the isCameraTorchSupported API in TXDeviceManager instead.

enbaleTorch:

enbaleTorch:
- (BOOL)enbaleTorch:
(BOOL)enable

Enable/Disable flash

@deprecated This API is not recommended after v8.0. Please use the enableCameraTorch API in TXDeviceManager instead.

isCameraFocusPositionInPreviewSupported

isCameraFocusPositionInPreviewSupported

Query whether the camera supports setting focus

@deprecated This API is not recommended after v8.0.

setFocusPosition:

setFocusPosition:
- (void)setFocusPosition:
(CGPoint)touchPoint

Set the focal position of camera

@deprecated This API is not recommended after v8.0. Please use the setCameraFocusPosition API in TXDeviceManager instead.

isCameraAutoFocusFaceModeSupported

isCameraAutoFocusFaceModeSupported

Query whether the device supports the automatic recognition of face position

@deprecated This API is not recommended after v8.0. Please use the isAutoFocusEnabled API in TXDeviceManager instead.

enableAutoFaceFoucs:

enableAutoFaceFoucs:
- (void)enableAutoFaceFoucs:
(BOOL)enable

Enable/Disable face auto focus

@deprecated This API is not recommended after v8.0. Please use the enableCameraAutoFocus API in TXDeviceManager instead.

setSystemVolumeType:

setSystemVolumeType:
- (void)setSystemVolumeType:

Setting the system volume type (for mobile OS)

@deprecated This API is not recommended after v8.0. Please use the startLocalAudio instead, which param quality is used to decide audio quality.

snapshotVideo:type:

snapshotVideo:type:
- (void)snapshotVideo:
(NSString *)userId
type:
(TRTCVideoStreamType)streamType

Screencapture video

@deprecated This API is not recommended after v8.2. Please use snapshotVideo instead.

startScreenCaptureByReplaykit:appGroup:

startScreenCaptureByReplaykit:appGroup:
- (void)startScreenCaptureByReplaykit:
(TRTCVideoEncParam *)encParams
appGroup:
(NSString *)appGroup

Start system-level screen sharing (for iOS 11.0 and above only)

@deprecated This API is not recommended after v8.6. Please use startScreenCaptureByReplaykit instead.

startLocalAudio

startLocalAudio

Set sound quality

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

startRemoteView:view:

startRemoteView:view:
- (void)startRemoteView:
(NSString *)userId
view:
(TXView *)view

Start displaying remote video image

@deprecated This API is not recommended after v8.0. Please use startRemoteView:streamType:view: instead.

stopRemoteView:

stopRemoteView:
- (void)stopRemoteView:
(NSString *)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:
(TRTCLocalVideoMirrorType)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:mode:

setRemoteViewFillMode:mode:
- (void)setRemoteViewFillMode:
(NSString*)userId
mode:
(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:rotation:

setRemoteViewRotation:rotation:
- (void)setRemoteViewRotation:
(NSString*)userId
rotation:
(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:view:

startRemoteSubStreamView:view:
- (void)startRemoteSubStreamView:
(NSString *)userId
view:
(TXView *)view

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:
(NSString *)userId

Stop displaying the substream image of remote user

@deprecated This API is not recommended after v8.0. Please use stopRemoteView:streamType: instead.

setRemoteSubStreamViewFillMode:mode:

setRemoteSubStreamViewFillMode:mode:
- (void)setRemoteSubStreamViewFillMode:
(NSString *)userId
mode:
(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:rotation:

setRemoteSubStreamViewRotation:rotation:
- (void)setRemoteSubStreamViewRotation:
(NSString*)userId
rotation:
(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)streamType

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:
(NSInteger)volume

Set mic volume

@deprecated This API is not recommended after v6.9. Please use setAudioCaptureVolume instead.

playBGM:

playBGM:
- (void) playBGM:
(NSString *)path

Start background music

@deprecated This API is not recommended after v7.3. Please use getAudioEffectManager instead.

stopBGM

stopBGM

Stop background music

@deprecated This API is not recommended after v7.3. Please use getAudioEffectManager instead.

pauseBGM

pauseBGM

Stop background music

@deprecated This API is not recommended after v7.3. Please use getAudioEffectManager instead.

resumeBGM

resumeBGM

Stop background music

@deprecated This API is not recommended after v7.3. Please use getAudioEffectManager instead.

getBGMDuration:

getBGMDuration:
- (NSInteger)getBGMDuration:
(NSString *)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:
- (int)setBGMPosition:
(NSInteger)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:
(NSInteger)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:
(NSInteger)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:
(NSInteger)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:volume:

setAudioEffectVolume:volume:
- (void)setAudioEffectVolume:
(int)effectId
volume:
(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:mute:

muteRemoteVideoStream:mute:
- (void)muteRemoteVideoStream:
(NSString*)userId
mute:
(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:userId:userSig:

startSpeedTest:userId:userSig:
- (void)startSpeedTest:
(uint32_t)sdkAppId
userId:
(NSString *)userId
userSig:
(NSString *)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:
(nullable NSView *)view

Start screen sharing

@deprecated This API is not recommended after v7.2. Please use startScreenCapture:streamType:encParam: 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:
- (int)setCurrentCameraDevice:
(NSString *)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:
- (int)setCurrentMicDevice:
(NSString*)deviceId

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:
(NSInteger)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:
- (int)setCurrentSpeakerDevice:
(NSString*)deviceId

Set the speaker to use

@deprecated This API is not recommended after v8.0. Please use the setCurrentDevice API in TXDeviceManager instead.

getCurrentSpeakerDeviceVolume

getCurrentSpeakerDeviceVolume

Get the current speaker volume

@deprecated This API is not recommended after v8.0. Please use the getCurrentDeviceVolume API in TXDeviceManager instead.

setCurrentSpeakerDeviceVolume:

setCurrentSpeakerDeviceVolume:
- (int)setCurrentSpeakerDeviceVolume:
(NSInteger)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.

startCameraDeviceTestInView:

startCameraDeviceTestInView:
- (void)startCameraDeviceTestInView:
(NSView *)view

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:
(NSInteger)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:
(NSString*)audioFilePath

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.

startScreenCaptureInApp:

startScreenCaptureInApp:
- (void)startScreenCaptureInApp:
(TRTCVideoEncParam *)encParams

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.

setGSensorMode:

setGSensorMode:
- (void)setGSensorMode:
(TRTCGSensorMode) mode

Set the adaptation mode of G-sensor

@deprecated It is deprecated starting from v11.7. It is recommended to use the setGravitySensorAdaptiveMode interface instead.