RtcChannelEventHandler constructor
RtcChannelEventHandler({
- WarningCallback? warning,
- ErrorCallback? error,
- UidWithElapsedAndChannelCallback? joinChannelSuccess,
- UidWithElapsedAndChannelCallback? rejoinChannelSuccess,
- RtcStatsCallback? leaveChannel,
- ClientRoleCallback? clientRoleChanged,
- UidWithElapsedCallback? userJoined,
- UserOfflineCallback? userOffline,
- ConnectionStateCallback? connectionStateChanged,
- EmptyCallback? connectionLost,
- TokenCallback? tokenPrivilegeWillExpire,
- EmptyCallback? requestToken,
- UidCallback? activeSpeaker,
- VideoSizeCallback? videoSizeChanged,
- RemoteVideoStateCallback? remoteVideoStateChanged,
- RemoteAudioStateCallback? remoteAudioStateChanged,
- FallbackCallback? localPublishFallbackToAudioOnly,
- FallbackWithUidCallback? remoteSubscribeFallbackToAudioOnly,
- RtcStatsCallback? rtcStats,
- NetworkQualityWithUidCallback? networkQuality,
- RemoteVideoStatsCallback? remoteVideoStats,
- RemoteAudioStatsCallback? remoteAudioStats,
- RtmpStreamingStateCallback? rtmpStreamingStateChanged,
- EmptyCallback? transcodingUpdated,
- StreamInjectedStatusCallback? streamInjectedStatus,
- StreamMessageCallback? streamMessage,
- StreamMessageErrorCallback? streamMessageError,
- MediaRelayStateCallback? channelMediaRelayStateChanged,
- MediaRelayEventCallback? channelMediaRelayEvent,
- MetadataCallback? metadataReceived,
- StreamPublishStateCallback? audioPublishStateChanged,
- StreamPublishStateCallback? videoPublishStateChanged,
- StreamSubscribeStateCallback? audioSubscribeStateChanged,
- StreamSubscribeStateCallback? videoSubscribeStateChanged,
- RtmpStreamingEventCallback? rtmpStreamingEvent,
- UserSuperResolutionEnabledCallback? userSuperResolutionEnabled,
- OnClientRoleChangeFailed? clientRoleChangeFailed,
- OnFirstRemoteVideoFrame? firstRemoteVideoFrame,
Constructs the RtcChannelEventHandler.
Implementation
RtcChannelEventHandler(
{this.warning,
this.error,
this.joinChannelSuccess,
this.rejoinChannelSuccess,
this.leaveChannel,
this.clientRoleChanged,
this.userJoined,
this.userOffline,
this.connectionStateChanged,
this.connectionLost,
this.tokenPrivilegeWillExpire,
this.requestToken,
this.activeSpeaker,
this.videoSizeChanged,
this.remoteVideoStateChanged,
this.remoteAudioStateChanged,
this.localPublishFallbackToAudioOnly,
this.remoteSubscribeFallbackToAudioOnly,
this.rtcStats,
this.networkQuality,
this.remoteVideoStats,
this.remoteAudioStats,
this.rtmpStreamingStateChanged,
this.transcodingUpdated,
this.streamInjectedStatus,
this.streamMessage,
this.streamMessageError,
this.channelMediaRelayStateChanged,
this.channelMediaRelayEvent,
this.metadataReceived,
this.audioPublishStateChanged,
this.videoPublishStateChanged,
this.audioSubscribeStateChanged,
this.videoSubscribeStateChanged,
this.rtmpStreamingEvent,
this.userSuperResolutionEnabled,
this.clientRoleChangeFailed,
this.firstRemoteVideoFrame});