I know the topic was closed in 2012, 10 years have passed. Still smack jingle has less support or documentation. Their official github link gives 404 not found. link. I am developing a chat application which must include voice and video calling. My ejabberd.yml contains below configurations.
-
port: 3478
transport: udp
module: ejabberd_stun
use_turn: true
auth_realm: 192.168.0.100
turn_min_port: 49152
turn_max_port: 65535
turn_ipv4_address: 192.168.0.100
-
port: 5349
transport: tcp
module: ejabberd_stun
use_turn: true
auth_realm: 192.168.0.100
tls: true
turn_min_port: 49152
turn_max_port: 65535
## ip, turn_ipv4_address should be host ip
ip: 0.0.0.0
turn_ipv4_address: 192.168.0.100
Ejabberd has jingle support, I don't know if this configuration is right or wrong or how can I connect to turn/stun server of my server for video or audio calling. I really can use some instructions.
I used peerjs as alternative but it is slow and can not switch between speaker and earpiece. I want to switch to jingle as I already have ejabberd.