public async Task <IActionResult> GetAudioStreamInfoAsync(Guid hearingId) { try { var response = await _videoApiClient.GetAudioStreamInfoAsync(hearingId); return(Ok(response.IsRecording)); } catch (VideoApiException e) { _logger.LogError(e, $"Unable to get audio recording stream info for hearingId: {hearingId}"); return(StatusCode(e.StatusCode, e.Response)); } }