https://github.com/coturn/rfc5766-turn-server/
2. Deployed in a local server inside root path
3. While running ./configure found an issue as ,
ERROR: Libevent2 development libraries are not installed properly in required location
I've checked for the issue, which said Libevent2 by default present in Fedora OS but not in Cent OS , which I am using.
For Cent OS Libevent2 need to be installed manually.
4. Manual Installation i did by downloading libevent-2.0.22-stable.tar.gz from http://libevent.org/
and installing in the path /usr/ports/devel/libevent2/
I've run ./configure -- > Make --> Make Install .
libevent2 installed properly without any error.
5. Again tried to run ./configure of Turnserver, Which was error free but 1 warning was there
HIREDIS DEVELOPMENT LIBRARY (libhiredis.*) AND/OR HEADERS (hiredis/*.h)
ARE NOT INSTALLED PROPERLY ON THIS SYSTEM.
THAT'S OK BUT THE TURN SERVER IS BUILDING WITHOUT REDIS SUPPORT.
This message i have ignored as i'm not sure if it will be an issue & installed Turn Server by Make & Make Install Command.
Turn Server Got Installed .
6. Created a configuration file ,
/etc/turnserver.conf & added the below , with a random port 5555. (not sure if this way it will work)
#setting static accounts
# Remember, "static" accounts are not dynamically checked by the turn server process.
user=username:password
# listen ports
listening-port=3478
listening-ip=loacl private ip of server where turn is running
7. I've tried to Run The TURN Server with the below command
turnserver -X <Public.Ip of server> -a -b turnuserdb.conf -f -r null
8. I've modified the script (call.htm) of my SIPML5 ( like http://sipml5.org/call.htm?svn=230 this page i've my own designed page) client page in this way
// **** Begin Abhisek Modified for using own TURN Server ****
//window.localStorage.setItem('org.doubango.expert.ice_servers', "[{ url: 'stun:stun.l.google.com:19302'}]");
window.localStorage.setItem('org.doubango.expert.ice_servers', "[{ url: 'turn:<private ip>:<3478>'}]");
// **** End Abhisek Modified for using own TURN Server ****
Can you guys give some more suggestion if this all way is proper ??? Or do i need to have some more different setup for having my own TURn server ??
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/6dd0fa60-5470-4bf6-a888-8e5aca11c9a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/5f764c5b-8d62-4164-b285-a167d48207b7%40googlegroups.com.
Are these wifi's on different subnets? I.e. routing is required between them? --- YES , wifi's are under different subnets most probably as i'm calling from one client under one wifi of a country to other client under other wifi of another country.
if you want your clients to reach the turn server via public internet -- I'm starting my turn server services using -X <public ip of turn server> optionThe only thing is my turn server is behind NAT instead of in public internet.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/5a70093b-6c54-458d-90f4-8c0a74f67b37%40googlegroups.com.