Silverlight Feeds - All your Silverlight feeds in one place.

Sponsors

Sunday, February 08, 2009

Very first voip + silverlight demo

by Michael Wolf via Michael Wolf on 2/8/2009 12:04:56 AM

Recently I have seen several blog posts about Silverlight + voip. These reminded me, I should have blogged about some of the solutions used in last years Phizzpop competition. Better late than never.

When we were working on Phizzpop a year ago, we had an Idea that we wanted to connect a voter directly with their representatives using Silverlight. I wanted to connect voters the way my grandmother was, by phone. Yet we were building a solution using Silverlight 1.1 at the time. The problem is that Silverlight has no microphone support, making native voip solutions impossible . While discussing the problem with some colleagues we started up an internal discussion about Javascript being the Babel Fish between modern client web technologies. The idea was that if we couldn’t make a phone call using Silverlight, why not leverage another technology via the Javascript bridge, and access it like a library. The original version used the skype com objects, which worked great, in fact skype bogged about the idea here.

Then after talking to Andrew Trice about the idea, he suggested we try Ribbit. Andy had used their api to add phone support to an existing flex application ( see interview here). With this suggestion in hand we then used the ribbit api/sdk and built a basic flex phone application that exposed a few external interfaces, namely call and hang up.



Then from Silverlight, using the html bridge, all we needed to do was call the methods using "HtmlPage.Window.Invoke". Then through the wonders of javascript translation a phone call was made.



The implementation here is dead simple, but it does open the developers mind to other options. Just because one platform doesn’t have feature A, you don’t have to drop it entirely. By using the interoperability features built into Silverlight your open to use any Javascript / flash / com solutions that are available to you.

While your at it check out the rest of the solution here

In my next blog I will be extending on this "javascript Bable Fish" idea with discussions of using asp.net ajax + silverlight.
email it!bookmark it!digg it!

Original Post: Very first voip + silverlight demo

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. Silverlight Feeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on Silverlight Feeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us