Hello,
In the README.turnserver file, there are statements:
-a, --lt-cred-mech Use long-term credentials mechanism (this one you need for WebRTC usage).
--use-auth-secret TURN REST API flag.
Flag that sets a special WebRTC authorization option
that is based upon authentication secret.
WebRTC uses long-term authentication mechanism, so you have to use -a
option (or --lt-cred-mech). WebRTC relaying will not work with anonymous
access.
This is puzzling to me because WebRTC does not, to my knowledge, require any authorization mechanism. It does support such, of course, and generally it's a good idea to use some sort of authorization/authentication. But WebRTC itself actually
requiring one? Not so much.
I'm definitely not a WebRTC expert, only having recently begun work in this realm. But I have written a few apps that use WebRTC and done my development work without authentication, encryption, etc, etc (because security is not the point in day-to-day app programming and often poses a pain in the ass, though of course it is relevant within a final product).
So my question: Are the statements quoted above about WebRTC requiring particular authentication mechanisms --- or any mechanism at all --- literally correct? And if so, could someone point me at the WebRTC doc(s) that declare this?
Thank you very much for your time.