英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论