【发布时间】:2020-10-06 05:37:09
【问题描述】:
- “API 请求”端点无法连接到除“Initiate Call”之外的任何其他节点。
- “失败”端点无法连接到“播放音频” 等等……
这是我的端点定义代码:
let addEndpoints = function(toId, sourceAnchors, targetAnchors) {
console.log(toId, sourceAnchors, targetAnchors);
for (var i = 0; i < sourceAnchors.length; i++) {
var sourceUUID = toId + sourceAnchors[i];
instance.addEndpoint(toId, sourceEndpoint, {
anchor: sourceAnchors[i],
uuid: sourceUUID
});
}
for (var j = 0; j < targetAnchors.length; j++) {
var targetUUID = toId + targetAnchors[j];
instance.addEndpoint(toId, targetEndpoint, {
anchor: targetAnchors[j],
// anchor: 'Continuous',
uuid: targetUUID
});
}
};
有人可以帮忙吗?
【问题讨论】:
标签: javascript jquery vue.js jsplumb