[Freeswitch-users] help, with Verto - verto-min.js configuration
Arsen Manukyan
arsenman at connectto.com
Thu Apr 14 04:29:18 MSD 2016
Please help, with Verto - verto-min.js configuration
After changing username, password for STUN and TURN server looks like my
TURN server doesn't receive any messages form Webrtc phone
here is my config:
STUN={url:!moz?'stun:turn.mydomain.com:3478':'stun:204.174.104.38'};var
TURN={url:'turn:ars at tu
rn.mydomain.com:3478
<http://rn.mydomain.com:3478>',credential:'ars123'};var
iceServers=null;if(options.iceServers){var
tmp=options.iceServers;if(typeof(tmp)==
="boolean"){tmp=null;}
if(tmp&&!(typeof(tmp)=="object"&&tmp.constructor===Array)){console.warn("iceServers
must be an array, reverting to default ice serve
rs");tmp=null;}
iceServers={iceServers:tmp||[STUN]};if(!moz&&!tmp){if(parseInt(navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./)[2])>=28)TURN={u
rl:'turn:turn.mydomain.com:3478
<http://turn.mydomain.com:3478>',credential:'ars123',username:'ars'};
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160413/2ceaef55/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list