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

Jun 26, 2010 at 7: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" />

 or

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

Question

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

 

Jun 26, 2010 at 8: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://a1591.v67128d.c67128.g.vm.akamaistream.net/7/1591/67128/v0001/mediapm.download.akamai.com/67129/ovp/content/test/video/supportplayer/wms/fist_bump_500k.wmv"),
                                        DeliveryMethod =
                                            Microsoft.SilverlightMediaFramework.Plugins.Primitives.DeliveryMethods.Streaming,
                                        Title = "Test MMS STream"
                                    });

It is a test video I got from Akamai's video streaming test page http://support.akamai.com/silverlight/ (pick AMD: Streaming)

 

Jun 28, 2010 at 5: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.

Coordinator
Jun 30, 2010 at 11:44 PM

Thanks darthobiwan, you're the man ;)

Jan 20, 2011 at 6: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:

http://smf.vertigo.com/videos/wildlife.wmv

 

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 8: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 8: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 10: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).