- mongodb - 在 MongoDB mapreduce 中,如何展平值对象?
- javascript - 对象传播与 Object.assign
- html - 输入类型 ="submit"Vs 按钮标签它们可以互换吗?
- sql - 使用 MongoDB 而不是 MS SQL Server 的优缺点
我刚刚下载了一个视频聊天项目。它使用 STUN 服务器并指定 URL stun:23.21.150.121
。我如何使用自己的服务器而不是 STUN 服务器?我必须输入什么来代替这个 URL?
最佳答案
其实没有必要设置自己的 STUN 或 TURN 服务器,因为有很多公共(public)/半公共(public)服务器。来自 Google 的 STUN 并不总是很有效。
这是我最新验证的列表(不要忘记 stun:/turn: 在 URL 中的方案):
{url:'stun:stun01.sipphone.com'},
{url:'stun:stun.ekiga.net'},
{url:'stun:stun.fwdnet.net'},
{url:'stun:stun.ideasip.com'},
{url:'stun:stun.iptel.org'},
{url:'stun:stun.rixtelecom.se'},
{url:'stun:stun.schlund.de'},
{url:'stun:stun.l.google.com:19302'},
{url:'stun:stun1.l.google.com:19302'},
{url:'stun:stun2.l.google.com:19302'},
{url:'stun:stun3.l.google.com:19302'},
{url:'stun:stun4.l.google.com:19302'},
{url:'stun:stunserver.org'},
{url:'stun:stun.softjoys.com'},
{url:'stun:stun.voiparound.com'},
{url:'stun:stun.voipbuster.com'},
{url:'stun:stun.voipstunt.com'},
{url:'stun:stun.voxgratia.org'},
{url:'stun:stun.xten.com'},
{
url: 'turn:numb.viagenie.ca',
credential: 'muazkh',
username: 'webrtc@live.com'
},
{
url: 'turn:192.158.29.39:3478?transport=udp',
credential: 'JZEOEt2V3Qb0y27GRntt2u2PAYA=',
username: '28224511:1379330808'
},
{
url: 'turn:192.158.29.39:3478?transport=tcp',
credential: 'JZEOEt2V3Qb0y27GRntt2u2PAYA=',
username: '28224511:1379330808'
}
https://gist.github.com/yetithefoot/7592580
关于node.js - 如何自托管不依赖 WebRTC STUN 服务器 stun.l.google.com :19302?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20068944/
我需要的是,我将打开一个UDP服务器,在X端口(本地机器)和一个机器(公共(public)IP)中监听 可以发送 UDP 数据包给我。我的机器没有公共(public) IP。基本上我需要stun。 我
我正在查看 webrtc.html 和 peerconnection_server 演示,它在两个 Chrome 浏览器之间运行良好。我的问题是, webkitPeerConnection 的第一个参
我刚刚下载了一个视频聊天项目。它使用 STUN 服务器并指定 URL stun:23.21.150.121。我如何使用自己的服务器而不是 STUN 服务器?我必须输入什么来代替这个 URL? 最佳答案
我了解 STUN 和 TURN 服务器的用途以及它们在 WebRTC 中的用途,但我不完全明白: 如果我作为WebRTC客户端已经登录使用WebRTC服务,那么该服务不是已经拥有我的公共(public
我正在尝试使用一些全局可用的 STUN 服务器,以便它们可以告诉我我的 NAT 映射,以便使用 UDP 遍历 NAT。服务器位于此网页上: http://www.tek-tips.com/faqs.c
我正在编写一个 RTP 中继,但遇到了一个问题。 基于libnice threaded example我编写了软件部分使用 STUN 连接到在 chrome 中运行的 javascript。 基本上这
我在没有基本服务器的情况下对 p2p 通信进行了一些研究,并且研究了 STUN。从我读过的内容来看,STUN 是一种 NAT“打洞”方式,不需要对等端进行端口转发即可连接。这是正确的,打洞究竟是什么意
我想弄清楚如何测试 STUN/TURN 服务器是否处于事件状态并正确响应连接。理想情况下,此测试将从外部机器执行,以防万一 STUN/TURN 机器在这种情况下关闭,连接测试也应报告。 过去有人调查过
(async function() { var iceServers = [{ urls: ["stun:stun.l.google.com:19302"] }]; var p
我目前正在尝试通过 Internet 发送 UDP 消息,并且必须为端点 A 和 B(都位于 NAT 后面)设置防火墙。为此,我想使用 STUN 服务器进行打洞。 当 A 创建对 STUN 服务器的请
假设我们正在使用启用了 WebRTC 的 Asterisk。当我们尝试在不同网络上的两台主机之间建立连接时,我们需要使用STUN 服务器可以正确确定其公共(public)地址,以防它们位于 NAT 之
Java,我试图编写自己的 STUN 客户端,但似乎我犯了错误,因此,大多数时候它被卡住了。所以我想知道哪些 STUN 客户端库可用于 Java,以便开始。 跟进:(同时尝试跟进,仍然没有涉及NAT/
我已经阅读了 RFC 5389 和 RFC 5245 以及更新的 RFC 8445。我了解 STUN 如何返回服务器反身地址或中继地址。请求被发送到 STUN 服务器。 我的基本问题是关于使用 STU
我已经安装了 TURN 服务器,服务器代码中的一切工作正常。日志文件中没有错误。只是一个警告说明 0: WARNING: I cannot support STUN CHANGE_REQUEST f
我刚刚开始学习用于实现音频和视频应用程序的 WebRTC,并且知道有各种公共(public) stun 服务器可用于对等连接。但是我有点困惑我可以将这些公共(public)服务器用于商业应用程序吗?
我有自己的 ubuntu 19 服务器。 注意:我需要一个用于视频聊天 Web 应用程序的 stun/turn 服务器。如果两个设备都在同一个网络中,它已经可以工作了。 我已经成功安装并配置了cotu
我决定创建自己的 STUN 服务器,并将其与以下 JS 库一起使用 https://simplewebrtc.com 。 我决定使用这个:http://www.stunprotocol.org/ 我已
以下是来自此 GitHub 项目的引用 STUN IP Address requests for WebRTC . These request results are available to Jav
我正在为我的 WebRTC 应用程序(构建在 mediasoup 之上)传递一些 STUN 和 TURN 服务器。当我这样做时,我在控制台中收到一条消息,告诉我:“使用两个以上的 STUN/TURN
我的 Activity 中有 ProgressBar,它一直在旋转。我正在尝试连接到可用的网页 -我使用输入流 InputStream input = new URL(url).openStream(
我是一名优秀的程序员,十分优秀!