Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Windows Media Server / July 2007

Tip: Looking for answers? Try searching our database.

WMS and Silverlight

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
N.Tony - 18 Jul 2007 15:18 GMT
Does anybody use that technology? I need some help..

For watching media stream, I use media element and following code:
mediaPlayer.Source = new Uri("mms://localhost/admin", UriKind.Absolute);

and when the application is starts, I have exception: "AG_E_NOT_FOUND". (In
the Windows Media Player the stream is correctly showing)

But when I use next code: mediaPlayer.Source = new
Uri("mms://196.205.93.35/ahly", UriKind.Absolute);

all is OK, media element is showing video stream.


How can I configure my media server in order to see my stream using media
element?
Neil Smith [MVP Digital Media] - 18 Jul 2007 23:15 GMT
Which Silverlight control are you using ? I believe only silverlight
1.1 supports MMS streams, from my reading of the documentation.

WMP and silverlight use quite distinct techniques to access streams,
and what may work in one is not transferrable to the other.

MMS usually results in a negotiation step to either the http or rtsp
protocol. Silverlight may not support that (yet) and there's no
obvious link between "localhost" and the 195.x.x.x IP below - if there
is, you didn't say what it was.

Cheers - Neil

>Does anybody use that technology? I need some help..
>
[quoted text clipped - 11 lines]
>How can I configure my media server in order to see my stream using media
>element?

------------------------------------------------
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs
N.Tony - 27 Jul 2007 16:44 GMT
I have found the solving of a problem.

It is necessary to enable WMS HTTP Server Control Protocol in Media Server
properties and change port of that protocol if IIS is installed, for example
to 6666 (Because the port equals 80 by default)

And use next syntax: mms://localhost:6666/admin
(localhost can be changed with your IP)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.