I have implemented rfc5766-turn-server and have it running on my own server.
in the app, i set :
pc_config = {"iceServers": [{"url":"turn:username@<turn_server_address>", "credential":"password"}]};
it seems to be working, but i have couple of questions:
1. is having the app set this way , with rfc5766-turn-server is enough to act as a TURN and also STUN server
or do i also need to run a stun server.
a turn server is also stun so will the rfc5766-turn-server function as a stun server (on most cases) and a turn server when needed?
2. for testing purposes it seems to work fine with the username and password given in the app, but eventually when the app is in production and have many users , do all users use the same username/password for the TURN server??
hope my question make sense...
Thanks