Rajesh GS Posted December 1, 2020 Share Posted December 1, 2020 Hi How do I change or set my own TURN server in the Antimedia Enterprise Cluster? The wiki mentions creating a turn installation server - but it doesn't have information on how to set or change the AMS? Any help appreciated Regards Link to comment Share on other sites More sharing options...
0 Enes Kuluk Posted December 1, 2020 Share Posted December 1, 2020 You can enable TURN server for publishing and playing pages. For instance on your publishing page(/usr/local/antmedia/webapps/WebRTCAppEE/index.html), there is pc_config JavaScript variable like this: var pc_config = { 'iceServers' : [ { 'urls' : 'stun:stun.l.google.com:19302' } ] };You can just change its value according to your TURN configuration like below: var pc_config = { iceServers: [ { urls: "turn:{TURN_SERVER_URL}", username: "{TURN_SERVER_USERNAME}", credential: "{TURN_SERVER_PASS}", } ] }; Best Regards, Enes. Link to comment Share on other sites More sharing options...
Question
Rajesh GS
Link to comment
Share on other sites
Top Posters For This Question
1
1
Popular Days
Dec 1
2
Top Posters For This Question
Rajesh GS 1 post
Enes Kuluk 1 post
Popular Days
Dec 1 2020
2 posts
1 answer to this question
Recommended Posts