OpenAI, LLMs, WebRTC, voice bots and Programmable Video
Learn about WebRTC LLM and its applications. Discover how this technology can improve real-time communication using conversational AI.
Read MoreBoth.
VP8 and VP9 are video codecs developed and pushed by Google. Up until recently, we had only VP8 in Chrome's WebRTC implementation and now, we have both VP8 and VP9 codec. This lead me to several interesting conversations with customers around if and when to adopt VP9 - or should they use H.264 instead (but that's a story for another post). More recently, we've also seen discussions around AV1 vs HEVC in WebRTC.
This whole VP8 vs VP9 topic is usually misunderstood, so let me try to put some order in things.
First things first:
With that in mind, the following can be deduced:
You can use the migration to VP9 for one of two things (or both):
Let's check these two alternatives then.
If you are happy with the amount of bandwidth required by your service, then you can use the same amount of bandwidth but now that you are using VP9 and not VP8 - the quality of the video will be better.
When is this useful?
The other option is to switch to VP9 and strive to stay with the same quality you had with VP8. Since VP9 is more efficient, it will be able to maintain the same quality using less bitrate.
When is this useful?
There is some thing that is often missed. I used to know it about a decade ago and then forgot until recently, when I did the comparison between VP8 and VP9 in WebRTC on the network.
The standard practice in enterprise video conferencing is to never use more than you need. If you are trying to send a VGA resolution video, any reputable video conferencing system will not take more than 1 Mbps of bitrate - and I am being rather generous. The reason for that stems from the target market and timing.
Enterprise video conferencing has been with us for around two decades. When it started, a 1 mbps connection was but a dream for most. Companies who purchased video conferencing equipment needed (as they do today) to support multiple video conferencing sessions happening in parallel between their facilities AND maintain reasonable internet connection service for everyone in the office at the same time. It was common practice to reduce the internet connection for everyone in the company every quarter at the quarterly analyst call for example - to make sure bandwidth is properly allocated for that one video call.
Even today, most enterprise video conferencing services with legacy in their veins will limit the bitrate that WebRTC takes up in the browser - just because.
WebRTC was developed with internet thinking. And there, you take what you are given. This is why WebRTC deals less with maximum bandwidth and more with available bandwidth. You'll see it using VP8 with Chrome - it will take up 1.77 Mbps (!) when the camera source is VGA.
This difference means that without any interference on your part, WebRTC will lean towards improving the quality of your video experience when you switch to VP9.
One thing to note here - this all changes with backend media processing, where more often than not, you'll be more sensitive to bandwidth and might work towards limiting its amount on a per session basis anyway.
We haven't even discussed SVC here and it all looks like pure magic. You switch from VP8 and VP9 and life is beautiful.
Well... like all magic, VP9 also comes with a price. For start, VP9 isn't as stable as VP8 is yet. And while this is definitely about to improve in the coming months, you should also consider the following challenges:
This is a price I am willing to pay at times - it all depends on the use case in question.
Need to understand video codecs better? Here’s a free mini video course to help you with that.
Learn about WebRTC LLM and its applications. Discover how this technology can improve real-time communication using conversational AI.
Read MoreGet your copy of my ebook on the top 7 video quality metrics and KPIs in WebRTC (below).
Read More