TRTCCloudImpl class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
addExcludedShareWindow (int windowId )
→ void
Add specified windows to the exclusion list of screen sharing (for desktop systems only)
override
addIncludedShareWindow (int windowId )
→ void
Add specified windows to the inclusion list of screen sharing (for desktop systems only)
override
callExperimentalAPI (String jsonStr )
→ String
Call experimental APIs
override
connectOtherRoom (String param )
→ void
Request cross-room call
override
disconnectOtherRoom ()
→ void
Exit cross-room call
override
enableAudioVolumeEvaluation (bool enable , TRTCAudioVolumeEvaluateParams params )
→ void
Enable volume reminder
override
enableCustomAudioCapture (bool enable )
→ void
Enable custom audio capturing mode
override
enableSmallVideoStream (bool enable , TRTCVideoEncParam smallVideoEncParam )
→ int
Enable dual-channel encoding mode with big and small images
override
enterRoom (TRTCParams param , TRTCAppScene scene )
→ void
Enter an audio or video call room (hereinafter referred to as "enter room").
override
exitRoom ()
→ void
Exit room
override
getAITranscriberManager ()
→ AITranscriberManager
Get AI Transcriber Manager
override
getAudioCaptureVolume ()
→ int
Get the capturing volume of local audio
override
getAudioEffectManager ()
→ TXAudioEffectManager
Get sound effect management class (TXAudioEffectManager )
override
getAudioPlayoutVolume ()
→ int
Get the playback volume of remote audio
override
getDeviceManager ()
→ TXDeviceManager
Get device management class (TXDeviceManager )
override
getScreenCaptureSources (TRTCSize thumbnail , TRTCSize icon )
→ TRTCScreenCaptureSourceList ?
Enumerate shareable screens and windows (for desktop systems only)
override
getSDKVersion ()
→ String
Get SDK version information
override
muteAllRemoteAudio (bool mute )
→ void
Pause/Resume playing back all remote users' audio streams
override
muteAllRemoteVideoStreams (bool mute )
→ void
Pause/Resume subscribing to all remote users' video streams
override
muteLocalAudio (bool mute )
→ void
Pause/Resume publishing local audio stream
override
muteLocalVideo (TRTCVideoStreamType streamType , bool mute )
→ void
Pause/Resume publishing local video stream
override
muteRemoteAudio (String userId , bool mute )
→ void
Pause/Resume playing back remote audio stream
override
muteRemoteVideoStream (String userId , TRTCVideoStreamType streamType , bool mute )
→ void
Pause/Resume subscribing to remote user's video stream
override
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pauseScreenCapture ()
→ void
Pause screen sharing
override
registerListener (TRTCCloudListener func )
→ void
Add TRTC event callback
override
removeAllExcludedShareWindow ()
→ void
Remove all windows from the exclusion list of screen sharing (for desktop systems only)
override
removeAllIncludedShareWindow ()
→ void
Remove all windows from the inclusion list of screen sharing (for desktop systems only)
override
removeExcludedShareWindow (int windowId )
→ void
Remove specified windows from the exclusion list of screen sharing (for desktop systems only)
override
removeIncludedShareWindow (int windowId )
→ void
Remove specified windows from the inclusion list of screen sharing (for desktop systems only)
override
resumeScreenCapture ()
→ void
Resume screen sharing
override
selectScreenCaptureTarget (TRTCScreenCaptureSourceInfo source , TRTCRect rect , TRTCScreenCaptureProperty property )
→ void
Select the screen or window to share (for desktop systems only)
override
sendCustomAudioData (TRTCAudioFrame frame )
→ void
Deliver captured audio data to SDK
override
sendCustomCmdMsg (int cmdID , String data , bool reliable , bool ordered )
→ bool
Use UDP channel to send custom message to all users in room
override
sendSEIMsg (String data , int repeatCount )
→ bool
Use SEI channel to send custom message to all users in room
override
setAudioCaptureVolume (int volume )
→ void
Set the capturing volume of local audio
override
setAudioFrameCallback (TRTCAudioFrameCallback? callback )
→ int
override
setAudioPlayoutVolume (int volume )
→ void
Set the playback volume of remote audio
override
setBeautyStyle (TRTCBeautyStyle style , int beautyLevel , int whitenessLevel , int ruddinessLevel )
→ void
Set special effects such as beauty, brightening, and rosy skin filters
The SDK is integrated with two skin smoothing algorithms of different styles:
"Smooth" style, which uses a more radical algorithm for more obvious effect and is suitable for show live streaming.
"Natural" style, which retains more facial details for more natural effect and is suitable for most live streaming use cases.
override
setConsoleEnabled (bool enabled )
→ void
Enable/Disable console log printing
override
setDefaultStreamRecvMode (bool autoRecvAudio , bool autoRecvVideo )
→ void
Set Subscription Mode (which must be set before room entry for it to take effect)
override
setGravitySensorAdaptiveMode (TRTCGSensorMode mode )
→ void
Set the adaptation mode of gravity sensing
override
setLocalRenderParams (TRTCRenderParams params )
→ void
Set the rendering parameters of local video image
override
setLogCallback (TRTCLogCallback ? callback )
→ void
Set log callback
override
setLogCompressEnabled (bool enabled )
→ void
Enable/Disable local log compression
override
setLogDirPath (String path )
→ void
Set local log storage path
override
setLogLevel (TRTCLogLevel level )
→ void
Set log output level
override
setNetworkQosParam (TRTCNetworkQosParam params )
→ void
Set network quality control parameters
override
setRemoteAudioVolume (String userId , int volume )
→ void
Set the audio playback volume of a remote user
override
setRemoteRenderParams (String userId , TRTCVideoStreamType streamType , TRTCRenderParams params )
→ void
Set the rendering mode of remote video image
override
setRemoteVideoStreamType (String userId , TRTCVideoStreamType streamType )
→ void
Switch the big/small image of specified remote user
override
setSubStreamEncoderParam (TRTCVideoEncParam param )
→ void
Set the video encoding parameters of screen sharing (i.e., substream) (for desktop and mobile systems)
override
setSystemAudioLoopbackVolume (int volume )
→ void
Set the volume of system audio capturing(Only supports Windows)
override
setVideoEncoderMirror (bool enable )
→ void
Set the image mirroring mode of the encoder output.
override
setVideoEncoderParam (TRTCVideoEncParam params )
→ void
Set the encoding parameters of video encoder
override
setVideoMuteImage (String imagePath , int fps )
→ void
Set the image to be displayed when the video stream is paused
override
setWatermark (String imagePath , TRTCVideoStreamType streamType , double x , double y , double width )
→ void
Set watermark
override
showDebugView (int showType )
→ void
Display dashboard
override
snapshotVideo (String userId , TRTCVideoStreamType streamType , TRTCSnapshotSourceType sourceType , {String ? path })
→ void
Screencapture video(Only supports Windows)
override
startLocalAudio (TRTCAudioQuality quality )
→ void
Enable local audio capturing and publishing
override
startLocalPreview (bool frontCamera , int ? viewId )
→ void
Enable the preview image of local camera
override
startLocalRecording (TRTCLocalRecordingParams param )
→ int
Start local media recording
override
startPublishMediaStream (TRTCPublishTarget target , TRTCStreamEncoderParam param , TRTCStreamMixingConfig config )
→ void
Publish a stream
override
startRemoteView (String userId , TRTCVideoStreamType streamType , int ? viewId )
→ void
Subscribe to remote user's video stream and bind video rendering control
override
startScreenCapture (int ? viewId , TRTCVideoStreamType streamType , TRTCVideoEncParam encParam )
→ void
Start screen sharing
override
startScreenCaptureByReplaykit (TRTCVideoStreamType streamType , TRTCVideoEncParam encParam , String ? appGroup )
→ void
Start screen sharing by ReplayKit (for iOS only)
override
startSpeedTest (TRTCSpeedTestParams params )
→ int
Start network speed test (used before room entry)
override
startSystemAudioLoopback ({String ? deviceName })
→ void
Enable system audio capturing (Only supports Windows)
override
stopAllRemoteView ()
→ void
Stop subscribing to all remote users' video streams and release all rendering resources
override
stopLocalAudio ()
→ void
Stop local audio capturing and publishing
override
stopLocalPreview ()
→ void
Stop camera preview
override
stopLocalRecording ()
→ void
Stop local media recording
override
stopPublishMediaStream (String taskId )
→ void
Stop publishing
override
stopRemoteView (String userId , TRTCVideoStreamType streamType )
→ void
Stop subscribing to remote user's video stream and release rendering control
override
stopScreenCapture ()
→ void
Stop screen sharing
override
stopSpeedTest ()
→ void
Stop network speed test
override
stopSystemAudioLoopback ()
→ void
Stop system audio capturing(Only supports Windows)
override
switchRole (TRTCRoleType role )
→ void
Switch role
override
switchRoom (TRTCSwitchRoomConfig config )
→ void
Switch room
override
toString ()
→ String
A string representation of this object.
inherited
unRegisterListener (TRTCCloudListener func )
→ void
Remove TRTC event callback
override
updateLocalView (int ? viewId )
→ void
Update the preview image of local camera
override
updatePublishMediaStream (String taskId , TRTCPublishTarget target , TRTCStreamEncoderParam param , TRTCStreamMixingConfig config )
→ void
Modify publishing parameters
override
updateRemoteView (String userId , TRTCVideoStreamType streamType , int ? viewId )
→ void
Update remote user's video rendering control
override