Beispiel #1
0
        public async Task <IActionResult> PlayNow([FromBody] VideoItem videoItem)
        {
            var result = await _playerService.PlayNowAsync(videoItem).ConfigureAwait(false);

            await _broadcaster.NowPlayingAsync(result).ConfigureAwait(false);

            return(Ok(result));
        }