多个URL的ICEServer与多个ICEServer之间的区别是什么?

huangapple go评论73阅读模式
英文:

What is the difference between an iceserver with multiple urls and multiple iceservers?

问题

以下是翻译好的部分:

"我理解IceServers在进行ICE时可以进行配置,这是一个服务器列表。而这个列表中的每个服务器也可以配置多个URL。

那么以下两种情况的具体区别是什么?

{
	iceServers: [
		{ 
			urls: [
                "turn:aturn.com?transport=udp", 
                "turn:aturn.com?transport=tcp"
            ]
		}
	]
}

和以下的情况:

{
	iceServers: [
		{
			urls: ["turn:aturn.com?transport=udp"]
		},
		{
			urls: ["turn:aturn.com?transport=tcp"]
		}
	]
}

非常感谢!"

英文:

As I understand it, IceServers can be configured when doing ICE, which is a server list. And each Server in this list can also be configured with multiple URLs.

So what is the specific difference between these two cases as follows?

{
	iceServers: [
		{ 
			urls: [
                "turn:aturn.com?transport=udp", 
                "turn:aturn.com?transport=tcp"
            ]
		}
	]
}

and such as the following:

{
	iceServers: [
		{
			urls: ["turn:aturn.com?transport=udp"]
		}.
		{
			urls: ["turn:aturn.com?transport=tcp"]
		}
	]
}

Thank you very much!

答案1

得分: 2

没有区别。libWebRTC的ParseIceServers函数,目前在Chrome和Safari中使用,将前者转换为后者。

英文:

There is no difference. libWebRTCs ParseIceServers which is used in Chrome and Safari currently translates the former to the latter.

huangapple
  • 本文由 发表于 2023年6月1日 08:53:37
  • 转载请务必保留本文链接:https://go.coder-hub.com/76378057.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定