WebRTC uncovered: why it's the future of online communications

WebRTC uncovered
Might Apple drag its heels over WebRTC, because it could be a FaceTime competitor?

The web has revolutionised communication, and WebRTC promises to take the revolution a step further. The free, open-source project enables compliant web browsers to communicate in real-time using simple JavaScript APIs.

The project's mission: "To enable rich, high quality, real-time communication applications to be developed in the browser via simple JavaScript APIs and HTML5." Think Skype or FaceTime, built into the browser—and far more once developers start tinkering.

Distinguished Engineer at Avaya, Inc. Alan Johnston co-wrote a comprehensive book on the technology, and he's truly excited about its potential: "WebRTC is about unleashing the power of real-time communication to any web developer or application. Before WebRTC, to add real-time communication, a developer needed to know protocols and select stacks, often requiring licensing.

Now, WebRTC browsers such as Chrome and Firefox have all this built in, and developers can utilise them with a few simple API calls in their JavaScript." Net benefits, says Johnston, will be lower development costs, richer interaction on websites, and potentially happier end users.

Online chat

A plug-in-free online chat occurred in February 2013, thanks to WebRTC support in Chrome and Firefox

The plug-in free future

A big draw with WebRTC is the manner in which it's baked into browsers. Mobile platforms such as iOS started the drift away from plug-ins, but a future free from them has long been the goal of many web standards advocates.

"Removing boundaries for people to use these technologies is important to ensure uptake, and it alleviates security and privacy fears that come with downloading a third-party plug-in," says Andi Smith, a presentation technical architect at AKQA.

He notes how widespread adoption of WebRTC would eliminate commonplace scenarios where you plan a conference call, only to discover on the day that an attendee lacks the right plug-in or app. "Along with causing fragmentation and being expensive to develop, plug-ins are a major vector for malware," adds Johnston, further cementing why the web would be best rid of them.

Usability, though, is perhaps the most important factor in WebRTC. In providing developers with a relatively simple means of dealing with complex technology, innovation can flourish through utilising WebRTC for new ideas, rather than spending time recreating foundations.

"The technology behind RTCPeerConnection—the WebRTC API for audio and video communication—blows me away. This is an amazing engineering achievement, and it shields developers from a multitude of complex tasks that are really hard to do well but are crucial to real-time communication," says Google Developer Advocate Sam Dutton.

He elaborates: "To mention a few: echo cancellation, packet loss concealment, bandwidth adaptivity, automatic gain control, noise reduction and suppression, image 'cleaning' and the beautifully named 'dynamic jitter buffering', which maintains reserves of data to avoid video hiccups!"

A world beyond Skype

On watching a recent WebRTC demo (below), it's not hard to see how it could rapidly take over from the likes of Skype.

However, beyond such obvious applications, enterprising developers could do far more, according to those already immersed in the technology. "WebRTC has the potential to make the web a more interactive place," argues Smith, who suggests video-based customer service could be directly integrated into websites.

He also reckons we could see web-cams tracking head movement to perform gestures or change font sizes, depending on distance. "Accessibility is definitely an exciting area of WebRTC," agrees Johnston. "We usually think of WebRTC as enabling communication between users on browsers, but it will likely also be used to generate new user interfaces for websites, besides the keyboard, assisting those with disabilities."

Dutton adds that "disruptive technologies transform our lives in unpredictable ways," too, noting that no-one would have predicted Ajax would lead to Google Maps. By way of example, he says Google's I/O developer conference saw Tethr unveiled, a framework for disaster communications that can run off a car battery and fit in a small briefcase: "It uses an OpenBTS mobile cell to enable communications between feature phones and computers via WebRTC. It's telephone communication without a carrier."

Latest in Internet
The logo of the social media app Bluesky is seen on the screen of a mobile phone
Bluesky gets a massive video upgrade to tempt X fans who are frustrated by its cyberattack outages
Quordle on a smartphone held in a hand
Quordle hints and answers for Thursday, March 13 (game #1144)
NYT Strands homescreen on a mobile phone screen, on a light blue background
NYT Strands hints and answers for Thursday, March 13 (game #375)
Quordle on a smartphone held in a hand
Quordle hints and answers for Wednesday, March 12 (game #1143)
NYT Strands homescreen on a mobile phone screen, on a light blue background
NYT Strands hints and answers for Wednesday, March 12 (game #374)
Twitter social media application change logo to X. Elon Musk CEO of twitter rebranded Twitter to 'X'. Social media application technology concept.
X is back – here's what we know about the 'massive cyberattack' that caused Twitter to go down multiple times
Latest in News
Elayne, Egwene, and Nynaeve dressed regally and on horseback in The Wheel of Time season 3
'There's a reason why we do it': The Wheel of Time showrunner responds to fans who are still upset over the Prime Video show's plot alterations
Google Pixel 9
Android 16 could bring an improved Samsung DeX-style desktop mode to more phones
An Nvidia GeForce RTX 4060 Ti
Nvidia could unleash RTX 5060 and 5060 Ti GPUs on PC gamers tomorrow, but there’s no sign of rumored RTX 5050 yet
AI writing
ChatGPT just wrote the most beautiful short story, and I wonder what I'm even doing here
Abstract image of robots working in an office environment including creating blueprint of robot arm, making a phone call, and typing on a keyboard
This worrying botnet targets unsecure TP-Link routers - thousands of devices already hacked
Windows 10 button on a keyboard
Microsoft’s Remote Desktop app becomes the Windows App