示例#1
0
        public void Post(CloseMediaSource request)
        {
            var task = _mediaSourceManager.CloseLiveStream(request.LiveStreamId, CancellationToken.None);

            Task.WaitAll(task);
        }
示例#2
0
        public void Post(CloseMediaSource request)
        {
            var task = _mediaSourceManager.CloseLiveStream(request.LiveStreamId);

            Task.WaitAll(task);
        }
示例#3
0
 public void Post(CloseMediaSource request)
 {
     _mediaSourceManager.CloseLiveStream(request.LiveStreamId).GetAwaiter().GetResult();
 }