Coturn credentials and testing
·1 min
I used static-auth-secret
to setup my Coturn instance. So, as per this, I can run the following to generate credentials:
secret=staticAuthSecretHere
u=$((`date +%s` + 3600)):test
p=$(echo -n $u | openssl dgst -hmac $secret -sha1 -binary | base64)
echo -e "username: $u\npassword: $p"
Then, test here: icetest.
There is also this, but I found the previous better: Trickle ICE:
- URI format:
stun:turn.ketanvijayvargiya.com:5349
. - A Done at the end means the test succeeded.