RCRTCEngine class

Properties

hashCode int
The hash code for this object.
no setterinherited
onAudioEffectCreated ↔ dynamic Function(int effectId, int code, String? errMsg)?
getter/setter pair
onAudioEffectFinished ↔ dynamic Function(int effectId)?
getter/setter pair
onAudioMixingFinished ↔ dynamic Function()?
getter/setter pair
onAudioMixingPaused ↔ dynamic Function()?
getter/setter pair
onAudioMixingStarted ↔ dynamic Function()?
getter/setter pair
onAudioMixingStopped ↔ dynamic Function()?
getter/setter pair
onCameraEnabled ↔ dynamic Function(bool enable, int code, String? errMsg)?
getter/setter pair
onCameraSwitched ↔ dynamic Function(RCRTCCamera camera, int code, String? errMsg)?
getter/setter pair
onCancelJoinSubRoomRequestReceived ↔ dynamic Function(String roomId, String userId, String? extra)?
getter/setter pair
onCustomStreamPublished ↔ dynamic Function(String tag, int code, String? errMsg)?
getter/setter pair
onCustomStreamPublishFinished ↔ dynamic Function(String tag)?
getter/setter pair
onCustomStreamSubscribed ↔ dynamic Function(String userId, String tag, RCRTCMediaType type, int code, String? errMsg)?
getter/setter pair
onCustomStreamUnpublished ↔ dynamic Function(String tag, int code, String? errMsg)?
getter/setter pair
onCustomStreamUnsubscribed ↔ dynamic Function(String userId, String tag, RCRTCMediaType type, int code, String? errMsg)?
getter/setter pair
onError ↔ dynamic Function(int code, String? errMsg)?
getter/setter pair
onJoinSubRoomRequestCanceled ↔ dynamic Function(String roomId, String userId, int code, String? errMsg)?
getter/setter pair
onJoinSubRoomRequested ↔ dynamic Function(String roomId, String userId, int code, String? errMsg)?
getter/setter pair
onJoinSubRoomRequestReceived ↔ dynamic Function(String roomId, String userId, String? extra)?
getter/setter pair
onJoinSubRoomRequestResponded ↔ dynamic Function(String roomId, String userId, bool agree, int code, String? errMsg)?
getter/setter pair
onJoinSubRoomRequestResponseReceived ↔ dynamic Function(String roomId, String userId, bool agree, String? extra)?
getter/setter pair
onKicked ↔ dynamic Function(String? roomId, String? errMsg)?
getter/setter pair
onLiveCdnAdded ↔ dynamic Function(String url, int code, String? errMsg)?
getter/setter pair
onLiveCdnRemoved ↔ dynamic Function(String url, int code, String? errMsg)?
getter/setter pair
onLiveMixAudioBitrateSet ↔ dynamic Function(int code, String? errMsg)?
getter/setter pair
onLiveMixBackgroundColorSet ↔ dynamic Function(int code, String? errMsg)?
getter/setter pair
onLiveMixCustomAudiosSet ↔ dynamic Function(int code, String? errMsg)?
getter/setter pair
onLiveMixCustomLayoutsSet ↔ dynamic Function(int code, String? errMsg)?
getter/setter pair
onLiveMixInnerCdnStreamEnabled ↔ dynamic Function(bool enable, int code, String? errMsg)?
getter/setter pair
onLiveMixInnerCdnStreamSubscribed ↔ dynamic Function(int code, String? errMsg)?
getter/setter pair
onLiveMixInnerCdnStreamUnsubscribed ↔ dynamic Function(int code, String? errMsg)?
getter/setter pair
onLiveMixLayoutModeSet ↔ dynamic Function(int code, String? errMsg)?
getter/setter pair
onLiveMixRenderModeSet ↔ dynamic Function(int code, String? errMsg)?
getter/setter pair
onLiveMixSeiReceived ↔ dynamic Function(String sei)?
getter/setter pair
onLiveMixSubscribed ↔ dynamic Function(RCRTCMediaType type, int code, String? errMsg)?
getter/setter pair
onLiveMixUnsubscribed ↔ dynamic Function(RCRTCMediaType type, int code, String? errMsg)?
getter/setter pair
onLiveMixVideoBitrateSet ↔ dynamic Function(bool tiny, int code, String? errMsg)?
getter/setter pair
onLiveMixVideoFpsSet ↔ dynamic Function(bool tiny, int code, String? errMsg)?
getter/setter pair
onLiveMixVideoResolutionSet ↔ dynamic Function(bool tiny, int code, String? errMsg)?
getter/setter pair
onLiveRoleSwitched ↔ dynamic Function(RCRTCRole role, int code, String? errMsg)?
getter/setter pair
onLocalLiveMixInnerCdnVideoFpsSet ↔ dynamic Function(int code, String? errMsg)?
getter/setter pair
onLocalLiveMixInnerCdnVideoResolutionSet ↔ dynamic Function(int code, String? errMsg)?
getter/setter pair
onNetworkProbeStarted ↔ dynamic Function(int code, String? errMsg)?
getter/setter pair
onNetworkProbeStopped ↔ dynamic Function(int code, String? errMsg)?
getter/setter pair
onPublished ↔ dynamic Function(RCRTCMediaType type, int code, String? errMsg)?
getter/setter pair
onRemoteCustomStreamFirstFrame ↔ dynamic Function(String roomId, String userId, String tag, RCRTCMediaType type)?
getter/setter pair
onRemoteCustomStreamPublished ↔ dynamic Function(String roomId, String userId, String tag, RCRTCMediaType type)?
getter/setter pair
onRemoteCustomStreamStateChanged ↔ dynamic Function(String roomId, String userId, String tag, RCRTCMediaType type, bool disabled)?
getter/setter pair
onRemoteCustomStreamUnpublished ↔ dynamic Function(String roomId, String userId, String tag, RCRTCMediaType type)?
getter/setter pair
onRemoteFirstFrame ↔ dynamic Function(String roomId, String userId, RCRTCMediaType type)?
getter/setter pair
onRemoteLiveMixFirstFrame ↔ dynamic Function(RCRTCMediaType type)?
getter/setter pair
onRemoteLiveMixInnerCdnStreamPublished ↔ dynamic Function()?
getter/setter pair
onRemoteLiveMixInnerCdnStreamUnpublished ↔ dynamic Function()?
getter/setter pair
onRemoteLiveMixPublished ↔ dynamic Function(RCRTCMediaType type)?
getter/setter pair
onRemoteLiveMixUnpublished ↔ dynamic Function(RCRTCMediaType type)?
getter/setter pair
onRemoteLiveRoleSwitched ↔ dynamic Function(String roomId, String userId, RCRTCRole role)?
getter/setter pair
onRemotePublished ↔ dynamic Function(String roomId, String userId, RCRTCMediaType type)?
getter/setter pair
onRemoteStateChanged ↔ dynamic Function(String roomId, String userId, RCRTCMediaType type, bool disabled)?
getter/setter pair
onRemoteUnpublished ↔ dynamic Function(String roomId, String userId, RCRTCMediaType type)?
getter/setter pair
onRoomJoined ↔ dynamic Function(int code, String? errMsg)?
getter/setter pair
onRoomLeft ↔ dynamic Function(int code, String? errMsg)?
getter/setter pair
onSeiEnabled ↔ dynamic Function(bool enable, int code, String? errMsg)?
getter/setter pair
onSeiReceived ↔ dynamic Function(String roomId, String userId, String sei)?
getter/setter pair
onSubRoomBanded ↔ dynamic Function(String roomId)?
getter/setter pair
onSubRoomDisband ↔ dynamic Function(String roomId, String userId)?
getter/setter pair
onSubRoomJoined ↔ dynamic Function(String roomId, int code, String? errMsg)?
getter/setter pair
onSubRoomLeft ↔ dynamic Function(String roomId, int code, String? errMsg)?
getter/setter pair
onSubscribed ↔ dynamic Function(String userId, RCRTCMediaType type, int code, String? errMsg)?
getter/setter pair
onUnpublished ↔ dynamic Function(RCRTCMediaType type, int code, String? errMsg)?
getter/setter pair
onUnsubscribed ↔ dynamic Function(String userId, RCRTCMediaType type, int code, String? errMsg)?
getter/setter pair
onUserJoined ↔ dynamic Function(String roomId, String userId)?
getter/setter pair
onUserLeft ↔ dynamic Function(String roomId, String userId)?
getter/setter pair
onUserOffline ↔ dynamic Function(String roomId, String userId)?
getter/setter pair
onWatermarkRemoved ↔ dynamic Function(int code, String? errMsg)?
getter/setter pair
onWatermarkSet ↔ dynamic Function(int code, String? errMsg)?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addLiveCdn(String url) Future<int>
adjustAllAudioEffectsVolume(int volume) Future<int>
adjustAudioEffectVolume(int effectId, int volume) Future<int>
adjustAudioMixingPlaybackVolume(int volume) Future<int>
adjustAudioMixingPublishVolume(int volume) Future<int>
adjustAudioMixingVolume(int volume) Future<int>
adjustLocalVolume(int volume) Future<int>
cancelJoinSubRoomRequest(String roomId, String userId, [String? extra]) Future<int>
createAudioEffect(String path, int effectId) Future<int>
createAudioEffectFromAssets(String path, int effectId) Future<int>
createCustomStreamFromAssetsFile({required String path, required String tag, bool replace = false, bool playback = true}) Future<int>
createCustomStreamFromFile({required String path, required String tag, bool replace = false, bool playback = true}) Future<int>
destroy() Future<int>
enableCamera(bool enable, [RCRTCCamera? camera]) Future<int>
enableLiveMixInnerCdnStream(bool enable) Future<int>
enableMicrophone(bool enable) Future<int>
enableSei(bool enable) Future<int>
enableSpeaker(bool enable) Future<int>
getAudioEffectVolume(int effectId) Future<int>
getAudioMixingDuration() Future<int>
getAudioMixingPlaybackVolume() Future<int>
getAudioMixingPosition() Future<double>
getAudioMixingPublishVolume() Future<int>
getSessionId() Future<String?>
isCameraExposurePositionSupported() Future<bool>
isCameraFocusSupported() Future<bool>
joinRoom(String roomId, RCRTCRoomSetup setup) Future<int>
joinSubRoom(String roomId) Future<int>
leaveRoom() Future<int>
leaveSubRoom(String roomId, bool disband) Future<int>
muteLiveMixInnerCdnStream(bool mute) Future<int>
muteLiveMixStream(RCRTCMediaType type, bool mute) Future<int>
muteLocalCustomStream(String tag, bool mute) Future<int>
muteLocalStream(RCRTCMediaType type, bool mute) Future<int>
muteRemoteCustomStream(String userId, String tag, RCRTCMediaType type, bool mute) Future<int>
muteRemoteStream(String userId, RCRTCMediaType type, bool mute) Future<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pauseAllAudioEffects() Future<int>
pauseAudioEffect(int effectId) Future<int>
pauseAudioMixing() Future<int>
playAudioEffect(int effectId, int volume, [int loop = 1]) Future<int>
preconnectToMediaServer() Future<int>
publish(RCRTCMediaType type) Future<int>
publishCustomStream(String tag) Future<int>
releaseAudioEffect(int effectId) Future<int>
removeLiveCdn(String url) Future<int>
removeLiveMixInnerCdnStreamView() Future<int>
removeLiveMixView() Future<int>
removeLocalCustomStreamView(String tag) Future<int>
removeLocalView() Future<int>
removeRemoteCustomStreamView(String userId, String tag) Future<int>
removeRemoteView(String userId) Future<int>
removeWatermark() Future<int>
requestJoinSubRoom(String roomId, String userId, [bool autoLayout = true, String? extra]) Future<int>
responseJoinSubRoomRequest(String roomId, String userId, bool agree, [bool autoLayout = true, String? extra]) Future<int>
resumeAllAudioEffects() Future<int>
resumeAudioEffect(int effectId) Future<int>
resumeAudioMixing() Future<int>
sendSei(String sei) Future<int>
setAudioConfig(RCRTCAudioConfig config) Future<int>
setAudioMixingPosition(double position) Future<int>
setCameraCaptureOrientation(RCRTCCameraCaptureOrientation orientation) Future<int>
setCameraExposurePositionInPreview(double x, double y) Future<int>
setCameraFocusPositionInPreview(double x, double y) Future<int>
setCustomStreamVideoConfig(String tag, RCRTCVideoConfig config) Future<int>
setLiveMixAudioBitrate(int bitrate) Future<int>
setLiveMixBackgroundColor(Color color) Future<int>
setLiveMixCustomAudios(List<String> userIds) Future<int>
setLiveMixCustomLayouts(List<RCRTCCustomLayout> layouts) Future<int>
setLiveMixInnerCdnStreamView(RCRTCView view) Future<int>
setLiveMixLayoutMode(RCRTCLiveMixLayoutMode mode) Future<int>
setLiveMixRenderMode(RCRTCLiveMixRenderMode mode) Future<int>
setLiveMixVideoBitrate(int bitrate, [bool tiny = false]) Future<int>
setLiveMixVideoFps(RCRTCVideoFps fps, [bool tiny = false]) Future<int>
setLiveMixVideoResolution(int width, int height, [bool tiny = false]) Future<int>
setLiveMixView(RCRTCView view) Future<int>
setLocalCustomStreamView(String tag, RCRTCView view) Future<int>
setLocalLiveMixInnerCdnVideoFps(RCRTCVideoFps fps) Future<int>
setLocalLiveMixInnerCdnVideoResolution(int width, int height) Future<int>
setLocalView(RCRTCView view) Future<int>
setRemoteCustomStreamView(String userId, String tag, RCRTCView view) Future<int>
setRemoteView(String userId, RCRTCView view) Future<int>
setStatsListener(RCRTCStatsListener? listener) Future<int>
setVideoConfig(RCRTCVideoConfig config, [bool tiny = false]) Future<int>
setWatermark(String imagePath, Point<double> position, double zoom) Future<int>
startAudioMixing({required String path, required RCRTCAudioMixingMode mode, bool playback = true, int loop = 1, double position = 0}) Future<int>
startAudioMixingFromAssets({required String path, required RCRTCAudioMixingMode mode, bool playback = true, int loop = 1, double position = 0}) Future<int>
startEchoTest(int timeInterval) Future<int>
startNetworkProbe(RCRTCNetworkProbeListener listener) Future<int>
stopAllAudioEffects() Future<int>
stopAudioEffect(int effectId) Future<int>
stopAudioMixing() Future<int>
stopEchoTest() Future<int>
stopNetworkProbe() Future<int>
subscribe(String userId, RCRTCMediaType type, [bool tiny = true]) Future<int>
subscribeCustomStream(String userId, String tag, RCRTCMediaType type, bool tiny) Future<int>
subscribeLiveMix(RCRTCMediaType type, [bool tiny = true]) Future<int>
subscribeLiveMixInnerCdnStream() Future<int>
subscribes(List<String> userIds, RCRTCMediaType type, [bool tiny = true]) Future<int>
switchCamera() Future<int>
switchLiveRole(RCRTCRole role) Future<int>
switchToCamera(RCRTCCamera camera) Future<int>
toString() String
A string representation of this object.
inherited
unpublish(RCRTCMediaType type) Future<int>
unpublishCustomStream(String tag) Future<int>
unsubscribe(String userId, RCRTCMediaType type) Future<int>
unsubscribeCustomStream(String userId, String tag, RCRTCMediaType type) Future<int>
unsubscribeLiveMix(RCRTCMediaType type) Future<int>
unsubscribeLiveMixInnerCdnStream() Future<int>
unsubscribes(List<String> userIds, RCRTCMediaType type) Future<int>
whichCamera() Future<RCRTCCamera>

Operators

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

Static Methods

create([RCRTCEngineSetup? setup]) Future<RCRTCEngine>