Video and Mediahttp://forums.silverlight.net//20.aspx/1?Video+and+MediaDiscussions about video and media in Silverlight applicationsMon, 01 Jan 0001 00:00:00 -0500208061http://forums.silverlight.net//p/2914/8061.aspx/1?How+to+use+Windows+Media+Server+and+MMS+in+Silverlight+How to use Windows Media Server and MMS in Silverlight? <p>Dear all<br> <br> In the Silverlight 1.0,<br> When I&nbsp;added a new publish point&nbsp;to Windows Media Server and used the Silverlight to connect,<br> there were nothing happened.<br> I have no idea how to resolve my problem,&nbsp;and the complete XAML code is below:<br> <br> &lt;Canvas<br> &nbsp; xmlns=&quot;<a href="http://schemas.microsoft.com/client/2007">http://schemas.microsoft.com/client/2007</a>&quot;<br> &nbsp; xmlns:x=&quot;<a href="http://schemas.microsoft.com/winfx/2006/xaml">http://schemas.microsoft.com/winfx/2006/xaml</a>&quot;<br> &nbsp; Width=&quot;640&quot; Height=&quot;480&quot;&gt;<br> &nbsp; &lt;MediaElement x:Name=&quot;MediaElement1&quot; Source=&quot;mms://192.168.1.43/SilverlightMmsSample&quot;<br> &nbsp;&nbsp;&nbsp; Width=&quot;640&quot; Height=&quot;480&quot; /&gt;<br> &lt;/Canvas&gt;&nbsp;<br> <br> Is there any ideas?<br> Thanks for help!<br> </p> 2007-07-21T06:54:26-04:008062http://forums.silverlight.net//p/2914/8062.aspx/1?Re+How+to+use+Windows+Media+Server+and+MMS+in+Silverlight+Re: How to use Windows Media Server and MMS in Silverlight? <p>&nbsp;</p> <p>I ran into this problem myself when i installed media server on a box with&nbsp;IIS on it. You can try what i did, go to the Media Services Management Console, select your server and click properties. You'll find control protocol and double click WMS HTTP Server Control Protocol. In the dialog, select to use another port other than 80, since IIS would be using that. In your xaml code you should then modify your URL to include the port number. mms://server:443/path/to/vid or something like that. </p> <p>&nbsp;Hope that helps!</p> 2007-07-21T08:42:49-04:008065http://forums.silverlight.net//p/2914/8065.aspx/1?Re+Re+How+to+use+Windows+Media+Server+and+MMS+in+Silverlight+Re: Re: How to use Windows Media Server and MMS in Silverlight? <p>Dear <a class="namelink" href="http://silverlight.net/members/jlvillaraza.aspx"> <strong><font color="#53b1e3" size="1">jlvillaraza</font></strong></a><br> <br> You are right!!<br> After I&nbsp;modify the port and start the WMS HTTP Server Control Protocol,<br> the Silverlight can play the movie using the mms protocol on the Media Server!<br> Thank you very much!</p> 2007-07-21T10:31:01-04:008419http://forums.silverlight.net//p/2914/8419.aspx/1?Re+Re+How+to+use+Windows+Media+Server+and+MMS+in+Silverlight+Re: Re: How to use Windows Media Server and MMS in Silverlight? <p>Is it really mms protocol ??</p> <p>I feel It's http streaming on port 443 (not mms protocol)....</p> 2007-07-25T06:06:04-04:008688http://forums.silverlight.net//p/2914/8688.aspx/1?Re+How+to+use+Windows+Media+Server+and+MMS+in+Silverlight+Re: How to use Windows Media Server and MMS in Silverlight? <p>Thank you, <a href="http://silverlight.net/members/jlvillaraza.aspx" class="namelink"> jlvillaraza</a>! you solve my problem too!</p> <p><br> </p> 2007-07-27T15:02:06-04:008703http://forums.silverlight.net//p/2914/8703.aspx/1?Re+Re+How+to+use+Windows+Media+Server+and+MMS+in+Silverlight+Re: Re: How to use Windows Media Server and MMS in Silverlight? <p>always glad to help [Y]</p> 2007-07-27T17:53:30-04:008899http://forums.silverlight.net//p/2914/8899.aspx/1?Re+Re+How+to+use+Windows+Media+Server+and+MMS+in+Silverlight+Re: Re: How to use Windows Media Server and MMS in Silverlight? <p><strong>Not working</strong> for Silverlight <strong>RC</strong> :(</p> 2007-07-30T14:33:05-04:008901http://forums.silverlight.net//p/2914/8901.aspx/1?Re+Re+Re+How+to+use+Windows+Media+Server+and+MMS+in+Silverlight+Re: Re: Re: How to use Windows Media Server and MMS in Silverlight? <p>Hi, I just tried it out myself, with a basic project using blend 2 august prev, it works fine. Doesn't work with the code generated by Media Encoder though as far as i've tried. [:S]</p> 2007-07-30T14:42:33-04:008903http://forums.silverlight.net//p/2914/8903.aspx/1?Re+Re+Re+How+to+use+Windows+Media+Server+and+MMS+in+Silverlight+Re: Re: Re: How to use Windows Media Server and MMS in Silverlight? <p>Dear mentas<br> <br> After I update the Silverlight&nbsp;component&nbsp;from Beta to RC version and modify&nbsp;some&nbsp;code in my original project, my html sample of MMS streaming do work fine without any change of server side.<br> Maybe you can say something more about the problem.</p> 2007-07-30T14:48:12-04:008904http://forums.silverlight.net//p/2914/8904.aspx/1?Re+Re+Re+Re+How+to+use+Windows+Media+Server+and+MMS+in+Silverlight+Re: Re: Re: Re: How to use Windows Media Server and MMS in Silverlight? <p>i created a new silverlight javascript project then edited my xaml to the ff:</p> <p>&lt;Canvas<br> &nbsp;xmlns=&quot;<a href="http://schemas.microsoft.com/client/2007">http://schemas.microsoft.com/client/2007</a>&quot;<br> &nbsp;xmlns:x=&quot;<a href="http://schemas.microsoft.com/winfx/2006/xaml">http://schemas.microsoft.com/winfx/2006/xaml</a>&quot;<br> &nbsp;Width=&quot;640&quot; Height=&quot;480&quot;<br> &nbsp;Background=&quot;White&quot;<br> &nbsp;x:Name=&quot;Page&quot;<br> &nbsp;&gt;<br> &nbsp;&lt;MediaElement Source=&quot;mms://server:443/path/video.wmv&quot;&nbsp; Width=&quot;640&quot; Height=&quot;480&quot;&nbsp; /&gt;<br> &lt;/Canvas&gt;</p> 2007-07-30T14:49:00-04:008905http://forums.silverlight.net//p/2914/8905.aspx/1?Re+Re+Re+Re+How+to+use+Windows+Media+Server+and+MMS+in+Silverlight+Re: Re: Re: Re: How to use Windows Media Server and MMS in Silverlight? <p>My application can't play videos from Windows Media Server.</p> <p>To test/check and find the problem, I&nbsp;created a simple project on VS2005 and add a simple MediaElement:</p> <font color="#0000ff" size="2"> <p>&lt;</font><font color="#a31515" size="2">MediaElement</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">Source</font><font color="#0000ff" size="2">=</font><font size="2">&quot;</font><font color="#0000ff" size="2">mms://196.205.93.35/ahly</font><font size="2">&quot;</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">Width</font><font color="#0000ff" size="2">=</font><font size="2">&quot;</font><font color="#0000ff" size="2">320</font><font size="2">&quot;</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">Height</font><font color="#0000ff" size="2">=</font><font size="2">&quot;</font><font color="#0000ff" size="2">240</font><font size="2">&quot;</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">CurrentStateChanged</font><font color="#0000ff" size="2">=</font><font size="2">&quot;</font><font color="#0000ff" size="2">OnCurrentStateChanged</font><font size="2">&quot;</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">MediaOpened</font><font color="#0000ff" size="2">=</font><font size="2">&quot;</font><font color="#0000ff" size="2">OnMediaOpened</font><font size="2">&quot;</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">MediaFailed</font><font color="#0000ff" size="2">=</font><font size="2">&quot;</font><font color="#0000ff" size="2">OnMediaFailed</font><font size="2">&quot;</font><font color="#0000ff" size="2"> /&gt;</font></p> <p>I can play <font size="2">&quot;</font><font color="#0000ff" size="2">mms://196.205.93.35/ahly</font><font size="2">&quot; </font>on WMP11 but not on SL RC app. Why?!</p> 2007-07-30T15:03:37-04:008907http://forums.silverlight.net//p/2914/8907.aspx/1?Re+Re+Re+Re+Re+How+to+use+Windows+Media+Server+and+MMS+in+Silverlight+Re: Re: Re: Re: Re: How to use Windows Media Server and MMS in Silverlight? <p>Dear mentas<br> <br> Have you ever read the post of ilvillaraza in the begining of this post?</p> 2007-07-30T15:11:00-04:008908http://forums.silverlight.net//p/2914/8908.aspx/1?Re+Re+Re+Re+Re+How+to+use+Windows+Media+Server+and+MMS+in+Silverlight+Re: Re: Re: Re: Re: How to use Windows Media Server and MMS in Silverlight? <p>try using expression blend 2, the august preview. I'm also having trouble using VS and displaying a simple video, but blend seems to work fine</p> <p>&nbsp;</p> 2007-07-30T15:12:17-04:008915http://forums.silverlight.net//p/2914/8915.aspx/1?Re+Re+Re+Re+Re+Re+How+to+use+Windows+Media+Server+and+MMS+in+Silverlight+Re: Re: Re: Re: Re: Re: How to use Windows Media Server and MMS in Silverlight? <p>Yes I read post... I have it done on SL Beta, but now (using RC)&nbsp;I can't play any video from Windows Media Server.</p> <p>I try simple app on VS2005 also Blend 2 August Preview...</p> <p>Any one can play&nbsp;&nbsp;&quot;<font color="#0000ff" size="2">mms://196.205.93.35/ahly&quot; <font color="#000000"> on SL RC app?!?!?</font></font><font color="#0000ff" size="2"></p> </font> 2007-07-30T15:44:27-04:008923http://forums.silverlight.net//p/2914/8923.aspx/1?Re+Re+Re+Re+Re+Re+Re+How+to+use+Windows+Media+Server+and+MMS+in+Silverlight+Re: Re: Re: Re: Re: Re: Re: How to use Windows Media Server and MMS in Silverlight? <p>Hi Mentas, did you reassign a port to your media server? because if you did&nbsp; i think youl'l need to specify the port number in your URL, i.e. mms://196.205.93.35:443/ahly if you specified port 443 on your server.</p> 2007-07-30T16:29:33-04:008926http://forums.silverlight.net//p/2914/8926.aspx/1?Re+Re+Re+Re+Re+Re+Re+How+to+use+Windows+Media+Server+and+MMS+in+Silverlight+Re: Re: Re: Re: Re: Re: Re: How to use Windows Media Server and MMS in Silverlight? <p>Hi,</p> <p>Yes I have changed before&nbsp;port of&nbsp;my media server to 81.</p> <p>I can play Media Server videos from SL Beta but not from SL RC :( Why?!</p> <p><strong>Sample:</strong></p> <font color="#0000ff" size="2"> <p>mms://mymediaserver:81/Robotica</p> <p></font>&nbsp;</p> <p>&nbsp;</p> 2007-07-30T16:41:00-04:008928http://forums.silverlight.net//p/2914/8928.aspx/1?Re+Re+Re+Re+Re+Re+Re+Re+How+to+use+Windows+Media+Server+and+MMS+in+Silverlight+Re: Re: Re: Re: Re: Re: Re: Re: How to use Windows Media Server and MMS in Silverlight? <p>are you trying to stream a playlist/live feed? try publishing a single video first and see if it works. mms://server:port/path/video.wmv</p> 2007-07-30T16:49:57-04:008929http://forums.silverlight.net//p/2914/8929.aspx/1?Re+Re+Re+Re+Re+Re+Re+Re+Re+How+to+use+Windows+Media+Server+and+MMS+in+Silverlight+Re: Re: Re: Re: Re: Re: Re: Re: Re: How to use Windows Media Server and MMS in Silverlight? <p>Still not&nbsp;work.</p> <p>I add an ondemand publishingpoint to my mediaserver</p> <p><strong>Source:</strong> C:\WMPub\WMRoot\industrial.wmv</p> <p><strong>Announce:</strong> mms://server/RCTest</p> <p><strong>Also try for MediaElement:</strong></p> <font color="#800000" size="2">&quot;mms://server:81/RCTest&quot;</font><font color="#800000" size="2"> <p>&quot;mms://server:81/RCTest.wmv&quot;</p> <font color="#800000" size="2"> <p>&quot;mms://server:81/C:\wmpub\WMRoot\RCTest.wmv&quot;</p> <p>&nbsp;</p> <p><em>Work for WMP11 and SL Beta but <strong>not</strong> for SL RC :(</em></p> </font></font> 2007-07-30T17:02:37-04:008935http://forums.silverlight.net//p/2914/8935.aspx/1?Re+Re+Re+Re+Re+Re+Re+Re+Re+Re+How+to+use+Windows+Media+Server+and+MMS+in+Silverlight+Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: How to use Windows Media Server and MMS in Silverlight? <p>Try this:</p> <p>create a new publishing point,Name: &quot;RCVideos&quot; -&gt;&nbsp;content type:&nbsp; Files..in a directory... -&gt; then On Demand publishing point then point the directory to the one that contains your videos then&nbsp;next next (to finish)</p> <p>then as your source, should be mms://server:81/RCVideos/industrial.wmv (where industrial.wmv is the actual filename of the video in your directory. </p> <p>&nbsp;if this still doesn't work... [:s]</p> <p>&nbsp;</p> 2007-07-30T17:33:22-04:008938http://forums.silverlight.net//p/2914/8938.aspx/1?Re+Re+Re+Re+Re+Re+Re+Re+Re+Re+How+to+use+Windows+Media+Server+and+MMS+in+Silverlight+Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: How to use Windows Media Server and MMS in Silverlight? <p><strong>Still doesn't work...</strong> <img alt="Tongue Tied" src="http://silverlight.net/emoticons/emotion-7.gif"></p> <p><strong><u>Resume:</u></strong> Silverlight RC can't play media from Windows Media Server.</p> <p>Any solution?!</p> <p>&nbsp;</p> 2007-07-30T17:56:55-04:00