diff --git a/s/webrtc-from-chat/chatclient.js b/s/webrtc-from-chat/chatclient.js index 1adcacb..015b64d 100644 --- a/s/webrtc-from-chat/chatclient.js +++ b/s/webrtc-from-chat/chatclient.js @@ -433,7 +433,7 @@ function closeVideoCall() { myPeerConnection.oniceconnectionstatechange = null; myPeerConnection.onsignalingstatechange = null; myPeerConnection.onicegatheringstatechange = null; - myPeerConnection.onnotificationneeded = null; + myPeerConnection.onnegotiationneeded = null; // Stop the videos