SMF v2 RC - mms:// and rtsp://

Jun 26, 2010 at 8:43 PM

I am not able to play videos with the mms:// or rtsp:// protocol. I am using the sample code provided in the microsoft-smf-src-2.2010.0610.1 build. I have attempted modifying the InitParams params of the simple player as follows:

<param name="InitParams" value="autoplay=true,selectedcaptionstream=textstream_bng,deliverymethod=ProgressiveDownload,mediaurl=mms://mymediaserverpath/Opportunities.wmv" />


<param name="InitParams" value="autoplay=true,selectedcaptionstream=textstream_bng,deliverymethod=Streaming,mediaurl=mms://mymediaserverpath/Opportunities.wmv" /> 

no luck.

My mms servers do not allow the content to be streamed via http.  i also attempted the above with rtsp but that does not work either (same servers). In debug mode, i do not get an error.

I also attempt the above with the simpleplayer_playlist. That did give me a uri error because it only expected http or https for absolute urls. I added the mms case and agian no error, just a failure to play the video.


Does SMF support either of the above protocols? If so, any ideas about what is going wrong?


Jun 26, 2010 at 9:13 PM

I do know it does support MMS. I ran this code just last night testing such support

            Player.Playlist.Add(new Microsoft.SilverlightMediaFramework.Core.Media.PlaylistItem
                                        MediaSource =
                                            new Uri("mms://"),
                                        DeliveryMethod =
                                        Title = "Test MMS STream"

It is a test video I got from Akamai's video streaming test page (pick AMD: Streaming)


Jun 28, 2010 at 6:34 AM

Ok the issue is with my company network. once i tried the code from home everything worked great.

Thanks darthobiwan, your post made me question the assumption that the issue was in the code.

Jul 1, 2010 at 12:44 AM

Thanks darthobiwan, you're the man ;)

Jan 20, 2011 at 7:28 PM

I am using the ProgressiveDownloadPlayer on an mms:// URL from a work server, and am also having issues.  I can use exactly the same settings, but use this url, and it works fine:


What could be different about our streaming that is in play here?  I can type the video's internal streaming server URL into my browser window, and Windows Media Player pops up and plays the video, so it's not an issue with its not being a valid URL, or valid file, etc.


Thanks in advance.

Jan 20, 2011 at 9:07 PM


Not sure if this will help...

For me MMS:// only works if the streaming server is set to fail over to http://. So MMS:// streams are not actually supported as much as they are handled, but only if your infrastructure is setup to fail over to http.


Jan 20, 2011 at 9:53 PM

I tried to force the issue by replacing "mms://" with "http://", but that didn't work either.  I put in a note to the administrator of the streaming server to ask him how it's configured, so I can bring that info back here.

Jan 20, 2011 at 11:12 PM

Can you open the stream in windows media player with "http://"? If not, the streaming server is not setup in a way that SMF can access (at least in my experience).