2014-10-07 65 views
2

我想在Windows 8.0上使用hls框架(https://phonesm.codeplex.com/)。我已將HLSView項目轉換爲Windows 8.0。但Visual Studio告訴我,HLS在WIndows 8中蒸12

static readonly IApplicationInformation ApplicationInformation = ApplicationInformationFactory.DefaultTask.Result;在當前上下文中不存在

_mediaStreamFascade = MediaStreamFascadeSettings.Parameters.Create(_httpClients,_mediaElementManager.SetSourceAsync);不包含「創建」的定義

_mediaElementManager = new WinRtMediaElementManager(Dispatcher, WinRtMediaElementManager could not be found. 

我需要將它集成到Windows 8.0項目中。我已經讀過,這是可能的,但我不知道如何獲得這些錯誤

我剛剛試過72bb1b6bb7f3版本(最後一次提交)。我已將hlsview.win81項目轉換爲Windows 8.0項目。評論SystemMediaTransportControls之後,我只有2個問題:

錯誤7的基類或「SM.Media.IMediaStreamFacade」的界面無法解析或無效C:\用戶\的Sergiu \下載\ phonesm-72bb1b6bb7f3885c65e157823b7cf2d341fa5c95 \來源\ bin \ Debug \ SM.Media.Platform.WinRT.dll HlsView.Win81

and at mediaElement1.SetMediaStreamSource(mss);

錯誤21'Windows.UI.Xaml.Controls.MediaElement'不包含'SetMediaStreamSource'的定義,也沒有接受'Windows.UI.Xaml.Controls.MediaElement'類型的第一個參數的擴展方法'SetMediaStreamSource'可以找到(您是否缺少使用指令或程序集引用?)c:\ users \ sergiu \ downloads \ phonesm-72bb1b6bb7f3885c65e157823b7cf2d341fa5c95 \ source \ app \ winrt \ hlsview.win81 \ mainpage.xaml.cs 348 39 HlsView.Win81

我不知道如何使它從這裏工作的Windows 8.0。請任何幫助是值得歡迎的

回答