Quick Note Regarding Session ID Changes

A few weeks ago we sent out an email regarding changes to our session IDs (they are now longer, up to 255 characters).  If you are storing session IDs for re-use, make sure that your database field supports this (we recommend a length of 512 just to be safe).

Also, when you switch your app from staging to production, make sure to also modify the client JavaScript src URL and server-side API URL to point to production!  You’ll also want to make sure that you start using production and not staging session IDs.

Read More

Good news & Bad News with Adobe Flash Player 11

Update #2: We have just pushed the fix for this issue. Please let us know in our forums if there are any problems with hardware acquisition for end users on Flash Player 11

Update #1: Google Chrome has updated their built-in version of Adobe Flash to Flash Player 11. We have not yet released our fix for this issue, but we are hard at work to make it happen.

Let’s play the good news/bad news game.

The good news is that Adobe’s Flash Player 11 brings with it a lot of new goodies including support for the H.264 video codec. More on how that will improve video quality in the OpenTok API in another blog post.

The bad news is there is a very old bug in Adobe’s hardware acquisition flow which Flash Player 11 has resurfaced.  Specifically, the release of the Flash Player 11 plugin has broken the work-around that we have had in place since the release of OpenTok.

What does that mean for you, the developer?

Read More

Live Virtual Town Hall – How Addiction Impacts Society

Today (9/27) at 5:00 p.m. PT, InTheRooms.com is partnering with Drugfree.org and TheFix.com to host the first ever virtual town hall for their You Are Not Alone Campaign. During this virtual town hall, a panel of experts will gather to discuss how addiction impacts different segments of society.

Read More

OpenTok’s newest offering…Sunglasses

We’re always on the lookout for cool new schwag to give away to you, our TokBox community. Now that it’s finally summer in San Francisco (woo hoo!), we figured there wasn’t anything more appropriate than a pair of OpenTok sunglasses. The biggest fans of our OpenTok shades so far? The littlest members of the TokBox family.

Read More

Guest Post: Do-it-yourself Videos on Causes!

Update: March 13, 2014 – Please note that this blog post references the archiving functionality in our OpenTok 1.0 platform. This feature is no longer being supported. Learn more about archiving using our OpenTok 2.0 platform.

Guest Post written by Kristján Pétursson, Senior Engineer at Causes

While we were redesigning the Causes Wish last year, we very much wanted to let everyone personalize their wish with a video message. Imagine if instead of a big block of text to read, you could see your friend right there and they told you face-to-face why they care about the charity they’re supporting. If a mere picture is worth a thousand words, then 24 frames/second would surely melt the heart of even cynical Uncle Jake who never donates to anything. Sadly, no one offered a recording API that we could drop into a page. YouTube doesn’t expose it, Facebook rolled their own, and building one here would just be too much of a departure from our goals.

Read More

Archiving & TokBooth are here!

Update: March 13, 2014 – Please note that this blog post references the archiving functionality in our OpenTok 1.0 platform. This feature is no longer being supported. Learn more about archiving using our OpenTok 2.0 platform.

It’s a big day here at TokBox.   We’re launching the public beta of two related products: archiving in the OpenTok API and the TokBooth plug-n-play app for recording video messages.  As product manager of the OpenTok platform, it’s a huge deal for me. I’m incredibly proud of our team for pulling it off.

Why? I know from personal experience that this has been the #1 most requested feature from our developers and end-users. When I started at TokBox as an engineer fresh out of school, lots of people were asking to record their video chats. When we repositioned the company around the OpenTok API, even more people started asking about archiving live video conversations. And now we’re making that possible.

Read More

Simple OpenTok Publisher Widget

A few months ago I made an OpenTok JavaScript plug-in that created a simple widget that publishes and subscribes to. Essentially it creates a stripped down version of the basic html embed that allows you to customize things further however you’d like. You can try that widget live here.

This past week Pasha from PuppetSmith.com wanted to create a simple way for the admins on his site to publish a stream and have all non-admins as viewers. You could certainly build this functionality yourself with the full API, but it would be nice to have a quick solution for this common scenario.

As a result, I built in some features to the _OT.widget JavaScript plugin that will handle this scenario. Now, it will handle all publisher/subscriber logic depending on what token you pass it. You can also pass it the publishFull property that will show the publisher in full screen rather than in the corner of the window. With one publisher, this is what the widget looks like:

You can visit the GitHub repo for the plug-in here.

Here is a sample implementation in PHP that generates a token, passes it down to the widget, then initializes.

Read More

TechCrunch Disrupt Contest Winner: Slides.IO

Thank you to all the developers who submitted applications for the OpenTok TechCrunch contest. There were 13 applications in total, and they were all fantastic. Everybody should be proud of what they created.

With that said, congratulations Kyle Powers on his winning entry Slides.io!

Slides.io uses OpenTok to create and broadcast presentations online. Here’s Slides.io in Kyle’s own words:

Slides.io is a web application for creating modern presentations. Presentations aren’t just a deck of slides anymore, and Slides.io understands this.

Straightforward, content-focused authoring tools provide efficient deck creation. Themes make them beautiful. Presentations are created in pure HTML5, JavaScript, and CSS3.

Presenters distribute a URL to the presentation, which includes live chat and video streaming provided by TokBox. Video archiving is forthcoming.

Read More

HAPI Hack Summary

Last weekend we hosted HAPI Hack Weekend at our office in San Francisco. Over 40 talented hackers made it out to show off their skills and win prizes by hacking on 11 different APIs.

Here are the applications that were built using OpenTok:

Read More

Guest post: Office Robot-Interns (a How-to Guide)

Guest Post written by Gizem Orbey, Development and Operations @Rapleaf

Last summer, now full-time Rapleafer Alex P. was but an intern with a dream. He wanted to keep working on Rapleaf projects when he returned to school in the fall. But how could he make his presence felt in the office while he was away?

By robot, of course. Alex built a prototype robot avatar using Legos, Arduino and a disassembled remote-control car. A couple of months ago, the project was advanced using the iRobot platform. An improved Version 2.0 featuring TokBox was built during Rapleaf’s quarterly hack-a-thon Hackleaf last week, when Emma and Steve from the engineering and biz ops teams joined forces with Alex to add some final touches. Here’s how they did it:

Read More