RTCEventHandler constructor
RTCEventHandler({
- void onError(
- ErrorCodeType err,
- String msg
- VoidCallback? onJoinChannelSuccess,
- VoidCallback? onLeaveChannel,
- void onUserJoined(
- int remoteUid
- void onUserLeaved(
- int userId
- void onUserMuteVideo()?,
- void onUserMuteAudio()?,
- void onFirstRemoteVideoDecoded()?,
- void onRemoteVideoStateChanged(
- int remoteUid,
- RemoteVideoState state,
- RemoteVideoStateReason reason
- void onActiveSpeaker(
- int uid
Implementation
RTCEventHandler({
this.onError,
this.onJoinChannelSuccess,
this.onLeaveChannel,
this.onUserJoined,
this.onUserLeaved,
this.onUserMuteVideo,
this.onUserMuteAudio,
this.onFirstRemoteVideoDecoded,
this.onRemoteVideoStateChanged,
this.onActiveSpeaker,
});