可以回退到TURN的连接的预期百分比是多少? [英] What may be the expected percentage of connections that will fallback to TURN?

查看:297
本文介绍了可以回退到TURN的连接的预期百分比是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

说我已经建立了WebRTC视频聊天网站,握手后的某些连接(ICE候选对象)将直接进入p2p,一些将使用STUN服务器,而一些将使用最后一招" TURN服务器建立连接.与直接连接和STUN连接(免费)相比,基于TURN服务器的连接非常昂贵,因为所有流量实际上都必须通过TURN服务器.

Say I have built the WebRTC video chat website, some connections after the handshake (ICE Candidates) will go directly p2p, some will use the STUN server, and some will use the "last resort" the TURN server to establish the connection. TURN server based connection is very expensive compared to the direct connection and the STUN connection (which are free) because all traffic must actually go through the TURN server.

我们如何估计需要通过TURN进行连接的随机用户的连接百分比?想象一下,除了大多数人在美国之外,我们对预期的受众了解甚少.我认为这很难确定,但我目前的估计是介于1%到99%之间,这个范围太宽了,至少可以缩小范围吗?

How can we estimate the percentage of connections of random users that will need to to go via TURN? Imagine we know very little about the expected audience, except that the majority is in the US. I believe it must be difficult to figure, but my current estimation is somewhere beween 1% and 99%, which is just too wide, can this at least be narrowed down?

推荐答案

https://medium.com/the-making-of-appear-in/what-kind-of-turn-server-is-being-used-d67dbfc2ff5d has some numbers from appear.in which show around 20%. That is global statistics, the stats for the US might be different.

这篇关于可以回退到TURN的连接的预期百分比是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆