Hello! Ed from the BD team @ TokBox here. We’re always thinking of great ways to showcase cool partners, so we came up with an idea for a series called PartnerTok. This whole series will be done via our open source chat tool OpenTokRTC and recorded with our archiving stack! For our inaugural episode we are featuring our friends at Cambly. They’re a language marketplace for people who want to learn English or Spanish. We talked to them about where the idea came from, how it got started, their business model as well as their experience launching the app.
Cambly is also one of the partners testing out our new archiving stack – you can hear from them firsthand in the video about how easy it is to implement. In fact, we used the OpenTok API for WebRTC to power the live interview, and our new Archiving & Playback beta to record it.
If you’d like to try the OpenTok platform simply sign up for an account! Want to try our new Archiving & Playback beta? You can request access to sign up for the program here.
Have you heard something like these feature requests:
“I take French lessons online. I meet with my tutor twice a week. But every Tuesday we spend some time refreshing what we’ve covered on Thursday. I’d pay extra if I could replay the recording of the previous session on my own time.”
“I have to record each conversation with a customer and store it for legal reasons.”
Until now, once an OpenTok-powered conversation ended, there was no way to go back and see what was said. In a lot of scenarios (including the ones above) you could add a lot of value to your product by recording the conversation and making it available on demand.
A few weeks ago, Filepicker.io added new features that allowed users to record video directly from their webcam into their cloud storage using OpenTok’s standalone recorder. What a cool integration! I can now leave video messages for myself everyday.
That very weekend, I attended the box hackathon and met the very cool guys from Filepicker. After speaking with them, I realized that OpenTok’s archiving capabilities integrates snugly with their api, especially with the recent release of our stitching API. And just like that, OpenTok Picker is born.
The archiving API allows developers to record video streams in an OpenTok session. These archives can be played back, or you can download the individual streams.
It turns out that downloading the individual streams does not make sharing very easy. If you recorded a conversation between two people for example you will end up with two FLV files. It would be much nicer if the two video files could be combined into one, so the resulting single video can easily be shared and played back.
This is where the stitching API comes in to play. Stitching allows you to combine an archive with up to four individual streams into a single MP4 file that can be played back in the HTML5 video player of your choice. Stitching individual videos is hard, but the stitching engine we built will time align all the individual streams, and mix the audio properly.
Minutegrams is a webapp to send video messages via email.
In this tutorial, let’s build a video recorder with the Tokbox API.
- We need ‘rElement’ div to put our recorder in, and ‘pElement’ div to put player in.
Step 2: Create a Tokbox recorder Manager object