lang="en-US"> Configure TURN server for webRTC with Firefox - Knoldus Blogs
Site icon Knoldus Blogs

Configure TURN server for webRTC with Firefox

Reading Time: < 1 minute

Initially, I was using turn server for webRTC in my application only with Chrome but later i got the requirement of using turn server with Firefox as well.

I tried to run my application on Firefox with the same code as for Chrome,but i was getting the below error :

Actually, as i mentioned in my previous blog Configure turn server for WebRTC on Amazon EC2 for configuring turn server that add below code in JavaScript file to use turn server:

Above code will run perfectly on Chrome but if you want to run on Firefox then change the above code as :

Above code will run for both Chrome and Firefox.

In older format, Firefox cannot find the username, and will not attempt to authenticate itself to the TURN server.

Cheers !

Exit mobile version