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. | |
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. |
- (void)setBeautyStyle: | |
beautyLevel: | (NSInteger)beautyLevel |
whitenessLevel: | (NSInteger)whitenessLevel |
ruddinessLevel: | (NSInteger)ruddinessLevel |
- (void)setEyeScaleLevel: | (float)eyeScaleLevel |
- (void)setFaceScaleLevel: | (float)faceScaleLevel |
- (void)setFaceVLevel: | (float)faceVLevel |
- (void)setChinLevel: | (float)chinLevel |
- (void)setFaceShortLevel: | (float)faceShortlevel |
- (void)setNoseSlimLevel: | (float)noseSlimLevel |
- (void)selectMotionTmpl: | (NSString *)tmplPath |
- (void)setMotionMute: | (BOOL)motionMute |
- (void)setFilter: | (TXImage *)image |
- (void)setFilterConcentration: | (float)concentration |
- (void)setGreenScreenFile: | (NSURL *)file |
- (void)setReverbType: |
- (void)setVoiceChangerType: |
- (void)enableAudioEarMonitoring: | (BOOL)enable |
- (void)enableAudioVolumeEvaluation: | (NSUInteger)interval |
- (void)enableAudioVolumeEvaluation: | (NSUInteger)interval |
enable_vad: | (BOOL)enable_vad |
- (void)setZoom: | (CGFloat)distance |
- (BOOL)enbaleTorch: | (BOOL)enable |
- (void)setFocusPosition: | (CGPoint)touchPoint |
- (void)enableAutoFaceFoucs: | (BOOL)enable |
- (void)setSystemVolumeType: |
quality is used to decide audio quality.- (void)snapshotVideo: | (NSString *)userId |
type: |
- (void)startScreenCaptureByReplaykit: | |
appGroup: | (NSString *)appGroup |
- (void)startRemoteView: | (NSString *)userId |
view: | (TXView *)view |
- (void)stopRemoteView: | (NSString *)userId |
- (void)setLocalViewFillMode: |
- (void)setLocalViewRotation: |
- (void)setLocalViewMirror: | (TRTCLocalVideoMirrorType)mirror |
- (void)setRemoteViewFillMode: | (NSString*)userId |
mode: |
- (void)setRemoteViewRotation: | (NSString*)userId |
rotation: |
- (void)startRemoteSubStreamView: | (NSString *)userId |
view: | (TXView *)view |
- (void)stopRemoteSubStreamView: | (NSString *)userId |
- (void)setRemoteSubStreamViewFillMode: | (NSString *)userId |
mode: |
- (void)setRemoteSubStreamViewRotation: | (NSString*)userId |
rotation: |
- (void)setAudioQuality: |
- (void)setPriorRemoteVideoStreamType: |
- (void)setMicVolumeOnMixing: | (NSInteger)volume |
- (void) playBGM: | (NSString *)path |
- (NSInteger)getBGMDuration: | (NSString *)path |
- (int)setBGMPosition: | (NSInteger)pos |
- (void)setBGMVolume: | (NSInteger)volume |
- (void)setBGMPlayoutVolume: | (NSInteger)volume |
- (void)setBGMPublishVolume: | (NSInteger)volume |
- (void)playAudioEffect: |
- (void)setAudioEffectVolume: | (int)effectId |
volume: | (int) volume |
- (void)stopAudioEffect: | (int)effectId |
- (void)setAllAudioEffectsVolume: | (int)volume |
- (void)pauseAudioEffect: | (int)effectId |
- (void)resumeAudioEffect: | (int)effectId |
- (void)enableCustomVideoCapture: | (BOOL)enable |
- (void)sendCustomVideoData: |
- (void)muteLocalVideo: | (BOOL)mute |
- (void)muteRemoteVideoStream: | (NSString*)userId |
mute: | (BOOL)mute |
- (void)startSpeedTest: | (uint32_t)sdkAppId |
userId: | (NSString *)userId |
userSig: | (NSString *)userSig |
- (void)startScreenCapture: | (nullable NSView *)view |
startScreenCapture:streamType:encParam: instead.- (int)setCurrentCameraDevice: | (NSString *)deviceId |
- (int)setCurrentMicDevice: | (NSString*)deviceId |
- (void)setCurrentMicDeviceVolume: | (NSInteger)volume |
- (void)setCurrentMicDeviceMute: | (BOOL)mute |
- (int)setCurrentSpeakerDevice: | (NSString*)deviceId |
- (int)setCurrentSpeakerDeviceVolume: | (NSInteger)volume |
- (void)setCurrentSpeakerDeviceMute: | (BOOL)mute |
- (void)startCameraDeviceTestInView: | (NSView *)view |
- (void)startMicDeviceTest: | (NSInteger)interval |
- (void)startSpeakerDeviceTest: | (NSString*)audioFilePath |
- (void)startScreenCaptureInApp: |
- (void)setVideoEncoderRotation: |
- (void)setVideoEncoderMirror: | (BOOL)mirror |
- (void)setGSensorMode: |
- (void)startPublishing: | (NSString *)streamId |
type: |
- (void)startPublishCDNStream: |
- (void)setMixTranscodingConfig: |
Feedback