/// <summary> /// 再生処理 /// </summary> /// <returns></returns> public async Task <PlayingOrchestrateResult> CreatePlayingOrchestrateResultAsync(VideoId videoId) { #if !DEBUG if (_videoCacheManager.IsCacheDownloadAuthorized() && _videoCacheManager.GetVideoCacheStatus(videoId) == VideoCacheStatus.Completed) #else if (_videoCacheManager.GetVideoCacheStatus(videoId) == VideoCacheStatus.Completed) #endif { return(await PreperePlayWithCache(videoId)); } else { return(await PreperePlayWithOnline(videoId)); } }