public Task StartEndpointPrivateConsultationAsync(Conference conference, Endpoint endpoint, Participant defenceAdvocate)
 {
     return(Task.CompletedTask);
 }
示例#2
0
        public async Task StartEndpointPrivateConsultationAsync(Conference conference, Endpoint endpoint,
                                                                Participant defenceAdvocate)
        {
            var targetRoom = _roomReservationService.GetNextAvailableConsultationRoom(conference);

            _logger.LogInformation(
                "Conference: {conference.Id} - Attempting to transfer endpoint {endpoint.Id} and participant {defenceAdvocate.Id} into room {targetRoom}",
                conference.Id, endpoint.Id, defenceAdvocate.Id, targetRoom);
            await TransferParticipantAsync(conference.Id, endpoint.Id,
                                           endpoint.GetCurrentRoom(), targetRoom);

            await TransferParticipantAsync(conference.Id, defenceAdvocate.Id,
                                           defenceAdvocate.GetCurrentRoom(), targetRoom);
        }