gpt4 book ai didi

javascript - 无法在 Firefox 上发送 Tokbox "signals"

转载 作者:行者123 更新时间:2023-11-28 01:06:27 26 4
gpt4 key购买 nike

我可以在 Chrome v36 上使用 Tokbox 发送“信号”,即短信,但不能在 Firefox v32 上发送。

不幸的是,Tokbox 的 JS 库 TB.min.js 已缩小,因此我无法轻松找出问题所在。这是我看到的错误:

no element found ClientEvent:1

TypeError: c is undefined TB.min.js:331

TB.min.js第331行:

c.updateStream(a,b,d)}.bind(this),destroyStream:function(a){c.destroyStream(a)}.bind(this)};this.signal=function(a,b){c.signal(a,b)};

最佳答案

刚刚在 Firefox 和 Chrome 上测试了 OpenTokRTC 聊天(100% 使用 OpenTok 构建),它们似乎可以正常工作 enter image description here

以下是 OpenTokRTC 如何使用信令进行聊天的示例代码:https://github.com/opentok/OpenTokRTC/blob/master/public/js/room.js#L297

关于javascript - 无法在 Firefox 上发送 Tokbox "signals",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25023365/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com