Comments (4)
I am receiving a error related with this:
** Packet: <<0,3,0,84,33,18,164,66,31,241,167,27,119,69,247,82,240,165,23,219,0,25,0,4,17,0,0,0,0,13,0,4,0,0,14,16,0,6,0,11,112,97,99,105,102,105,99,97,100,111,114,0,0,20,0,0,0,21,0,10,51,49,55,51,52,48,48,49,56,55,0,0,0,8,0,20,81,24,92,111,212,234,43,167,220,183,3,83,5,47,193,166,178,209,47,241,128,40,0,4,51,221,165,79>>
2017-08-08 15:45:19.201 [error] <0.439.0>@ejabberd_listener:udp_recv:356 failed to process UDP packet:
** Source: {{10,67,205,125}, 60652}
** Reason: {{badfun,undefined},[{stun,process,2,[{file,"src/stun.erl"},{line,232}]},{ejabberd_listener,udp_recv,3,[{file,"src/ejabberd_listener.erl"},{line,354}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}
But I set use_turn:
-
port: 3478
transport: udp
user_turn: true
turn_ip: "10.67.125.28"
module: ejabberd_stun
certfile: "/opt/ejabberd-16.03/conf/server.pem"
My client (JSXC) configs:
RTCPeerConfig: {
/** Time-to-live for config from url */
ttl: 3600,
/** [optional] If set, jsxc requests and uses RTCPeerConfig from this url */
url: null,
/** If true, jsxc send cookies when requesting RTCPeerConfig from the url above */
withCredentials: false,
/** ICE servers like defined in http://www.w3.org/TR/webrtc/#idl-def-RTCIceServer */
iceServers: [{
urls: 'turn:'+localStorage["JABBER_IP"]+':3478?transport=udp',
username: 'LOGIN',
credential: 'PASSWORD',
credentialType: 'password'
},{
urls: 'turn:'+localStorage["JABBER_IP"]+':3478?transport=tcp',
username: 'LOGIN',
credential: 'PASSWORD',
credentialType: 'password'
}]
}
PS: Ubuntu 16.04 - ejabberd 16.03
from stun.
@diegobill your snippet says user_turn
rather than use_turn
from stun.
@facundoolano , thanks, I passed to use https://github.com/coturn/coturn
from stun.
So, can this ticket be closed?
from stun.
Related Issues (15)
- allocate_udp_test failing HOT 2
- STUN/TURN Server to make video call
- lots of error_logger:info_msg logs HOT 2
- Error compiling with rebar3 HOT 8
- Failing test on Fedora Rawhide
- IPv6 for STUN HOT 1
- IPv6 for ICE HOT 3
- IPv6 for TURN HOT 2
- hex.pm documentation page for stun shows error message HOT 3
- Logging issues HOT 3
- STUN listener process leak
- Phoenix deps compile fast_tls issue on windows HOT 4
- no longer compiles with elixir 1.0.5 HOT 2
- Remove erlang:now deprecation warning with Erlang R18 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stun.