RCRTCEngine class

Properties

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

Methods

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

Operators

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

Static Methods

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