Online Since 1995

About Frank

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: ,,,
Add a Comment