Frank La Vigne

Fear and Loathing in .NET

MVP Logo
Tablet PC MVP

Social Networks

Subscription Options

Add to Google

Subscribe in Bloglines

My Links


Post Categories

Archives

Image Galleries

Cached @ 9/3/2010 2:37:15 AMControl ASP.skins_marvin3_controls_archivelinks_ascx

GamerTag

Dev Community Events

Blog Stats

Cached @ 9/3/2010 2:37:15 AMControl ASP.skins_marvin3_controls_blogstats_ascx  

News


Blog Roll

Favorite Sites

Gadget Blogs

Tablet PC Links

Cached @ 9/3/2010 2:37:15 AMControl ASP.skins_marvin3_controls_categorydisplay_ascx

Six Traffic/Weather Cams Feeds in One XBAP

Like many metropolitan areas, the Washington DC area has a lot of traffic and congestion.

A little while ago, I noticed that the local news station WJLA has a bunch of live video feeds of both traffic and weather. I’ll look at them to see what I am in for.

On the WJLA home page, you click on any of the thumbnail images to bring up an HTML popup window:

On the pop up page, I noticed that they were using Windows Media Player:

My curiosity piqued, I right mouse clicked on the media player to take a closer look at how they were delivering the video feed.

 

On the properties page, I saw that the video feed was being served via a Windows media stream.

This got me thinking that I can build a better experience, such as show all the video streams on one screen.

This way, I can see the entire weather/traffic story in the area before I go anywhere and no annoying pop-ups.

Here’s what I built [Live Demo]:

I do realize that I have a lot more to do in terms of making it a really stand-apart experience

But in the meantime, notice how little procedural code I actually had to write.

The XBAP itself is only 10k!

If you’re wondering why it’s a WPF XBAP and not a Silverlight app, I had some issues with consuming the video feed in Silverlight.

It’s on my TODO list. :)

 

Technorati Tags: ,,,

posted on Thursday, January 21, 2010 5:34 PM

============ Debug Build ============
Dottext Version: 0.95.2004.102
Machine Name: IIS07902
.NET Version: 2.0.50727.3053
No User
============ Debug Build ============