public Task <ReturnMessage> StopLiveStream(int liveId)
        {
            Task <ReturnMessage> checkTask = _meetingManager.CheckMeetingServerStatus();

            if (checkTask != null)
            {
                return(checkTask);
            }

            var tcs = new TaskCallback <ReturnMessage>("StopLiveStream");

            if (_meetingManager.TaskCallbacks.ContainsKey(tcs.Name))
            {
                _meetingManager.TaskCallbacks.Remove(tcs.Name);
            }

            _meetingManager.TaskCallbacks.Add(tcs.Name, tcs);

            var result = MeetingAgent.StopLiveStream(liveId);

            if (result != 0)
            {
                return(Task.FromResult(MessageManager.FailedToStopLiveStream));
            }

            return(tcs.Task);
        }