Question

I have smooth live streaming SMF player in wp7 application . At the first launch it works fine.

I mean video streaming is working. But when I run it a second time, it does not work but is not producing any errors. My XMAL code is:

  <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>

And my C# Code is

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(); 

How can I solve this problem?

Was it helpful?

Solution

This is problem of multi resolution video.Because wp7 not support all resolution video.

So when you run your application on device at that time use RestrictTracks Method. RestrictTracks Method

I think its bit rate problem of your video.

Please reffer this tutorialDeveloper Guide For nokia lumia

If any problem than let me know

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top