TRTCCloudNative class

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addExcludedShareWindow(int windowId) → void
addIncludedShareWindow(int windowId) → void
callExperimentalAPI(String jsonStr) String
connectOtherRoom(String param) → void
createSubCloud() trtc_cloud
destroySubCloud(trtc_cloud subCloud) → void
disconnectOtherRoom() → void
enableAudioVolumeEvaluation(bool enable, TRTCAudioVolumeEvaluateParams params) → void
enableCustomAudioCapture(bool enable) → void
enableCustomVideoCapture(TRTCVideoStreamType streamType, bool enable) → void
enableLocalVideoCustomProcess(bool enable, int format, int type) → void
enableMixExternalAudioFrame(bool enablePublish, bool enablePlayout) → void
enableSmallVideoStream(bool enable, TRTCVideoEncParam smallVideoEncParam) int
enterRoom(TRTCParams param, int scene) → void
exitRoom() → void
getAudioCaptureVolume() int
getAudioEffectManager() trtc_cloud
getAudioPlayoutVolume() int
getBeautyManager() Pointer<void>
getDeviceManager() trtc_cloud
getImageBuffer(trtc_image_buffer_t bufferN) TRTCImageBuffer
getScreenCaptureSources(TRTCSize thumbnail, TRTCSize icon) TRTCScreenCaptureSourceList
getSDKVersion() String
muteAllRemoteAudio(bool mute) → void
muteAllRemoteVideoStreams(bool mute) → void
muteLocalAudio(bool mute) → void
muteLocalVideo(int streamType, bool mute) → void
muteRemoteAudio(String userId, bool mute) → void
muteRemoteVideoStream(String userId, int streamType, bool mute) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pauseScreenCapture() → void
removeAllExcludedShareWindows() → void
removeAllIncludedShareWindows() → void
removeExcludedShareWindow(int windowId) → void
removeIncludedShareWindow(int windowId) → void
resumeScreenCapture() → void
selectScreenCaptureTarget(TRTCScreenCaptureSourceInfo source, TRTCRect rect, TRTCScreenCaptureProperty property) → void
sendCustomAudioData(TRTCAudioFrame frame) → void
sendCustomCmdMsg(int cmdID, String data, bool reliable, bool ordered) bool
sendCustomVideoData(TRTCVideoStreamType streamType, TRTCVideoFrame frame) → void
sendSEIMsg(String data, int repeatCount) bool
setAudioCaptureVolume(int volume) → void
setAudioPlayoutVolume(int volume) → void
setBeautyStyle(TRTCBeautyStyle style, int beautyLevel, int whitenessLevel, int ruddinessLevel) → void
setDefaultStreamRecvMode(bool autoRecvAudio, bool autoRecvVideo) → void
setGravitySensorAdaptiveMode(int mode) → void
setLocalRenderParams(int rotation, int fillMode, int mirrorType) → void
setLogParams(TRTCLogParams params) → void
setNetworkQosParam(TRTCNetworkQosParam params) → void
setRemoteAudioVolume(String userId, int volume) → void
setRemoteRenderParams(String userId, TRTCVideoStreamType streamType, TRTCRenderParams params) → void
setRemoteVideoStreamType(String userId, TRTCVideoStreamType streamType) → void
setSubStreamEncoderParam(TRTCVideoEncParam param) → void
setSystemAudioLoopbackVolume(int volume) → void
setVideoEncoderMirror(bool enable) → void
setVideoEncoderParam(TRTCVideoEncParam params) → void
setVideoMuteImage(TRTCImageBuffer image, int fps) → void
setWatermark(TRTCVideoStreamType streamType, String srcData, TRTCWaterMarkSrcType srcType, int width, int height, double xOffset, double yOffset, double fWidthRatio, {bool isVisibleOnLocalPreview = false}) → void
showDebugView(int showType) → void
snapshotVideo(String userId, TRTCVideoStreamType streamType, TRTCSnapshotSourceType sourceType) → void
startLocalAudio(int quality) → void
startLocalPreview(bool frontCamera, int? viewId) → void
startLocalPreviewTexture(bool frontCamera, int viewId) → void
startLocalRecording(TRTCLocalRecordingParams param) int
startPublishMediaStream(TRTCPublishTarget target, TRTCStreamEncoderParam param, TRTCStreamMixingConfig config) → void
startRemoteView(String userId, int streamType, int? viewId) → void
startRemoteViewTexture(String userId, int streamType, int viewId) → void
startScreenCapture(int? viewId, TRTCVideoStreamType streamType, TRTCVideoEncParam encParam) → void
startSpeedTest(TRTCSpeedTestParams params) int
startSystemAudioLoopback({String? deviceName}) → void
stopAllRemoteView() → void
stopLocalAudio() → void
stopLocalPreview() → void
stopLocalRecording() → void
stopPublishMediaStream(String taskId) → void
stopRemoteView(String userId, int streamType) → void
stopScreenCapture() → void
stopSpeedTest() → void
stopSystemAudioLoopback() → void
switchRole(int role) → void
switchRoom(TRTCSwitchRoomConfig config) → void
toString() String
A string representation of this object.
inherited
updateLocalView(int? viewId) → void
updateLocalViewTexture(int viewId) → void
updatePublishMediaStream(String taskId, TRTCPublishTarget target, TRTCStreamEncoderParam param, TRTCStreamMixingConfig config) → void
updateRemoteView(String userId, TRTCVideoStreamType streamType, int? viewId) → void
updateRemoteViewTexture(String userId, int streamType, int viewId) → void
writeLog(int level, String location, String tag, String message) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance TRTCCloudNative
getter/setter pair
sharedInstanceNativePointer → dynamic
no setter

Static Methods

destroySharedInstance() → void
sharedInstance() → void