- First, our early access build fully supports an OpenTok peer-peer session using WebRTC under the covers This demonstrates an important principle we strive to provide—a consistent programming interface for application developers where the platform chooses the best underlying transport possible.
- The second reason is the labs version of OpenTok on WebRTC demonstrates a fully non-Flash, HTML5 version of OpenTok.
We see a fragmented future for real-time communications. It’s a jungle out there, different media protocols (RTP, RTMP, RTMFP, etc), a world of differing video codecs (VP8, H264,etc), a slew of audio codecs (iSAC, iLBC, Speex, etc), differing messaging stacks (Jingle, SIP, etc) and OpenTok being able to provide the “smarts” to handle all these end-points seamlessly under the covers.
To evolve to this vision we made the architectural decision early on to decouple media transport from session negotiation and session-level messaging. We built out a custom distributed messaging fabric (code-named “Rumor”). Rumor is a low-latency, high-throughput raw messaging library built on raw sockets using our highly-optimized messaging protocol. Each rumor message has a custom message format with a maximum 64K binary payload. Rumor servers can be linked together in a mesh architecture to enable high-scale and enable out-of-band messaging and a very simple but high-performance publish-subscribe system.
We believe as an application developer you shouldn’t have to worry about underlying technologies and let the OpenTok platform do the heavy-lifting for you. Our goal is to be able to provide application developers with simple consistent, and powerful API primitives to build applications which enable face to face video, while the OpenTok API and underlying cloud infrastructure is smart and chooses the most optimal technology stack to deliver Audio-Video streams. To this end, we are pleased to announce today a labs version of OpenTok on WebRTC API which provides a sneak preview of the sorts of technologies we are working on.
Try it out at labs.opentok.com. We would love to hear your feedback.