0
我在wp7應用程序中流暢的直播SMF播放器。 首次發佈時,它工作正常。WP7:實時視頻流
我的意思是視頻流正在工作。但是當我第二次運行它時,它不起作用,但不會產生任何錯誤。 我XMAL代碼:
<StackPanel Orientation="Vertical">
<TextBlock Text="WP7 Smooth Streaming Demo" Height="12" Width="266" FontSize="22" Foreground="Blue"/>
<Core:SMFPlayer Name="strmPlayer"
HorizontalAlignment="Stretch"
Margin="0"
VerticalAlignment="Stretch"/>
</StackPanel>
而我的C#代碼是
PlaylistItem item = new PlaylistItem();
item.MediaSource = new Uri("http://video3.smoothhd.com.edgesuite.net/ondemand/Big%20Buck%20Bunny%20Adaptive.ism/Manifest");
item.DeliveryMethod = Microsoft.SilverlightMediaFramework.Plugins.Primitives.DeliveryMethods.AdaptiveStreaming;
strmPlayer.Playlist.Add(item);
strmPlayer.Play();
我怎樣才能解決這個問題?
@yes其比特率的問題,因爲我的視頻比特率是420992,這methos允許任何問題400000比特率 – MansinhDodiya
當我運行第一次時間它會發揮比它不工作 – MansinhDodiya
好吧,所以使用RestrictTracksMethod,我已經給你了。這個方法允許1000000比特率。跳轉它的工作 – 2013-01-08 11:22:38