Hey Ross, Is the MediaElement in it's raw form no good?
The basic process is (and from my research it's not particularly well documented at this stage) is that you need to take the MediaStreamSource class (cannt remember its name) from the AdaptiveStreaming.dll and use it to load the video from your server. I know I'm being terribly vague I'm sorry, I've done this once before but I cannot for the life of me find the sample code. From: [email protected] [mailto:[email protected]] On Behalf Of Ross Jempson Sent: Tuesday, 19 May 2009 11:09 AM To: [email protected] Subject: Adaptive streaming Hi there, I was wondering if anyone has implemented a custom media player using adaptive streaming in a SL client? I have the IIS side up and running, and have deployed a test page using a player generated by Expression encoder. It performs beautifully on a hosted virtual server in the wild, although we haven't done any load testing yet. My requirement is that I have to show streaming video, but where the user doesn't have control over playing / pausing ... , therefore I don't want to show the normal player style UI. The video will be run in full screen when the user first hits a screen then will fade and keep running in the background. I haven't found a player that doesn't have a UI or lets me hide the UI. Eg http://www.openvideoplayer.com/ looks good but I couldn't work out how to hide the UI. I found the source code for one of the players -> C:\Program Files\Microsoft Expression\Encoder 2\Templates\en\SL2Standard\Source and figured out roughly how it works. The key is a project/dll AdaptiveStreaming.dll that does the hard work. I referenced AdapativeStreaming.dll and wired it up how I expected but it didn't work on my first attempt. I haven't had time to go back and look at it further, and don't expect you guys to debug my app. I am looking for advice : 1. Does anyone know of a player I can use that has no UI or the UI can be hidden? 2. Or, am I on the right track using the Encoder's AdaptiveStreaming library? 3. If the answer to 2 is Yes, Is it legal for me to use the AdaptiveStreaming library? I expect so, given the source code is distributed but thought I would ask. Cheers. Ross ________________________________ Support procedure: https://www.codify.com/lists/support List address: [email protected]<mailto:[email protected]> Subscribe: [email protected]<mailto:[email protected]> Unsubscribe: [email protected]<mailto:[email protected]> List FAQ: http://www.codify.com/lists/ozsilverlight Other lists you might want to join: http://www.codify.com/lists No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.329 / Virus Database: 270.12.32/2118 - Release Date: 05/16/09 17:05:00 -------------------------------------------------------------------------------- Support procedure: https://www.codify.com/lists/support List address: [email protected] Subscribe: [email protected] Unsubscribe: [email protected] List FAQ: http://www.codify.com/lists/ozsilverlight Other lists you might want to join: http://www.codify.com/lists
