protected static extern void initEventOnLeaveChannel(EngineEventOnLeaveChannelHandler OnLeaveChannel);
Пример #2
0
 protected static extern void initEventOnEngineCallback(OnJoinChannelSuccessHandler OnJoinChannelSuccess,
                                                        OnReJoinChannelSuccessHandler OnReJoinChannelSuccess,
                                                        OnConnectionLostHandler OnConnectionLost,
                                                        EngineEventOnLeaveChannelHandler OnLeaveChannel,
                                                        OnConnectionInterruptedHandler OnConnectionInterrupted,
                                                        OnRequestTokenHandler OnRequestToken,
                                                        OnUserJoinedHandler OnUserJoined,
                                                        EngineEventOnUserOfflineHandler OnUserOffline,
                                                        EngineEventOnAudioVolumeIndicationHandler OnAudioVolumeIndication,
                                                        OnUserMutedAudioHandler OnUserMuteAudio,
                                                        OnSDKWarningHandler OnSDKWarning,
                                                        OnSDKErrorHandler OnSDKError,
                                                        EngineEventOnRtcStatsHandler OnRtcStats,
                                                        OnAudioMixingFinishedHandler OnAudioMixingFinished,
                                                        EngineEventOnAudioRouteChangedHandler OnAudioRouteChanged,
                                                        OnFirstRemoteVideoDecodedHandler OnFirstRemoteVideoDecoded,
                                                        OnVideoSizeChangedHandler OnVideoSizeChanged,
                                                        EngineEventOnClientRoleChanged onClientRolteChanged,
                                                        OnUserMuteVideoHandler OnUserMuteVideo,
                                                        OnMicrophoneEnabledHandler OnMicrophoneEnabled,
                                                        OnApiExecutedHandler OnApiExecuted,
                                                        OnFirstLocalAudioFrameHandler OnFirstLocalAudioFrame,
                                                        OnFirstRemoteAudioFrameHandler OnFirstRemoteAudioFrame,
                                                        OnLastmileQualityHandler OnLastmileQuality,
                                                        OnAudioQualityHandler onAudioQuality,
                                                        OnStreamInjectedStatusHandler onStreamInjectedStatus,
                                                        OnStreamUnpublishedHandler onStreamUnpublished,
                                                        OnStreamPublishedHandler onStreamPublished,
                                                        OnStreamMessageErrorHandler onStreamMessageError,
                                                        OnStreamMessageHandler onStreamMessage,
                                                        OnConnectionBannedHandler onConnectionBanned,
                                                        OnVideoStoppedHandler OnVideoStopped,
                                                        OnTokenPrivilegeWillExpireHandler onTokenPrivilegeWillExpire,
                                                        OnNetworkQualityHandler onNetworkQuality,
                                                        EngineEventOnLocalVideoStatsHandler onLocalVideoStats,
                                                        EngineEventOnRemoteVideoStatsHandler onRemoteVideoStats,
                                                        EngineEventOnRemoteAudioStatsHandler onRemoteAudioStats,
                                                        OnFirstLocalVideoFrameHandler OnFirstLocalVideoFrame,
                                                        OnFirstRemoteVideoFrameHandler OnFirstRemoteVideoFrame,
                                                        OnUserEnableVideoHandler OnUserEnableVideo,
                                                        OnAudioDeviceStateChangedHandler onAudioDeviceStateChanged,
                                                        OnCameraReadyHandler onCameraReady,
                                                        OnCameraFocusAreaChangedHandler onCameraFocusAreaChanged,
                                                        OnCameraExposureAreaChangedHandler onCameraExposureAreaChanged,
                                                        OnRemoteAudioMixingBeginHandler onRemoteAudioMixingBegin,
                                                        OnRemoteAudioMixingEndHandler onRemoteAudioMixingEnd,
                                                        OnAudioEffectFinishedHandler onAudioEffectFinished,
                                                        OnVideoDeviceStateChangedHandler onVideoDeviceStateChanged,
                                                        EngineEventOnRemoteVideoStateChanged OnRemoteVideoStateChanged,
                                                        OnUserEnableLocalVideoHandler OnUserEnableLocalVideo,
                                                        OnLocalPublishFallbackToAudioOnlyHandler OnLocalPublishFallbackToAudioOnly,
                                                        OnRemoteSubscribeFallbackToAudioOnlyHandler onRemoteSubscribeFallbackToAudioOnly,
                                                        EngineEventOnConnectionStateChanged onConnectionStateChanged,
                                                        OnRemoteVideoTransportStatsHandler onRemoteVideoTransportStats,
                                                        OnRemoteAudioTransportStatsHandler onRemoteAudioTransportStats,
                                                        OnTranscodingUpdatedHandler onTranscodingUpdated,
                                                        EngineEventOnAudioDeviceVolumeChangedHandler onAudioDeviceVolumeChanged,
                                                        OnActiveSpeakerHandler onActiveSpeaker,
                                                        OnMediaEngineStartCallSuccessHandler onMediaEngineStartCallSuccess,
                                                        OnMediaEngineLoadSuccessHandler onMediaEngineLoadSuccess,
                                                        EngineEventOnAudioMixingStateChangedHandler onAudioMixingStateChanged,
                                                        OnFirstRemoteAudioDecodedHandler onFirstRemoteAudioDecoded,
                                                        EngineEventOnLocalVideoStateChanged onLocalVideoStateChanged,
                                                        EngineEventOnRtmpStreamingStateChangedHandler onRtmpStreamingStateChanged,
                                                        EngineEventOnNetworkTypeChangedHandler onNetworkTypeChanged,
                                                        EngineEventOnLastmileProbeResultHandler onLastmileProbeResult,
                                                        OnLocalUserRegisteredHandler onLocalUserRegistered,
                                                        EngineEventOnUserInfoUpdatedHandler onUserInfoUpdated,
                                                        EngineEventOnLocalAudioStateChangedHandler onLocalAudioStateChanged,
                                                        EngineEventOnRemoteAudioStateChangedHandler onRemoteAudioStateChanged,
                                                        EngineEventOnLocalAudioStatsHandler onLocalAudioStats,
                                                        EngineEventOnChannelMediaRelayStateChangedHandler onChannelMediaRelayStateChanged,
                                                        EngineEventOnChannelMediaRelayEventHandler onChannelMediaRelayEvent);