I have installed the server itself but have a few questions on configuration. Specifically, in the Coturn db, there is a table "turnusers_lt" with columns realm, name and hmackey.
There is another table turn_secret. This table has two columns realm and value. I am not very clear on the relationship between all these fields for authentication.
I understand that the password itself for a user is not stored in the clear.
I also see that turnadmin generates key by applying some HMAC function, default MD5, over (username, realm and password). I presume that that key is stored in the "turnusers" table. Is that correct?
When specifying config info in peerConnection, what is the "credential" field to be specified?
Where is the "value" field in the "turn_secret" table used? Is it used for computing message integrity as in hmac(value_in_turnsecret, MD5(username, realm, password))?
Where does the client get the "value" field from?
Any clarification would be greatly appreciated.