我需要打开哪些防火墙端口才能使Sinch和WebRTC正常工作? [英] What firewall ports do I need to open to allow Sinch and WebRTC to work?

查看:357
本文介绍了我需要打开哪些防火墙端口才能使Sinch和WebRTC正常工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Sinch在Internet和各种NATed网络上一直表现出色.但是我只是在企业防火墙后面试用了该设备,突然之间我们无法拨打电话.

Sinch has been working just great over the internet and various NATed networks. But I've just tried the device behind an enterprise firewall, and suddenly we can't make calls.

更具体地说,设备可以互相呼叫,但是在调用onCall Establishmented(连接音频流)的那一刻,呼叫就中断了.从未听到来自远端的音频.它肯定只会在此特定网络上发生.

More specifically devices can call each other, but the moment onCallEstablished is called (audio streams are connected), the calls drop out. No audio from the remote end is ever heard. It definitely only happens on this particular network.

我假设这是防火墙问题,但不知道我们需要在此防火墙上打开哪些端口以允许语音呼叫?

I'm assuming that this is a firewall issue, but have no idea what ports we need to have opened on this firewall to allow the voice calls?

遇到此问题时,我在Chrome控制台中收到错误,例如Warning, no proxy configured (1) RTCPeerConnectionWarning, no proxy configured (2) RTCPeerConnection,希望这对您有所帮助.

Whilst experiencing this issue, I was receiving errors in the Chrome console like Warning, no proxy configured (1) RTCPeerConnection and Warning, no proxy configured (2) RTCPeerConnection, hope this helps.

推荐答案

  1. 您需要拥有DNS(通常不是问题)
  2. 您需要能够对我们的API使用http/https(通常也不是问题)
  3. 您需要将媒体(RTP,即UDP)发送到另一端.这有时可能会出现问题,尤其是在企业防火墙后面时.例如,我们使用STUN(端口3478),因此也需要打开. 如果我们不能对媒体使用p2p连接,我们将尝试通过媒体代理进行中继,并且在媒体代理上您可以获得一个介于10000-50000之间的端口用于该中继,因此恐怕您需要允许此端口进行出站流量.
  1. You need to have DNS (usually not a problem)
  2. You need to be able to use http/https towards our API's (usually not a problem either)
  3. You need to send media (RTP i.e UDP) to other side. This can be problematic sometime, especially if you are behind a enterprise firewall. For instance we use STUN (port 3478), so that also needs to be open. If we can't use a p2p connection for media, we will try to relay this via a media proxy and on the media proxy you can get a port between 10000 - 50000 to be used for that relay, so I'm afraid you need to allow this ports for outbound traffic.

这篇关于我需要打开哪些防火墙端口才能使Sinch和WebRTC正常工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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