When developing applications, the importance of mobile cannot be underestimated and, at TokBox, we recognize the need to communicate seamlessly between desktop and mobile devices. That’s why we were excited to attend Mobile World Congress last month and demonstrate the power of WebRTC in bringing contextual, embedded communications to a range of uses cases, across multiple devices.
Mobile World Congress this year surpassed a record 100,000 visitors from around the world. With a range of exhibitors and presentations from industry leaders including Facebook’s Zuckerburg and Cesar Alierta from Telefónica, the event showcased the latest technology and trends in the mobile world, from WebRTC to virtual reality and robotics.
With our fourth WebRTC Conference & Expo now a week behind us, we wanted to take some time to reflect on the event. There was never a dull moment for Team TokBox in Atlanta. We gave a keynote address, participated in several panel discussions, gave a live demo of our video driver and manned our bustling booth complete with a Bridgestone Golf B-FIT kiosk.
When building OpenTok apps, there might be cases where you would like the videos inside a container to automagically resize to take up the largest resolution possible within the boundaries of their container. With layout container, an open sourced library available on github, you can do exactly that.
Want to see a live app that uses this layout container? Check out OpenTokRTC! Try typing “/focus” and “/unfocus” in the chat box to see additional functionalities of layout container.
If you have read through our getting started tutorial and know how to create sessions and tokens, you are good to go!
To get you started, we have a few simple and working video chat sample apps to get you started:
For more complicated features and functionalities, check out these demo apps:
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 we’ll be creating will be a simple website which will allow you to instantly create a video chatroom.
So, let’s get started! First of all, you’ll need to install Sinatra. To do this, type the following command in the terminal:
gem install sinatra
Then, create a new folder and inside, make a new file called app.rb.