예제 #1
0
        public async Task ExitAsync()
        {
            IsDialogOpen = false;
            UnRegisterMeetingEvents();

            await _meetingView.Dispatcher.BeginInvoke(new Action(() =>
            {
                _meetingView.Close();

                _exitMeetingCallbackEvent(true, "");
            }));

            await StopAllLives();

            AsynCallResult exitResult = await _sdkService.ExitMeeting();

            Log.Logger.Debug($"【exit meeting】:result={exitResult.m_rc}, msg={exitResult.m_message}");
            HasErrorMsg(exitResult.m_rc.ToString(), exitResult.m_message);
        }