From 410b5e98536e55c8fd80fba11862e5ffca96b858 Mon Sep 17 00:00:00 2001 From: Alexey Kucherenko Date: Tue, 12 Nov 2013 03:31:35 +0400 Subject: [PATCH] fixed typo in event name --- lib/webrtc.io.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/webrtc.io.js b/lib/webrtc.io.js index 7c1a8e8..b01ee4c 100644 --- a/lib/webrtc.io.js +++ b/lib/webrtc.io.js @@ -241,7 +241,7 @@ if (navigator.webkitGetUserMedia) { rtc.onClose = function(data) { rtc.on('close_stream', function() { - rtc.fire('close_stream', data); + rtc.fire('close stream', data); }); };