Silverlight Streaming in WPF

5/5/2008 5:23:00 AM

The MyTube project (download v0.0001 here) continues on with yet another example of getting your video your way.  Just when I think I'm done, it keeps pulling me back in!  Or something to that effect.

While at the Iowa Code Camp, I was talking to someone about the MyTube code and I casually mentioned that you could take the solution I had built and you could quickly build a WPF client to show Silverlight Streaming content.  I boastfully said I could have it up and running in about 20 minutes.  Well, it took me longer than that and I still didn't put the minimal "fit and finish" work I did on my Silverlight version, but it works.  The thing that slowed me down the most was that my web hoster does not like non-browsers pulling down resources, even something as innocuous as an ATOM feed.  Once I figured out what was going on, I had to add "browser-like" header information to the request coming out of my WPF app.  After that, I wrestled with trying to get a progress indicator working as the video played, but after 10 minutes I punted since it is not as straightforward as it is in Silverlight.  Hopefully that is something that will be fixed soon because the only solution I could find was a royal pain compared to what Silverlight provides out of the box.  WPF and Silverlight are certainly cousins, but there are a few things that are different enough to drive you a bit batty.

If you are interested in the bare bones SLS via WPF app, you can download it here.  

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

SpaghettiCode

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

5/17/2008 7:27:36 AM

Powered by BlogEngine.NET 1.3.1.0
Theme by Mads Kristensen

About the author

Jeff Brand Jeff Brand

This is the personal web site of Jeff Brand, self-proclaimed .NET Sex Symbol and All-Around Good guy. Content from my presentations, blog, and links to other useful .NET information can all be found here.

E-mail me Send mail


Calendar

<<  May 2008  >>
MoTuWeThFrSaSu
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

View posts in large calendar

Twitter Updates

    Follow Me on Twitter

    Recent comments

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2008

    Sign in