Connect to turn server on webrtc

23 views
Skip to first unread message

ardeshir ojan

unread,
May 15, 2024, 12:00:18 PMMay 15
to discuss-webrtc

I have been trying to connect to a Turn server for WebRtc in my application I have been told that the server only has a password and not a username.

when I do have a username and a password I use the below configuration and it works fine. but how should I connect to a turn server which only have a password/credential?

  iceServers': [ 

            { 'username': 'username',

                 'credential': 'password', 

                  'urls': [ 'stun:stun.*****.com',  'turn:turn.*****.com' ] } ]

Reply all
Reply to author
Forward
0 new messages