Getting Started with OpenTok: From 0 to simple group video chat

TokBox is the company that provides the video streaming API called OpenTok. This tutorial will be a walk through to creating a very simple group video chat application.

There are two flavors to the OpenTok API, OpenTok Flash that uses flash plugin and OpenTok WebRTC that uses the new and cool HTML 5 technology, and they are not interoperable.

WebRTC provides a much better video chat experience when it comes to quality but is currently only supported officially in Firefox and Chrome. Internet Explorer users must install Chrome Frame plugin.

Flash on the other hand, is supported in 99% of all browsers and allows the ability to record live video streams as they occur (archiving).

Read More

Hollywood Hack Day 2013 – Pregame

Back for its 3rd year, Hollywood Hack Day is a two-day event that brings developers from all over Los Angeles and Orange County together to create the next generation of entertainment applications and we are very excited to be sponsoring this event again. If you live around the area, get your thinking hats on and register for your weekend of programming fun!

If you didn’t know already, TokBox provides a live video streaming API called OpenTok that lets you put live video chat into your website. We have a javascript library, iOS, and Android SDKs. To get a taste of how our API works, get started here!

If you have any questions with our API, feel free to reach out to us @tokbox or to me directly @songz or ask on stack overflow!

Heres a list of other sponsoring APIs and how they can can help you with your hack:

Read More

Building a Simple Video Chatroom with Sinatra and OpenTok

This tutorial will show you how to create a simple, yet functional video chatroom using the OpenTok API and Sinatra. Sinatra is a Ruby framework which allows you to quickly create web apps.

The App

The app we’ll be creating will be a simple website which will allow you to instantly create a video chatroom.

Setup

So, let’s get started! First of all, you’ll need to install Sinatra. To do this, type the following command in the terminal:
[code]
gem install sinatra
[/code]
Then, create a new folder and inside, make a new file called app.rb.

Read More

Making customer service with OpenTok easy – OTCS

icn_labs_OTCS-metalToday we’re excited to announce OpenTok for Customer Service (OTCS). This is our first solution built on top of the OpenTok platform, and will make it faster and easier for our partners to implement face-to-face video chat for customer service applications.

Over the past few years, we’ve had the opportunity to keep a close watch on use case trends in the video space. One common thread was present amongst the majority of the use cases that we encountered: customer service. Whether it was pre-sales support, post-sales customer assistance or expert consultations they all required some basic call functionality that wasn’t available through the standard OpenTok APIs.

Read More

Introducing Cloud Raptor SDK – Robust apps made easy

icn_labs_raptor-metalToday, the OpenTok platform adds the Cloud Raptor SDK into the fold. Partners’ application servers can use the Cloud Raptor SDK to listen to the events and messages that pass through an OpenTok session. Accessing these events and messages on the application server makes it easier to integrate OpenTok logic with the application logic. (Prior to Cloud Raptor, OpenTok events and messages were only available on the client.)

Before today, building robust applications with the OpenTok platform meant writing a distributed application across many clients. The clients either synchronized between themselves, the partner sent back a lot of AJAX calls to their server, or the developer used a service like Parse. Now, with the Cloud Raptor SDK, OpenTok developers can have one OpenTok brain for their application – simplifying the development and extending the possibilities simultaneously.

Read More

Quality of Experience and Traffic Shaping – the next step with Mantis

Today, we are happy to announce yet another significant milestone in the technical evolution of the OpenTok platform – dynamic traffic shaping for audio and video through our Mantis infrastructure. We are now optimizing the experience for every participant in a multi-party call.

WebRTC is essentially defined as a peer-to-peer protocol for real-time browser-based communication. The problem is that countless real-world applications require multi-party support. So eight weeks ago we unveiled Mantis to solve this. Mantis is our next-generation cloud-scaling infrastructure that enables developers to deliver bandwidth-efficient multi-party WebRTC support.

Read More

API Scavenger Hunt Recap and Solution

Last weekend we ran a Family Guy Themed API Scavenger Hunt, and this was our question:

Peter Griffin wants to Video Chat with a well known Tech Consultant named Song Zheng to find out what tech trends he should invest in. After scouring the interwebz, a wise cat told him that Song is an evangelist at TokBox and his ApiKey is “25925352”. He is always connected to the session ‘2_MX4yNTkyNTM1Mn4xMjcuMC4wLjF-V2VkIE1heSAyOSAxNzoxMjozNyBQRFQgMjAxM34wLjk0MjQ2NjQ0fg’. To connect to that session, the wise cat has also intelligently acquired the access token:

"T1==cGFydG5lcl9pZD0yNTkyNTM1MiZzZGtfdmVyc2lvbj10YnJ1YnktdGJyYi12MC45MS4yMDExLTAyLTE3JnNpZz00YTNjYjk5ZThhOGVhNTMxOWMyYmY3NzQzNmM5MmRmNTgzNDIyNzc2OnJvbGU9cHVibGlzaGVyJnNlc3Npb25faWQ9Ml9NWDR5TlRreU5UTTFNbjR4TWpjdU1DNHdMakYtVjJWa0lFMWhlU0F5T1NBeE56b3hNam96TnlCUVJGUWdNakF4TTM0d0xqazBNalEyTmpRMGZnJmNyZWF0ZV90aW1lPTEzNjk4NzI3NjAmbm9uY2U9MC42MDQ5NzIyNjY5NDExNDA4JmV4cGlyZV90aW1lPTEzNzI0NjQ3NjUmY29ubmVjdGlvbl9kYXRhPQ=="

To solve this puzzle, you would have to connect to Song’s session and subscribe to his video stream using WebRTC. You might also want to publish your video as well so he can see you.

Read More

Firefox support opens up new world of WebRTC possibilities

firefox_logo-only_RGB-300dpi

We’re incredibly pleased to see Mozilla launch Firefox with WebRTC enabled by default.  With Mozilla’s Firefox joining the WebRTC family, millions of people will have the opportunity to experience high-quality plugin-free face-to-face video within web applications.

TokBox’s OpenTok platform provides APIs and infrastructure that make it incredibly easy for web and mobile developers to build and deploy WebRTC-powered video applications.  WebRTC enables Firefox to give Javascript access to your webcam and microphone, and supports powerful P2P networking protocols.

Read More

The Great API Scavenger Hunt

This weekend is going to be an action packed Family Guy Themed API Scavenger Hunt!
stewie-family-guy-29507418-2560-1758

Thanks to SignalFire‘s creative efforts , you will get to role play as a Family Guy character solving puzzles and winning points through reading documentation and using APIs to help you through your journey. The guys from Pearson Developers explains it best:

Read More

Building a Simple Video Chatroom with Flask and OpenTok

OpenTok Flask Demo
This tutorial will show you how to create a simple, yet functional video chatroom using the OpenTok API and Flask. Flask is a python based micro-framework to create web apps.

The App

The app we’ll be creating will be a simple website which will allow you to instantly create a video chatroom.

Setup

So, let’s get started! First of all, you’ll need to install Flask. Then, create a new folder and inside, make a new file called main.py.

Read More