Beispiel #1
0
        public async Task <GetMeetingInfoResponse> GetMeetingInfo([Required] string meetingID)
        {
            var meeting = await GetMeeting(meetingID);

            if (meeting == null || !meeting.Server.Up)
            {
                _logger.LogWarning($"Meeting '{meetingID}' not found or it's server is down.");
                return(new GetMeetingInfoResponse
                {
                    ReturnCode = "FAILED",
                    MessageKey = "notFound",
                    Message = "We could not find a meeting with that meeting ID"
                });
            }

            return(await _bbbClient.GetMeetingInfo(meeting.Server.Url, meeting.Server.Secret, meetingID));
        }