jtriley / pystun

A Python STUN client for getting NAT type and external IP
https://github.com/jtriley/pystun
MIT License
436 stars 154 forks source link

how set passwd and username #26

Closed hktalent closed 5 years ago

hktalent commented 5 years ago

how use: {'urls':'turn:turn.bistri.com:80?transport=udp','credential':'homeo','username':'homeo'}, {'urls':'turn:webrtcweb.com:4455','credential':'muazkh','username':'muazkh'}, {'urls':'stun:webrtcweb.com:7788?transport=udp','credential':'muazkh','username':'muazkh'}, {'urls':'turn:webrtcweb.com:7788','credential':'muazkh','username':'muazkh'},

{'urls':'turn:turn.anyfirewall.com:443?transport=tcp','credential':'webrtc','username':'webrtc'},