Reputation: 51
i know there are not any free turn server available for webrtc , but i read that http://numb.viagenie.ca/ provide free turn server , so i sign up at there account and they gave me username and password.
and i use this username and password just like this
{
"urls":["turn:numb.viagenie.ca"],
"username": "[email protected]",
"credential": "password_which_i_provide_at_register_time"
}
i add this turn server in my code but it always gave me error turn server appears to be broken. can any one tell me what wrong in this?
and is anyone know free public turn server because i want it for final year project not production level.
Upvotes: 3
Views: 4393
Reputation: 18344
Not sure about free TURN servers
Probably you can try to use some Google TURN servers that they use here for testing https://test.webrtc.org/, I just checked for browser console and found this:
not sure about lifetime of these servers & credentials, but you can try and let us know
Also you can install your own TURN server https://github.com/coturn/coturn . For example buy a 5$ server on DigitalOcean https://www.digitalocean.com/pricing/ . This is very cheap
Upvotes: 4