performance - How does BUNDLE help to improve webRTC connection/performance? By how much roughly?
问题描述
According to the doc here:
One obvious benefit of doing this is reducing the ICE negotiation time as the number of ICE candidates is reduced.
https://webrtcstandards.info/sdp-bundle/
BUNDLE is able to improve the performance. However, I fail to see how it can do so. Let's assume that this is the scenario I am in:
- Forced TURN x 2 on some URL's
80
and443
port - 1 to 1 connection. Let's not talk about conferencing situations.
- Starting from scratch: ICE tricking, sdp offer... all the way to media stream in.
- Audio and video goes 2 way.
I understand that bundle will mux audio and video into a single stream and send it over, so it can probably reduce the trickling time, at least by 1/2.
How about the part after sdp received by both parties and starts to send streams? Does it improve the connection time there too, compare to balance
mode?
解决方案
理论上,ICE 会调整用于连接检查的 stun 请求(隐藏在 RFC 5245 中的某处)。我强烈怀疑这是否有实际效果。
使用 bundle 的主要论点是您只需要在 NAT 中打一个洞,并且不会遇到音频打孔但视频没有打孔的奇怪情况。
推荐阅读
- chat - 电报聊天和欢迎消息
- url - IIS 10 URL Rewrite 2.1 无法重写为 asmx
- variables - 如何纠正因人而异的变量
- ios - 斯威夫特:在循环中画点
- node.js - NodeJS 和 Auth0 的 JWT 身份验证
- javascript - 如何使用数组中的值编辑具有相同类的 td 的所有值
- postgresql - PostgreSQL:在事务中检测到死锁 SELECT FOR UPDATE
- excel - 将相同的超链接粘贴到所有工作表
- sql - 2 条件 1 AND 语句
- azure-devops - 如何将 ASPNET Core 站点部署到 Azure Linux Web App(无容器)