{"id":6385,"date":"2011-04-28T02:08:04","date_gmt":"2011-04-28T02:08:04","guid":{"rendered":"http:\/\/21.83"},"modified":"2011-04-28T02:08:04","modified_gmt":"2011-04-28T02:08:04","slug":"rainbow-0-4-async-goodness","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/labs\/2011\/04\/rainbow-0-4-async-goodness\/","title":{"rendered":"Rainbow 0.4: Async Goodness"},"content":{"rendered":"<p>Version 0.4 of Rainbow is now available on addons.mozilla.org: <a href=\"https:\/\/addons.mozilla.org\/en-US\/firefox\/addon\/mozilla-labs-rainbow\/versions\/?page=1#version-0.4\">Go grab it<\/a>.<\/p>\n<p>To start with, we&#8217;d like to thank you for all the great feedback! Yesterday, <a href=\"http:\/\/redpuma.net\/blog\/\">Dan Mosedale<\/a> blogged about a <a href=\"https:\/\/mozillalabs.com\/blog\/2011\/04\/a-web-based-karaoke-prototype-as-technology-feedback-loop\/\">web-based Karaoke application<\/a> in which he mentions the importance of a tight feedback loop for the evolution of any API. We&#8217;ve also received very useful comments from other folks who are using Rainbow for their projects, which include but are not limited to: a QR code scanner, a &#8216;webcasting&#8217; application using <a href=\"https:\/\/mozillalabs.com\/chromeless\/\">chromeless<\/a> and a <a href=\"https:\/\/photobooth.mozillalabs.com\/\">photo booth<\/a> for the web. In this release, we&#8217;ve incorporated many of your suggestions:<\/p>\n<h3>What&#8217;s new?<\/h3>\n<ul>\n<li>The biggest change is that the Rainbow API is now <b>completely asynchronous<\/b>. This means you will have to update your code to work with the new API; take a look at the new <a href=\"https:\/\/github.com\/mozilla\/rainbow\/blob\/master\/content\/example.html\">examples<\/a> and the <a href=\"https:\/\/github.com\/mozilla\/rainbow#readme\">README<\/a> to learn more.<\/li>\n<li><b>Error reporting<\/b> is now much more robust. Hardware errors and other conditions will be reported your JavaScript via an asynchronous observer.<\/li>\n<li>It is now possible to <b>preview<\/b> video as a separate step from recording.<\/li>\n<li>We added an API call to take a <b>snapshot<\/b> of a live video as a PNG image.<\/li>\n<\/ul>\n<h3>What&#8217;s next?<\/h3>\n<p>We&#8217;re going to be focused on getting Rainbow to run reliably on Linux, as well as continue working on efforts to bring video streaming to the browser.<\/p>\n<p>We can&#8217;t wait to see what you can build with this release of Rainbow. Please do keep sending in your feedback on our <a href=\"https:\/\/groups.google.com\/group\/mozilla-labs\">discussion forum<\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Version 0.4 of Rainbow is now available on addons.mozilla.org: Go grab it. To start with, we&#8217;d like to thank you for all the great feedback! Yesterday, Dan Mosedale blogged about a web-based Karaoke application in which he mentions the importance &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/labs\/2011\/04\/rainbow-0-4-async-goodness\/\">Continue reading<\/a><\/p>\n","protected":false},"author":246,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19300,538],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/posts\/6385"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/users\/246"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/comments?post=6385"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/posts\/6385\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/media?parent=6385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/categories?post=6385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/labs\/wp-json\/wp\/v2\/tags?post=6385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}