问题描述
enter image description here 我正在尝试 kurento 的视频录制教程,但出现错误:getComplexType Not a function。有人可以帮助实现解决方案吗?
function setIceCandidateCallbacks(webRtcPeer,webRtcEp)
{
webRtcPeer.on('icecandidate',function(candidate) {
console.log("Local candidate:",candidate);
candidate = kurentoClient.getComplexType('IceCandidate')(candidate);
webRtcPeer.addIceCandidate(candidate)
});
webRtcEp.on('IceCandidateFound',function(event) {
var candidate = event.candidate;
console.log("Remote candidate:",candidate);
webRtcPeer.addIceCandidate(candidate);
});
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)