Chepko Danil - Fotolia
Part one of this Ask the Expert response discusses the two factors that influence Web Real-Time Communications performance. In part two, our expert Tsahi Levent-Levi will explain how to measure these factors to ensure the performance of WebRTC services.
In many ways, measuring WebRTC performance is similar to measuring the performance of any other voice-over-IP-related protocol. The underlying media transport protocol used by WebRTC is the same one used for other VoIP-related protocols. WebRTC uses Secure Real-Time Transport Protocol for its media transport, and most VoIP services also use STRP to send encrypted media.
When measuring WebRTC performance, you should focus on two factors: percentage of successful session connections and media quality.
Successfully connecting WebRTC sessions
The percentage of successful session connections can be attributed to two factors: the application's signaling doing what it should and interactive connectivity establishment (ICE) in WebRTC.
WebRTC does not have signaling technology built into it, but signaling can affect whether sessions connect. Check the configuration of the signaling protocol you chose for your WebRTC application to check its connectivity.
WebRTC uses ICE negotiation in order to connect an SRTP stream from one device to another, be it browsers, applications or media servers. ICE figures out the best available option for connecting these devices based on the current location, the devices and their network makeup. At times, ICE will connect the devices through the Traversal Using Relay NAT protocol, while other times it will use a peer-to-peer connection.
You'll want to measure how often failures occur. Failures can result from signaling connection issues, ICE failures or receiving only one-sided media.
Using media quality to support WebRTC performance
The next thing to check in relation to WebRTC performance is the media quality, which is affected by the network. The leading quality metrics to consider are bitrate, jitter, latency and packet loss. This information can be gleaned from Real-Time Transport Control Protocol, which is part of how SRTP works.
As a rule of thumb, when packet loss, jitter and latency are higher, media quality will be lower. Lower bitrate can also result in lower media quality.
Different scoring methods can be used to measure quality. Mean opinion score is the most common method, though it can be inaccurate. Sometimes, you will want to dig deeper and analyze the media stream itself to measure quality.
Do you have a question for Tsahi Levent-Levi or any other experts? Ask your enterprise-specific questions today! (All questions are treated anonymously.)
Dig Deeper on Business Video Conferencing and Telepresence Technology
Related Q&A from Tsahi Levent-Levi
CPaaS use cases change from industry to industry. In healthcare, better patient care and streamlined processes are the main focus for CPaaS ... Continue Reading
Instead of SMS two-factor authentication, some companies are switching to 2FA through messaging apps and social media platforms. Learn what's behind ... Continue Reading
Most embedded communications use cases focus on customer-facing interactions. Learn how to evaluate the use cases that would benefit from embedding ... Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.