问题描述
我正在尝试使用RTCQuicTransport
在QUIC中实现对等连接。我已经创建了ice候选人和quic实例。同时创建了ice和quic,但是在函数onstatechange
上,它引发了“失败”错误
const quic1 = new RTCQuicTransport(ice1);
const quic2 = new RTCQuicTransport(ice2);
quic1.onstatechange = function() {
console.log('QUIC transport 1 state change',quic1.state); // QUIC transport 1 state change Failed
if (quic1.state === 'connected' && !sendStream) {
sendStream = quic1.createStream('webrtchacks');
document.getElementById('sendButton').disabled = false;
document.getElementById('sendChannel').disabled = false;
}
}
我希望将其连接,请任何人提出任何解决方案。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)