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); }); };