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

客户端架构和WebRTC

了解更多关于WebRTC的信息 流媒体东部.

See complete videos and other highlights from 流媒体西互联 on 流媒体的YouTube频道.

阅读这段视频的完整文本:

罗伯特•莱因哈特: Let's talk about client-side architecture issues that you might experience with WebRTC, 这是其他体系结构所没有的. 就像我说过的大多数传统应用一样, 那些牲畜拍卖, 还有葡萄酒拍卖, 它们都是RTMP, 只有TCP协议. 那是我们唯一的选择. TCP可能会随着时间的推移而开始延迟. 这并不是说RTMP没有问题, but when it came to ports and access to firewalls, 这是一个更简单的方程. 我记得所有这些. How many of you remember those issues when RTMP first came out? 当我在洛杉矶的Schematic工作时.A., 一家为迪士尼做项目的大公司, 美国广播公司, 和NBC, 总是, 如果有什么是基于rtmp的, some big-wig higher-up was behind some corporate firewall where RTMP wasn't coming through.

So, when they started to make the shift to HTTP streaming away from RTMP, 这产生了巨大的影响, 因为HTTP会通过大多数防火墙. Unless they were doing packet introspection and looking at exactly what was coming over that port and that protocol, 但WebRTC是TCP和UDP的混合体. UDP会给你最低的延迟. And if you don't have the proper TURN implementation, UDP can be problematic. If I'm on my cell phone and I'm behind some asymmetric net, then that could be problematic to be part of a WebRTC session that's in progress. 但TURN服务器有助于缓解这一问题. 但是,有些供应商不支持TURN. 这就是问题所在. So you want to make sure that you do your due diligence.

Vendor lock-in: WebRTC is a specification that has no single correct implementation. 我一会儿会讲到这个. I'm actually going to be highlighting some work that Dr. Alex Gouailliard haseen doing with some traction to move to a more consistent implementation, 至少从客户的角度来看是这样.

Adaptive bit rates--some browsers support simulcasts. And like I mentioned, already, VP8 SPC could be a future option. SVC in general, as a concept, could be an option. 如果我们开始看到它出来 ... You have to remember that WebRTC stems from original P2P concepts. 所以服务器, 如果他们参与其中的话, were just the stunned servers to negotiate the IP and clients could talk over P2P directly with each other.

Serverless infrastructures--if that's a requirement, then you're only going to have so many options when it comes to trying to get quality out to someone that can't receive that high quality, 你打算怎么做? Uh, you know, If your P2P's only one on one, you've got more options there. But if you're having P2P sessions that involve more than one person, 两方以上, 事情会变得复杂起来.

Camera and microphone access--this is just really more of a UX thing, 但是再一次, 你必须玩的东西, 就像flash应用程序一样. A lot of examples that you see out there that ship with WebRTC examples, you have to go into browser settings to change the camera and microphone. 当然,您可以在JavaScript中公开它, but it's just something that you're going to need to give attention to. Selecting the camera, selecting the microphone, adjusting their properties.

Flash有自己的学习曲线. I'm not going to say WebRTC is any more difficult, but it is one of my complaints. 我经常和客户一起工作, web devs and--don't take this the wrong way if you're one of those--that expect there to always be an SDK. But I had to do plenty of dev where there weren't real SDKs where things were made easy. You had to build things from the ground up and ActionScript. You had to work with native classes and build out your own thing.

And I'll talk a little bit about that in the future. I find that's probably one of the biggest pain points whenever I'm working with web devs and WebRTC, 这是媒体捕捉吗, 通过比特率获得所有正确的参数, 帧率. Getting those controls into place can be a big problem, only because it takes time. And if you're used to always having an SDK that makes things simple. And you're used to just, "Hey, I'm going to a web app developer. 我知道怎么做X Y和Z." And you started talking about media capture APIs with them. Then that's where special specialties will evolve, but if you need to hit the ground running and you don't have time to go through those learning curves, then that might influence your decision about how you're going to build your next WebRTC app.

流媒体覆盖
免费的
合资格订户
现在就订阅 最新一期 过去的问题
相关文章

webtc和低延迟流

Millicast Chief Revenue Officer Ryan Jespersen discusses how WebRTC reduces streaming latency in this clip from 流媒体 Connect 2022.

大规模测试Wowza的实时流媒体

Wowza's new ultra-low latency offering can deliver either an RTMP stream or a WebRTC stream, WebRTC超越了传统协议

未来是实时的,它从现在开始

Where and how does "real time" fit into your workflows in this "COVID and beyond" era? Similar to global wars accelerating advan­ces in medicine such as plastic surgery, COVID has pushed all of us working in streaming media to rethink, 创新, 优化, and rebuild many components of our day-to-day responsibilities. 

服务器端架构和WebRTC

VideoRx CTO 罗伯特•莱因哈特 discusses how using various server-side architectures with WebRTC is like to play out, 无论是公开课程, 商业/许可服务器, 或者云服务, 这段视频来自流媒体西部连接.

使用WebRTC进行一对多广播

VideoRx CTO 罗伯特•莱因哈特 discusses WebRTC's emergence as a low-latency option for one-to-many streaming, and the challenges of scaling it in this clip from his presentation at 流媒体西互联.