public void Post(CloseMediaSource request) { var task = _mediaSourceManager.CloseLiveStream(request.LiveStreamId, CancellationToken.None); Task.WaitAll(task); }
public void Post(CloseMediaSource request) { var task = _mediaSourceManager.CloseLiveStream(request.LiveStreamId); Task.WaitAll(task); }
public void Post(CloseMediaSource request) { _mediaSourceManager.CloseLiveStream(request.LiveStreamId).GetAwaiter().GetResult(); }