Live Smooth stream feed not playing

Sep 10, 2010 at 10:35 AM

Hi,

I'm starting out with the SMF and I'm trying to play a live feed in the SMFPlayer but I cannot get it to work. According to this post:

http://forums.silverlight.net/forums/p/196342/458627.aspx

There is a live feed available on the following address:

http://ispmix1.edgesuite.net/MIX/MSFT-MIX10-100315.isml

And here is a link to a player that plays it:

http://www.microsoft.com/silverlight/iis-smooth-streaming/demo/#/live

But when I set up the SMFPlayer as below:

<Core:SMFPlayer >
            <Core:SMFPlayer.Playlist>
                <Media:PlaylistItem MediaSource="http://ispmix1.edgesuite.net/MIX/MSFT-MIX10-100315.isml" />
            </Core:SMFPlayer.Playlist>
        </Core:SMFPlayer>

It doesn't play the feed. I've tried with "/Manifest" on the end also but it doesn't help.

Does anyone know what is wrong?

Thanks for help!

Sep 10, 2010 at 1:00 PM

You need to put DeliveryMethod property on that PlayListItem. SMF uses that to determine which MediaPlugin to use to play the video. Yours would need to be set to AdaptiveStreaming

<Media:PlaylistItem DeliveryMethod="AdaptiveStreaming"  MediaSource="http://ispmix1.edgesuite.net/MIX/MSFT-MIX10-100315.isml/Manifest"/>

Sep 10, 2010 at 1:22 PM

Thanks for your help!

It's embarassing but it turned out I also forgot to add a reference to one of the SmoothStreaming dll's. Now it works.

But I feel for developing and debugging purposes there should be some error information. Now if a stream or video link doesn't work you don't get any information what might causing the problem. Is it possible to get more detailed exception information from the player?

 

Sep 10, 2010 at 1:28 PM

You can turn on the Logging Console display that overlays on the video spitting out all the tracing information about what SMF is doing ;)

 <Core:SMFPlayer LoggingConsoleVisibility="Visible">