-->
Save your FREE seat for 流媒体 Connect this August. 现在注册!

How to Scale with WebRTC

See more videos from 流媒体 East Connect on the 流媒体 YouTube channel.

Learn more about WebRTC at 流媒体西部 2020.

Read the complete transcript of this clip:

克里斯·艾伦: The thing that people will usually tell you is that WebRTC doesn't scale. And that's absolutely true. If you look at it from a traditional standpoint, it was originally built as a peer-to-peer protocol, which inherently doesn't scale well. But what we do is we use cloud instances. As you can see in this diagram, we've got origin instances. On AWS there'd be EC2 instances. The incoming streams go into origins, they get fanned out to edges, and then subscribers are connecting to those edges. 然后, to get a massive concurrency, we put relays in the middle, which allows extra capacity one origin would be able to handle on its own. This is how you can get millions of concurrent viewers using cloud.

The brains of the operations is this thing called the Stream Manager, which is routing the streams. Broadcasters connect to it, and get assigned an origin. 订阅rs connect to it, and get assigned an edge to subscribe to that stream. And it takes care of auto-scaling. It can move up and down and add instances as needed depending on the load.

We also have a unique approach to ABR. Our system will actually re-react and send the correct data down based on this REMB message, which is happening over the WebRTC protocol. And probably more interesting is that we can actually leverage multiple cloud systems to get a really nice global coverage. So if one cloud provider is not gonna cover the regions you're looking to hit, then you can mix and match them. And we do this using Terraform, which is kind of this general API. It allows you to tap into just about any cloud network, which also includes private networks. So you can have your private cloud connecting to public cloud for excess capacity and everything else.

流媒体覆盖
免费的
for qualified subscribers
现在就订阅 最新一期 过去的问题
相关文章

The Streaming Toolbox: Valossa, Signiant, and Red5 Pro

这个月, we look at tools for content recognition, 文件传输, and low-latency WebRTC streaming

What's Next for WebRTC in 2020

CosMo Software Consulting Founder & 首席执行官博士. Alex Gouaillard rolls out predictions for WebRTC technology in 2020 in this clip from his Video Engineering Summit presentation at 流媒体 East 2019.

WebRTC Deployment Basics

CosMo Software Consulting Founder & 首席执行官博士. Alex Gouaillard discusses the non-realtimeness of WebRTC encoders and how Netflix and others compensate on the decoding end in this clip from his Video Engineering Summit presentation at 流媒体 East 2019.

SME '19: Red5 Pro’s Chris Allen Talks WebRTC and Ultra-Low- Latency Streaming at Scale

流媒体's Tim Siglin and Red5 Pro CEO Chris Allen discuss peer-to-peer, WebRTC, and sub-500ms latency at million-streams scale on the show floor at 流媒体 East 2019.

SME 2018: Red5 Pro's Chris Allen Talks Ultra-Low Latency Large-Scale Streaming

流媒体 contributing editor Tim Siglin interviews Red5 Pro CEO & Co-Founder Chris Allen at 流媒体 East 2018.

Companies and Suppliers Mentioned