Hi everyone,
new and noob with turn-server, i am trying to create a working setup on my local machine (osx maverics) with a STUN-only setup.
I have build & installed turnserver as a user, using relative paths, so no superuser (system wide) installation.
I created a plain turnserver.conf file following all the guides and instructions, although not much is said about a STUN-only server, most of the guides are targeted at creating a TURN server... Here's my turnserver.conf:
When i point the Chrome browser to the stun server, i see no ICE candidates produced, and i read those lines in the server's log:
156: handle_turn_command: user <>: request BINDING processed, error 0
159: TURN connection closed (non-mobile pattern), user <>
166: handle_turn_command: user <>: request BINDING processed, error 0
169: TURN connection closed (non-mobile pattern), user <>
176: handle_turn_command: user <>: request BINDING processed, error 0
179: TURN connection closed (non-mobile pattern), user <>
So, apparently my setup does not work, that's one issue, and i have a few more noob questions for setting up a STUN-only server:
1. Is any of the auth schemes required for STUN-only to work? (long-term / short-term) i understand that they are required for TURN, but STUN?
1.2 So if an auth scheme is required, what other options do i need to activate? (realm for e.g.?)
2. Is any persistent storage required for STUN-only? I tried setting up redis, it kind worked but i have a few followup questions:
2.2 The default Connection string for redis requires a password and a dbname, if i have no password is it ok to omit the param? Redis has no concept of dbname, what value should be there?
3. Do i need to activate the mobility option for STUN-only?
Thank you