hi
I have configured Coturn with a Postgre database.
When I set the default realm in config to webrtc.github.io and i set data in turnusers_lt table (realm=webrtc.github.io, name=usertest, hmackey=064d6ec58e429427ead436279ca474e3), everything works fine,
But when I comment out the default realm in the config file and set the turn_origin_to_realm table (origin=https://webrtc.github.io, realm=webrtc.github.io) , it does not work when i test it with https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice
Hi @khanbabaei
Try setting origin with https://webrtc.github.io:443 which is what admin tool would have done
The code compares/expects canonical format
Or try admin tool instead of setting manually in db
hi I have configured Coturn with a Postgre database. When I set the default realm in config to webrtc.github.io and i set data in turnusers_lt table (realm=webrtc.github.io, name=usertest, hmackey=064d6ec58e429427ead436279ca474e3), everything works fine, But when I comment out the default realm in the config file and set the turn_origin_to_realm table (origin=https://webrtc.github.io, realm=webrtc.github.io) , it does not work when i test it with https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice
Could you please tell me what I'm doing wrong?