TURN服务器中的“领域"是什么?

编程入门 行业动态 更新时间:2024-10-09 16:30:55
本文介绍了TURN服务器中的“领域"是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想为我的WebRTC项目托管TURN服务器,但是我不知道'realm'属性的作用.我看过土星和介子,它们似乎都要求我输入.有人可以解释它是什么吗?

I want to host a TURN server for my WebRTC project, but I don't know what the 'realm' attribute does. I've looked at coturn and pion and they both seem to require me to enter this. Can someone explain what it is?

推荐答案

这是访问具有共同所有者"地址的一组地址的钥匙". 这是一种隔离措施:TURN服务器在其数据库中可以有一个默认领域"或多个命名领域". 每个领域都有自己的用户,并且每个用户都有适当的登录名/密码对,以标识访问和工作会话. 当然,登录到命名领域"的计算机实际上对属于其他领域的其他计算机不可见". 如果仅在所有用户使用相同登录名/密码(通常使用公共" TURN服务器)的情况下登录默认领域",则由于该原因,所有计算机也可以从不知名的计算机轻松访问所有计算机

It is a "key" to access a group of address that have a common "owner". It is an isolating measure: a TURN server can have one "default realms" or more "named realms" in its database. And any realm has its own users and each of them have a proper login/password couple to identify access and working sessions. Of course, computers which made a login into a "named realm" are virtually "invisible" to other which belongs to other realm. If you simply log in the "default realm" where all users use same login/passwd ( tipically with "public" TURN servers ) your machine can be reached by all computers in a easy way also from unkown machines for this reason the "realm" was a useful thing to have

...这就是所有.. :)

... and that is all .. :)

更多推荐

TURN服务器中的“领域"是什么?

本文发布于:2023-11-09 23:34:25,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1573750.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:器中   领域   TURN   quot

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!