fix firefox complaining about missing args in setRemoteDescription()

pull/1/head
shane tully 2015-01-31 22:29:48 -08:00
parent fc8ae5aeda
commit 434b9a77b1
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ function gotMessageFromServer(message) {
if(signal.sdp) { if(signal.sdp) {
peerConnection.setRemoteDescription(new RTCSessionDescription(signal.sdp), function() { peerConnection.setRemoteDescription(new RTCSessionDescription(signal.sdp), function() {
peerConnection.createAnswer(gotDescription, createAnswerError); peerConnection.createAnswer(gotDescription, createAnswerError);
}); }, function(){}, function(){});
} else if(signal.ice) { } else if(signal.ice) {
peerConnection.addIceCandidate(new RTCIceCandidate(signal.ice)); peerConnection.addIceCandidate(new RTCIceCandidate(signal.ice));
} }