RCRTCEngine class 
 
    
    
    
  
    Properties
    
        - 
  hashCode
  → int
  
- 
  The hash code for this object.
  no setterinherited 
- 
  onAudioEffectCreated
  ↔ dynamic Function(int effectId, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onAudioEffectFinished
  ↔ dynamic Function(int effectId)?
  
- 
  ZHgetter/setter pair 
- 
  onAudioMixingFinished
  ↔ dynamic Function()?
  
- 
  ZHgetter/setter pair 
- 
  onAudioMixingPaused
  ↔ dynamic Function()?
  
- 
  ZHgetter/setter pair 
- 
  onAudioMixingStarted
  ↔ dynamic Function()?
  
- 
  ZHgetter/setter pair 
- 
  onAudioMixingStopped
  ↔ dynamic Function()?
  
- 
  ZHgetter/setter pair 
- 
  onCameraEnabled
  ↔ dynamic Function(bool enable, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onCameraSwitched
  ↔ dynamic Function(RCRTCCamera camera, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onCancelJoinSubRoomRequestReceived
  ↔ dynamic Function(String roomId, String userId, )?
  
- 
  ZHgetter/setter pair 
- 
  onCustomStreamPublished
  ↔ dynamic Function(String tag, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onCustomStreamPublishFinished
  ↔ dynamic Function(String tag)?
  
- 
  ZHgetter/setter pair 
- 
  onCustomStreamSubscribed
  ↔ dynamic Function(String userId, String tag, RCRTCMediaType type, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onCustomStreamUnpublished
  ↔ dynamic Function(String tag, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onCustomStreamUnsubscribed
  ↔ dynamic Function(String userId, String tag, RCRTCMediaType type, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onError
  ↔ dynamic Function(int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onJoinSubRoomRequestCanceled
  ↔ dynamic Function(String roomId, String userId, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onJoinSubRoomRequested
  ↔ dynamic Function(String roomId, String userId, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onJoinSubRoomRequestReceived
  ↔ dynamic Function(String roomId, String userId, )?
  
- 
  ZHgetter/setter pair 
- 
  onJoinSubRoomRequestResponded
  ↔ dynamic Function(String roomId, String userId, bool agree, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onJoinSubRoomRequestResponseReceived
  ↔ dynamic Function(String roomId, String userId, bool agree, )?
  
- 
  ZHgetter/setter pair 
- 
  onKicked
  ↔ dynamic Function(String? roomId, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onLiveCdnAdded
  ↔ dynamic Function(String url, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onLiveCdnRemoved
  ↔ dynamic Function(String url, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onLiveMixAudioBitrateSet
  ↔ dynamic Function(int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onLiveMixBackgroundColorSet
  ↔ dynamic Function(int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onLiveMixCustomAudiosSet
  ↔ dynamic Function(int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onLiveMixCustomLayoutsSet
  ↔ dynamic Function(int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onLiveMixInnerCdnStreamEnabled
  ↔ dynamic Function(bool enable, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onLiveMixInnerCdnStreamSubscribed
  ↔ dynamic Function(int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onLiveMixInnerCdnStreamUnsubscribed
  ↔ dynamic Function(int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onLiveMixLayoutModeSet
  ↔ dynamic Function(int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onLiveMixRenderModeSet
  ↔ dynamic Function(int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onLiveMixSeiReceived
  ↔ dynamic Function(String sei)?
  
- 
  ZHgetter/setter pair 
- 
  onLiveMixSubscribed
  ↔ dynamic Function(RCRTCMediaType type, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onLiveMixUnsubscribed
  ↔ dynamic Function(RCRTCMediaType type, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onLiveMixVideoBitrateSet
  ↔ dynamic Function(bool tiny, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onLiveMixVideoFpsSet
  ↔ dynamic Function(bool tiny, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onLiveMixVideoResolutionSet
  ↔ dynamic Function(bool tiny, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onLiveRoleSwitched
  ↔ dynamic Function(RCRTCRole role, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onLocalLiveMixInnerCdnVideoFpsSet
  ↔ dynamic Function(int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onLocalLiveMixInnerCdnVideoResolutionSet
  ↔ dynamic Function(int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onNetworkProbeStarted
  ↔ dynamic Function(int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onNetworkProbeStopped
  ↔ dynamic Function(int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onPublished
  ↔ dynamic Function(RCRTCMediaType type, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onRemoteCustomStreamFirstFrame
  ↔ dynamic Function(String roomId, String userId, String tag, RCRTCMediaType type)?
  
- 
  ZHgetter/setter pair 
- 
  onRemoteCustomStreamPublished
  ↔ dynamic Function(String roomId, String userId, String tag, RCRTCMediaType type)?
  
- 
  ZHgetter/setter pair 
- 
  onRemoteCustomStreamStateChanged
  ↔ dynamic Function(String roomId, String userId, String tag, RCRTCMediaType type, bool disabled)?
  
- 
  ZHgetter/setter pair 
- 
  onRemoteCustomStreamUnpublished
  ↔ dynamic Function(String roomId, String userId, String tag, RCRTCMediaType type)?
  
- 
  ZHgetter/setter pair 
- 
  onRemoteFirstFrame
  ↔ dynamic Function(String roomId, String userId, RCRTCMediaType type)?
  
- 
  ZHgetter/setter pair 
- 
  onRemoteLiveMixFirstFrame
  ↔ dynamic Function(RCRTCMediaType type)?
  
- 
  ZHgetter/setter pair 
- 
  onRemoteLiveMixInnerCdnStreamPublished
  ↔ dynamic Function()?
  
- 
  ZHgetter/setter pair 
- 
  onRemoteLiveMixInnerCdnStreamUnpublished
  ↔ dynamic Function()?
  
- 
  ZHgetter/setter pair 
- 
  onRemoteLiveMixPublished
  ↔ dynamic Function(RCRTCMediaType type)?
  
- 
  ZHgetter/setter pair 
- 
  onRemoteLiveMixUnpublished
  ↔ dynamic Function(RCRTCMediaType type)?
  
- 
  ZHgetter/setter pair 
- 
  onRemoteLiveRoleSwitched
  ↔ dynamic Function(String roomId, String userId, RCRTCRole role)?
  
- 
  ZHgetter/setter pair 
- 
  onRemotePublished
  ↔ dynamic Function(String roomId, String userId, RCRTCMediaType type)?
  
- 
  ZHgetter/setter pair 
- 
  onRemoteStateChanged
  ↔ dynamic Function(String roomId, String userId, RCRTCMediaType type, bool disabled)?
  
- 
  ZHgetter/setter pair 
- 
  onRemoteUnpublished
  ↔ dynamic Function(String roomId, String userId, RCRTCMediaType type)?
  
- 
  ZHgetter/setter pair 
- 
  onRoomJoined
  ↔ dynamic Function(int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onRoomLeft
  ↔ dynamic Function(int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onSeiEnabled
  ↔ dynamic Function(bool enable, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onSeiReceived
  ↔ dynamic Function(String roomId, String userId, String sei)?
  
- 
  ZHgetter/setter pair 
- 
  onSubRoomBanded
  ↔ dynamic Function(String roomId)?
  
- 
  ZHgetter/setter pair 
- 
  onSubRoomDisband
  ↔ dynamic Function(String roomId, String userId)?
  
- 
  ZHgetter/setter pair 
- 
  onSubRoomJoined
  ↔ dynamic Function(String roomId, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onSubRoomLeft
  ↔ dynamic Function(String roomId, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onSubscribed
  ↔ dynamic Function(String userId, RCRTCMediaType type, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onUnpublished
  ↔ dynamic Function(RCRTCMediaType type, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onUnsubscribed
  ↔ dynamic Function(String userId, RCRTCMediaType type, int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onUserJoined
  ↔ dynamic Function(String roomId, String userId)?
  
- 
  ZHgetter/setter pair 
- 
  onUserLeft
  ↔ dynamic Function(String roomId, String userId)?
  
- 
  ZHgetter/setter pair 
- 
  onUserOffline
  ↔ dynamic Function(String roomId, String userId)?
  
- 
  ZHgetter/setter pair 
- 
  onWatermarkRemoved
  ↔ dynamic Function(int code, String? errMsg)?
  
- 
  ZHgetter/setter pair 
- 
  onWatermarkSet
  ↔ dynamic Function(int code, String? errMsg)?
  
- 
  ZHgetter/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, [])
    → 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, ])
    → Future<int>
  
  
- 
  ZH
- 
  responseJoinSubRoomRequest(String roomId, String userId, bool agree, [bool autoLayout = true, ])
    → 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