Adding metadata on connections

You can now attach metadata for each client that connects to a session. For example, you can add information about the connecting user. When a client connects to the session, all existing clients connected to the session can access the metadata for the new connection.

You add this metadata by passing it into the generate_token() method of the OpenTok server-side library. The metadata is then securely embedded in the token string. Here’s an example, using the OpenTok PHP library:

Read More

My Favorite Things

This week I’ve been travelling the east coast, hittin’ up various events. I’ve learned about a bunch of new stuff I didn’t know about, so I thought I would share some of…

JON’S FAVORITE THINGS!!!

This is the reaction I expect out of all of you:

Okay, my favorite things are:

Read More

Why your company should do an internal hackathon

Originally posted at blog.mumm.me

Hackathons are awesome.

At TokBox we put our normal schedule aside for a couple days to run our first internal hackathon. The rules were simple: pitch an idea, form teams, build something, then demo it 30 hours later. The winning team would get a prize.

My team didn’t win (though we were proudly among the first losers), but it was a really positive experience. Here’s why I think every company should try doing an internal hackathon:

Read More

OpenTok Apps: Lollapaloobox

It’s been three weeks since I’ve started my internship.  Since then, I have worked on quite a few projects, ranging from showcase to prototype apps. The one in particular that I’m quite proud of is Lollapaloobox; a mash-up between the OpenTok & Hacklolla APIs. The web app allows users to enjoy the full concert experience from the comfort of their homes.

Read More

More Fun Than Your Everyday Hackathon – GameHackDay NYC

This past weekend Tokbox was at Game Hack Day in NYC and we must say it was more fun than we expected. The organizers had a great set of API presentations which included Foursquare, Twilio, OMGPOP, Aviary, and of course OpenTok. We also had the pleasure of learning more about some pretty cool libraries and hardware to hack with. They really went all out, even procuring Parot AR Drones and Microsoft Kinect devices to entice the participants and spark some creativity.

AR Drone (photo cred johndbritton via flickr)

Read More

Lessons Learned from Startup Weekend Las Vegas

Las Vegas Startup Weekend was this past weekend with a star-studded panel of judges, including Kevin Rose (tea enthusiast and Packer fan), Tom Anderson (everybody’s MySpace friend), Tony Hsieh (deliverer of happiness), Ryan Carson (ThinkVitamin founder), and Josh Reich (banking disrupter).

Read More

Creating chatroulette with node.js, socket.io & OpenTok

This tutorial will create a simple chat roulette app using node.js, socket.io and OpenTok. Socket.io allows us to pass data between clients in real-time using only javascript and eliminate the need for a database. OpenTok allows us to quickly publish and subscribe to webcam streams without having to worry about server requirements and bandwidth usage — all we have to do is implement a simple and free javascript API.

Read More

Hack For Change – A Weekend about Doing Good

One thing is for sure: the developer and hacker community cares about sparking positive change. After spending a weekend as a hacker at the Hack for Change event (superbly hosted by Change.org), I saw over a dozen great ideas to hear about problems, find solutions and get people involved in those solutions. I wanted to highlight some of my favorites:

  • GoodNeighbor: Help get small tasks done like changing a lightbulb or taking out the trash for an elderly or disabled person in your neighborhood.
  • FindMeAPet.org: Save an animal from being put down by subscribing to data on incoming animals from local shelters.
  • IGotUGot: Backyard gardening exchange that helps you connect with the community and barter using whatever you grow at home (or have extra laying around).
  • PDB: Personal Daily Breifing the way Obama gets on his desk every morning, stay in touch with issues that you care about.
  • PicketLine.us: Voice your protest against a corporation and the practices you dislike. Profile the company and what people think about their choices.
  • SafeHood: Take your neighborhood watch digital via SMS notifications, simple and anonymous.
  • AnonyMouse: Connecting LBGT youth with mentors that can safely and anonymously answer difficult questions for someone who needs a conversation to help them get through a challenge.
  • AnonyMissing: Report lost friends without compromising yourself by keeping it anonymous
  • ShoppingAdvisor: Using data from GoodGuide to give you an aggregate view of your Amazon shopping history based on impact on the environment, carbon footprint, and other social awareness metrics.
  • What’s About My City: Spread the word about problems in your town and vote on those you agree should be fixed.
  • GreatDebate: Embed widgets on your own sites to connect with a cause and get decision maker feedback on that cause right away.
  • Alerter: Better emergency response is one tap away. Uses your medical profile, your select contacts (incl. Facebook), and your selected messages to get the word out when you need help.
  • GoChip.in: Event management for volunteer coordinators
  • Corrupt: report acts of corruption around you and hold those people accountable publicly (I worked on this one)
  • GovContrib: a bookmarklet that gives you a quick reference on how much certain companies have contributed to certain parties (uses Sunlight API)
  • Piece of Mind: An online and offline way for veterans to connect and voice stories through art. Kickstarter donation funded mosaic to be built.

Congratulations to GoodNeighbor (first prize), AnonyMouse (runner up), FindMeAPet (second runner up), Alerter (honorable mention) and all the teams that hacked though the wee hours on their projects. These ideas weren’t about building the next Fortune 500 company and retiring early, they were about making a difference in people’s lives. Seeing people staying up all night for that, truly is admirable.

Read More

OpenTok jQuery plugin available

We have designed the OpenTok JavaScript library to be easy for all JavaScript developers to use. But the jQuery OpenTok plugin, created by jQuery developer Jose Torres, could make it even easier to use OpenTok audio-video sessions in your web-based apps.

The plugin is hosted at github.com:

https://github.com/jmtorres/jquery-opentok

Using the jQuery plugin, you can fully integrate OpenTok into your jQuery-based apps.

To use the plug-in, include the OpenTok, jQuery, and jquery.opentok scripts in your HTML page:

Read More

OpenTok JS Plugins – Widget

I have began to create a set of OpenTok JavaScript plugins to provide boilerplate solutions for some common use cases.

The first plugin is the _OT.widget, which makes it simple to create a videochat widget similar to the HTML embed widget seen here.

Read More