我对 xirsys 端点的请求如下所示:
$.ajax({
type: "POST",
dataType: "json",
url: "https://api.xirsys.com/getIceServers",
data: {
ident: "username",
secret: "secret_api_key",
domain: "dummy_subdomain.domain.com",
application: "default",
room: "default",
secure: 1
},
});
但是,即使用户名、密码和其他信息在仪表板中似乎是正确的xirsys
,我也会收到此错误:'Could not validate application'
.
你有什么主意吗 ?谢谢你。
好吧,我试过了,现在我得到了 200 状态,但不幸的是我得到了这个响应: {"p":"/getIceServers","s":200,"d":{"iceServers":[{"url" :"stun:127.0.0.1"},{"username":"free","url":"turn:127.0.0.1?transport=udp","credential":"free"},{"username":" free","url":"turn:127.0.0.1?transport=tcp","credential":"free"}]},"e":null} 我认为这是默认响应。
我能做错什么吗?