coturn

WebRTC connection to TURN sequence

拟墨画扇 提交于 2021-01-20 13:11:03
问题 Is it possible to connect WebRTC peers to different TURN servers and then establish the connection between TURNs? So each peer connected to its own TURN server and then these TURNs connecting to each other 回答1: Yes this isn't a problem at all! For a TURN allocation you really have two entry points. The Server and Relay listener. WebRTC for the Curious also has a visualization here 来源: https://stackoverflow.com/questions/64469361/webrtc-connection-to-turn-sequence

WebRTC connection to TURN sequence

五迷三道 提交于 2021-01-20 13:09:14
问题 Is it possible to connect WebRTC peers to different TURN servers and then establish the connection between TURNs? So each peer connected to its own TURN server and then these TURNs connecting to each other 回答1: Yes this isn't a problem at all! For a TURN allocation you really have two entry points. The Server and Relay listener. WebRTC for the Curious also has a visualization here 来源: https://stackoverflow.com/questions/64469361/webrtc-connection-to-turn-sequence

【问题】搭建coturn服务器,google返回701错误??

蓝咒 提交于 2020-10-04 03:47:58
想请问下,搭建好coturn服务器,使用的阿里云ECS服务器, 测试地址:https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ 使用火狐浏览器就没有问题,但是用google虽然done,但是报701错误?360浏览器也报这个错?? Note: errors from onicecandidateerror above are not neccessarily fatal. For example an IPv6 DNS lookup may fail but relay candidates can still be gathered via IPv4. The server stun:47.95.XXX.XX:3478 returned an error with code=701: STUN server address is incompatible. 转中文:报错信息: 注意:上述onicecandidateerror错误不一定是致命的。 例如,IPv6 DNS查找可能会失败,但仍可以通过IPv4收集中继候选者。 服务器stun:47.95.XXX.XX:3478返回了错误,代码为701: 正常的火狐浏览器: google浏览器: 来源: oschina 链接: https://my

在ubuntu上实现基于webrtc的多人在线视频聊天服务

安稳与你 提交于 2020-08-16 19:27:15
最近研究webrtc视频直播技术,网上找了些教程最终都不太能顺利跑起来的,可能是文章写的比较老,使用的一些开源组件已经更新了,有些配置已经不太一样了,所以按照以前的步骤会有问题。折腾了一阵终于跑起来了,记录一下。 一个简单的聊天室html页面 这个页面使用simple-webrtc来实现webrtc的通讯,simple-webrtc是对几个webrtc核心对象的封装,所以使用这个会比较简单。 <!DOCTYPE html> <html> <head> <title>webrtc chat room </title> <style> video { height: 200px; width: 200px; border: 1px solid cornflowerblue; border-radius: 3px; margin: 10px; } </style> </head> <body> <div> roomid: <input id="roomid" type="text" value=""/> <input type="button" id="btnStart" value="join room"> </div> <div> nick name: <input id ="nickname" readonly="readonly" type = "text" value="">

Coturn AWS EC2 problems running

孤人 提交于 2020-07-23 06:28:31
问题 I'm trying to setup and run coturn TURN server on my EC2 instance which is on ubuntu. I have installed coturn package and trying to run the server using command line only and here is my command - sudo turnserver -a -syslog -o -n -u [My_Username]:[My_Password] -f -p 3478 -L [AWS_Internal_IP] -X [AWS_External_IP] -r [AWS_External_IP] -v --no-dtls --no-tls -—no-cli I get turnserver invalid option -- '?' and the server does not run. Please help. 回答1: You should configure coturn in config file (

在Ubuntu上部署一个基于webrtc的多人视频聊天服务

六眼飞鱼酱① 提交于 2020-05-08 23:46:10
最近研究webrtc视频直播技术,网上找了些教程最终都不太能顺利跑起来的,可能是文章写的比较老,使用的一些开源组件已经更新了,有些配置已经不太一样了,所以按照以前的步骤会有问题。折腾了一阵终于跑起来了,记录一下。 一个简单的聊天室html页面 这个页面使用simple-webrtc来实现webrtc的通讯,simple-webrtc是对几个webrtc核心对象的封装,所以使用这个会比较简单。 <!DOCTYPE html> <html> <head> <title>webrtc chat room </title> <style> video { height: 200px; width: 200px; border: 1px solid cornflowerblue; border-radius: 3px; margin: 10px; } </style> </head> <body> <div> roomid: <input id="roomid" type="text" value=""/> <input type="button" id="btnStart" value="join room"> </div> <div> nick name: <input id ="nickname" readonly="readonly" type = "text" value="">

Using coTurn TCP allocations with DataChannel

六眼飞鱼酱① 提交于 2020-03-20 16:59:40
问题 I have configured a coturn server which I need to use with DataChannel for a chat app. I am trying to reach a point where I can get the coturn server provide me with a tcp allocation. I am using the standard call of RTCPeerConnection in JS client, providing the turn URI, username and credentials. The transport I am providing in the URI params is TCP ?transport=tcp . With all this, I am always receiving a UDP allocation and the server logs ChannelBind requests (UDP based) Question: How can I

Using coTurn TCP allocations with DataChannel

南楼画角 提交于 2020-03-20 16:57:46
问题 I have configured a coturn server which I need to use with DataChannel for a chat app. I am trying to reach a point where I can get the coturn server provide me with a tcp allocation. I am using the standard call of RTCPeerConnection in JS client, providing the turn URI, username and credentials. The transport I am providing in the URI params is TCP ?transport=tcp . With all this, I am always receiving a UDP allocation and the server logs ChannelBind requests (UDP based) Question: How can I