Question about Streaming support in Silverlight 2.0
-
Friday, January 25, 2008 3:56 AM
Will MediaElement be able to accept non-file streaming sources in 2.0 (i.e. live streaming such as video conference)?
All Replies
-
Friday, January 25, 2008 7:04 AM
It currently support live streams...what makes you think that it doesn't support it?
-
Tuesday, January 29, 2008 2:27 PM
swildermuth,
I hope you will be able to enlighten me with this:
- I have built an application in Silverlight 1.1.
- I am currently playing wmv and mp3's from a local folder.
I am using Windows Media Encoder to broadcast a stream from my microphone.
The stream plays well anywhere in the world on Windows Media Player, Winamp or VLC player.
I cannot get it to work on the local Silverlight project nor any other stream that works fine on WMP.
Is there anything different in the code that I have to do than:
MyPlayer.SetSource = new Uri("mms://here is my uri",UriKind.Relative);
?
Thank you for your time.
-
Tuesday, January 29, 2008 9:03 PM
The problem is that SIlverlight requires a http/https stream and using a mms stream won't work. Silverlight attempts to navigate to a mms stream and ask it for a http/https stream but if its streaming using the standard mms protocol it wont work. I don't know if Encoder will allow you to expose a non-mms stream.

