WebRTC:setRemoteDescription抛出错误

时间:2016-06-07 13:25:58

标签: webrtc

我一直在使用WebRTC的开源(Muaz Khan' s)库之一。以下错误在以下代码行中引发:

.first()

以下是错误消息:

peer.setRemoteDescription(new RTCSessionDescription(remoteSdp), cb || function() {}, function(error) {
   if (!!connection.enableLogs) {
     console.error(JSON.stringify(error, null, '\t'), '\n', remoteSdp.type, remoteSdp.sdp);
   }
 });

首先,SDP是否有效,是否可能导致错误?

0 个答案:

没有答案