FuncList | DESC |
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 | |
Setting the system volume type (for mobile OS) | |
Query whether a certain audio capability is supported (only for Android) | |
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 | |
Screencapture video | |
Start network speed test (used before room entry) | |
Start screen sharing | |
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 setListener |
void setBeautyStyle | (int beautyStyle |
| int beautyLevel |
| int whitenessLevel |
| int ruddinessLevel) |
void setEyeScaleLevel | (int eyeScaleLevel) |
void setFaceSlimLevel | (int faceScaleLevel) |
void setFaceVLevel | (int faceVLevel) |
void setChinLevel | (int chinLevel) |
void setFaceShortLevel | (int faceShortlevel) |
void setNoseSlimLevel | (int noseSlimLevel) |
void selectMotionTmpl | (String motionPath) |
void setMotionMute | (boolean motionMute) |
void setFilter | (Bitmap image) |
void setFilterConcentration | (float concentration) |
boolean setGreenScreenFile | (String file) |
void setReverbType | (int reverbType) |
boolean setVoiceChangerType | (int voiceChangerType) |
void enableAudioEarMonitoring | (boolean enable) |
void enableAudioVolumeEvaluation | (int interval) |
void enableAudioVolumeEvaluation | (int interval |
| boolean enable_vad) |
void setZoom | (int distance) |
boolean enableTorch | (boolean enable) |
void setFocusPosition | (int x |
| int y) |
void setSystemVolumeType | (int type) |
quality
is used to decide audio quality.int checkAudioCapabilitySupport | (int capabilityType) |
Param | DESC |
capabilityType | Audio capability type. TRTCAudioCapabilityLowLatencyChorus,Low-latency chorus capability. TRTCAudioCapabilityLowLatencyEarMonitor,Low-latency earmonitor capability. |
void startRemoteView | (String userId |
| TXCloudVideoView view) |
void stopRemoteView | (String userId) |
void setLocalViewFillMode | (int mode) |
void setLocalViewRotation | (int rotation) |
void setLocalViewMirror | (int mirrorType) |
void setRemoteViewFillMode | (String userId |
| int mode) |
void setRemoteViewRotation | (String userId |
| int rotation) |
void startRemoteSubStreamView | (String userId |
| TXCloudVideoView view) |
void stopRemoteSubStreamView | (String userId) |
void setRemoteSubStreamViewFillMode | (String userId |
| int mode) |
void setRemoteSubStreamViewRotation | (final String userId |
| final int rotation) |
void setAudioQuality | (int quality) |
int setPriorRemoteVideoStreamType | (int streamType) |
void setMicVolumeOnMixing | (int volume) |
void playBGM | (String path |
|
int getBGMDuration | (String path) |
int setBGMPosition | (int pos) |
void setBGMVolume | (int volume) |
void setBGMPlayoutVolume | (int volume) |
void setBGMPublishVolume | (int volume) |
void playAudioEffect |
void setAudioEffectVolume | (int effectId |
| int volume) |
void stopAudioEffect | (int effectId) |
void setAllAudioEffectsVolume | (int volume) |
void pauseAudioEffect | (int effectId) |
void resumeAudioEffect | (int effectId) |
void enableCustomVideoCapture | (boolean enable) |
void sendCustomVideoData |
void muteLocalVideo | (boolean mute) |
void muteRemoteVideoStream | (String userId |
| boolean mute) |
void snapshotVideo | (String userId |
| int streamType |
|
void startSpeedTest | (int sdkAppId |
| String userId |
| String userSig) |
void startScreenCapture | |
|
startScreenCapture:streamType:encParam:
instead.void setVideoEncoderRotation | (int rotation) |
void setVideoEncoderMirror | (boolean mirror) |
void setGSensorMode | (int mode) |
void startPublishing | (final String streamId |
| final int streamType) |
void startPublishCDNStream |
void setMixTranscodingConfig |
Was this page helpful?