{"id":200,"date":"2014-11-30T21:17:08","date_gmt":"2014-11-30T08:17:08","guid":{"rendered":"http:\/\/eion.robbmob.com\/blog\/?p=200"},"modified":"2014-11-30T21:17:08","modified_gmt":"2014-11-30T08:17:08","slug":"using-the-new-skype-for-web","status":"publish","type":"post","link":"https:\/\/eion.robbmob.com\/blog\/2014\/11\/30\/using-the-new-skype-for-web\/","title":{"rendered":"Using the new &#8220;Skype for Web&#8221;"},"content":{"rendered":"<p>So, Skype have <a href=\"http:\/\/blogs.skype.com\/2014\/11\/14\/please-welcome-skype-for-web-beta\/\" target=\"_blank\">recently announced<\/a> a new, web-accessible version of Skype.  Currently it&#8217;s invite-only, closed beta but I&#8217;ve managed to have a look around to see what it&#8217;s capable of and how it works.  They&#8217;ve talked about making it work with WebRTC but at the moment it needs a separate download to get a browser plugin.  Thus, a lot of the peer-to-peer features (such as file transfers or audio\/video calls) don&#8217;t work.  The major benefit of the new system is that it complements existing Desktop API or SkypeKit messaging by providing access to the server-stored &#8220;thread&#8221; chats.  It&#8217;s also interesting to see that the &#8216;endpoint&#8217; information for users, including what platform they&#8217;re using the Skype client on, is being provided.  The downside is that it&#8217;s still beta, that it destroyed my buddy list and can&#8217;t handle talking to older, pre-microsoft Skype clients or in the older type of multi-user chats &#8212; I guess that&#8217;s why they&#8217;ve been so desperate to block older clients and get everyone moved onto a new version of the client.<\/p>\n<p>Everything (other than login) is mostly JSON message sending\/receiving with an HTTP-long polling connection for events.  You&#8217;ll also need to do a bit of XML parsing for some of the messages, particularly for some metadata about chat rooms (adding\/removing users).  The &#8216;protocol&#8217; also can&#8217;t make up it&#8217;s mind about whether it wants to identify a user or conversation by a URL or a id.  Probably the worst part about it is how very sensitive it is to be 100% exact.<\/p>\n<p>Ah well.  I&#8217;ve been working on a new plugin for the last week, if anyone else is interested in testing it out.  It&#8217;s got a few bugs, a few segfaults but the hard part is out of the way.  Please grab it from svn on googlecode, the skypeweb subfolder of trunk, give it a compile and email me when you find all the fun bugs \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, Skype have recently announced a new, web-accessible version of Skype. Currently it&#8217;s invite-only, closed beta but I&#8217;ve managed to have a look around to see what it&#8217;s capable of and how it works. They&#8217;ve talked about making it work with WebRTC but at the moment it needs a separate download to get a browser [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[7,3],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3CEsE-3e","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/posts\/200"}],"collection":[{"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/comments?post=200"}],"version-history":[{"count":0,"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/posts\/200\/revisions"}],"wp:attachment":[{"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/media?parent=200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/categories?post=200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/tags?post=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}