Thursday, February 10, 2011

How to play steam video in Silverlight 4.0

Today , I am investigating how to play video in Silverlight 4.0 ,  using MediaElement, it is quite easy to play a video in local disk , or hold in a server that can be accessed through http.  but unfortunately , our server is in a seperate server, and exposed as mms stream.  

it is quite headache , I was plan to use telerik's media play control, but it can't support mms stream as well. it takes me a few hours to look around, but no luck , finally I was thinking whether I can change the mms protocol to using http to see what will happen,  the interesting thing is , I change the mms to http at the video url, and paste to chrome, and I found I can access it and play it successfully in a browser.

so I use MediaElement, and change the video url protocol to http and set to the source property of MediaElement, it works smoothly....

Is that mean mms is based on http? need to figure this out.

No comments:

Post a Comment