RTCVideoEventHandler constructor
- {OnWarningType? onWarning,
- OnErrorType? onError,
- OnCreateRoomStateChangedType? onCreateRoomStateChanged,
- OnConnectionStateChanged? onConnectionStateChanged,
- OnNetworkTypeChangedType? onNetworkTypeChanged,
- OnUserOperateMediaCaptureType? onUserStartAudioCapture,
- OnUserOperateMediaCaptureType? onUserStopAudioCapture,
- OnFirstLocalAudioFrameType? onFirstLocalAudioFrame,
- OnFirstRemoteAudioFrameType? onFirstRemoteAudioFrame,
- OnLocalAudioPropertiesReportType? onLocalAudioPropertiesReport,
- OnRemoteAudioPropertiesReportType? onRemoteAudioPropertiesReport,
- OnActiveSpeakerType? onActiveSpeaker,
- OnUserOperateMediaCaptureType? onUserStartVideoCapture,
- OnUserOperateMediaCaptureType? onUserStopVideoCapture,
- OnFirstLocalVideoFrameCapturedType? onFirstLocalVideoFrameCaptured,
- OnFirstRemoteVideoFrameRenderedType? onFirstRemoteVideoFrameRendered,
- OnFirstRemoteVideoFrameRenderedType? onFirstRemoteVideoFrameDecoded,
- OnRemoteVideoSizeChangedType? onRemoteVideoSizeChanged,
- OnLocalVideoSizeChangedType? onLocalVideoSizeChanged,
- OnAudioDeviceStateChangedType? onAudioDeviceStateChanged,
- OnVideoDeviceStateChangedType? onVideoDeviceStateChanged,
- OnAudioDeviceWarningType? onAudioDeviceWarning,
- OnVideoDeviceWarningType? onVideoDeviceWarning,
- OnMediaFrameSendStateChangedType? onAudioFrameSendStateChanged,
- OnMediaFrameSendStateChangedType? onVideoFrameSendStateChanged,
- OnMediaFrameSendStateChangedType? onScreenVideoFrameSendStateChanged,
- OnMediaFramePlayStateChangedType? onAudioFramePlayStateChanged,
- OnMediaFramePlayStateChangedType? onVideoFramePlayStateChanged,
- OnMediaFramePlayStateChangedType? onScreenVideoFramePlayStateChanged,
- OnAudioRouteChangedType? onAudioRouteChanged,
- OnSEIMessageReceivedType? onSEIMessageReceived,
- OnSEIStreamUpdateType? onSEIStreamUpdate,
- OnStreamSyncInfoReceivedType? onStreamSyncInfoReceived,
- OnSysStatsType? onSysStats,
- OnLocalAudioStateChangedType? onLocalAudioStateChanged,
- OnRemoteAudioStateChangedType? onRemoteAudioStateChanged,
- OnLocalVideoStateChangedType? onLocalVideoStateChanged,
- OnRemoteVideoStateChangedType? onRemoteVideoStateChanged,
- OnLoginResultType? onLoginResult,
- EmptyCallbackType? onLogout,
- OnServerParamsSetResultType? onServerParamsSetResult,
- OnGetPeerOnlineStatusType? onGetPeerOnlineStatus,
- OnMessageReceivedType? onUserMessageReceivedOutsideRoom,
- OnBinaryMessageReceivedType? onUserBinaryMessageReceivedOutsideRoom,
- OnMessageSendResultType? onUserMessageSendResultOutsideRoom,
- OnServerMessageSendResultType? onServerMessageSendResult,
- OnNetworkDetectionResultType? onNetworkDetectionResult,
- OnNetworkDetectionStoppedType? onNetworkDetectionStopped,
- OnAudioMixingStateChangedType? onAudioMixingStateChanged,
- OnAudioMixingPlayingProgressType? onAudioMixingPlayingProgress,
- OnPerformanceAlarmsType? onPerformanceAlarms,
- OnSimulcastSubscribeFallbackType? onSimulcastSubscribeFallback,
- OnHttpProxyStateType? onHttpProxyState,
- OnHttpsProxyStateType? onHttpsProxyState,
- OnSocks5ProxyStateType? onSocks5ProxyState,
- OnRecordingStateUpdateType? onRecordingStateUpdate,
- OnRecordingProgressUpdateType? onRecordingProgressUpdate,
- OnAudioRecordingStateUpdateType? onAudioRecordingStateUpdate,
- OnPushPublicStreamResultType? onPushPublicStreamResult,
- OnPlayPublicStreamResultType? onPlayPublicStreamResult,
- OnPublicStreamSEIMessageReceivedType? onPublicStreamSEIMessageReceived,
- OnFirstPublicStreamVideoFrameDecodedType? onFirstPublicStreamVideoFrameDecoded,
- OnFirstPublicStreamAudioFrameType? onFirstPublicStreamAudioFrame,
- OnCloudProxyConnectedType? onCloudProxyConnected,
- OnEchoTestResultType? onEchoTestResult,
- EmptyCallbackType? onNetworkTimeSynchronized,
- OnLicenseWillExpireType? onLicenseWillExpire,
- OnInvokeExperimentalAPIType? onInvokeExperimentalAPI,
- OnHardwareEchoDetectionResultType? onHardwareEchoDetectionResult}
Implementation
RTCVideoEventHandler({
this.onWarning,
this.onError,
this.onCreateRoomStateChanged,
this.onConnectionStateChanged,
this.onNetworkTypeChanged,
this.onUserStartAudioCapture,
this.onUserStopAudioCapture,
this.onFirstLocalAudioFrame,
this.onFirstRemoteAudioFrame,
this.onLocalAudioPropertiesReport,
this.onRemoteAudioPropertiesReport,
this.onActiveSpeaker,
this.onUserStartVideoCapture,
this.onUserStopVideoCapture,
this.onFirstLocalVideoFrameCaptured,
this.onFirstRemoteVideoFrameRendered,
this.onFirstRemoteVideoFrameDecoded,
this.onRemoteVideoSizeChanged,
this.onLocalVideoSizeChanged,
this.onAudioDeviceStateChanged,
this.onVideoDeviceStateChanged,
this.onAudioDeviceWarning,
this.onVideoDeviceWarning,
this.onAudioFrameSendStateChanged,
this.onVideoFrameSendStateChanged,
this.onScreenVideoFrameSendStateChanged,
this.onAudioFramePlayStateChanged,
this.onVideoFramePlayStateChanged,
this.onScreenVideoFramePlayStateChanged,
this.onAudioRouteChanged,
this.onSEIMessageReceived,
this.onSEIStreamUpdate,
this.onStreamSyncInfoReceived,
OnSysStatsType? onSysStats,
this.onLocalAudioStateChanged,
this.onRemoteAudioStateChanged,
this.onLocalVideoStateChanged,
this.onRemoteVideoStateChanged,
this.onLoginResult,
this.onLogout,
this.onServerParamsSetResult,
this.onGetPeerOnlineStatus,
this.onUserMessageReceivedOutsideRoom,
this.onUserBinaryMessageReceivedOutsideRoom,
this.onUserMessageSendResultOutsideRoom,
this.onServerMessageSendResult,
this.onNetworkDetectionResult,
this.onNetworkDetectionStopped,
this.onAudioMixingStateChanged,
this.onAudioMixingPlayingProgress,
this.onPerformanceAlarms,
this.onSimulcastSubscribeFallback,
this.onHttpProxyState,
this.onHttpsProxyState,
this.onSocks5ProxyState,
this.onRecordingStateUpdate,
this.onRecordingProgressUpdate,
this.onAudioRecordingStateUpdate,
this.onPushPublicStreamResult,
this.onPlayPublicStreamResult,
this.onPublicStreamSEIMessageReceived,
this.onFirstPublicStreamVideoFrameDecoded,
this.onFirstPublicStreamAudioFrame,
this.onCloudProxyConnected,
this.onEchoTestResult,
this.onNetworkTimeSynchronized,
this.onLicenseWillExpire,
this.onInvokeExperimentalAPI,
this.onHardwareEchoDetectionResult,
}) {
this.onSysStats = onSysStats;
}