fix firefox complaining about missing args in setRemoteDescription()
parent
fc8ae5aeda
commit
434b9a77b1
|
|
@ -50,7 +50,7 @@ function gotMessageFromServer(message) {
|
|||
if(signal.sdp) {
|
||||
peerConnection.setRemoteDescription(new RTCSessionDescription(signal.sdp), function() {
|
||||
peerConnection.createAnswer(gotDescription, createAnswerError);
|
||||
});
|
||||
}, function(){}, function(){});
|
||||
} else if(signal.ice) {
|
||||
peerConnection.addIceCandidate(new RTCIceCandidate(signal.ice));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue