尝试了 Vidyo 角度教程。遵循所有步骤,但最后当我调用连接方法时它失败了
$rootScope.vidyoConnector.Connect({
host: "prod.vidyo.io",// or using given host on my dashboard
token: 'TOKEN',
displayName: "demo",
resourceId: "demoroom",
onSuccess: ()=> {
// successful connection
console.log("successful connection");
},
onFailure: (reason)=> {
// failed to connect, check reason to find out why
console.log(reason);
},
onDisconnected: (reason)=> {
console.log('disc', reason);
// disconnected, this can be user triggered as well as error case
}
}).then((status) => {
if (status) {
console.error("ConnectCall pass",status);
} else {
console.error("ConnectCall Failed",status);
}
}).catch((err) => {
console.error("ConnectCall Failed",err);
});
https://vio-webrtc-sm001-prod-gcp-ap-sgp-a.prod.vidyo.io/transport
有效载荷
{
"destination":"VidyoClient",
"data":"VidyoConnectorConnect?c=25636624&host=sandbox.vidyo.io&token= <MYTOKEN>&displayName=demo&resourceId=demoroom",
"requestNum":2,
"session":"bdd25a3438d1"
}
回复 :
{"result":"ok","data":{"retValue":false}}
在我的 Vidyo 仪表板上找不到此使用日志。