From 2c583de0c88668544724d83d1761126f8b39d61d Mon Sep 17 00:00:00 2001 From: Simon Eisenmann Date: Wed, 28 Jan 2015 18:16:39 +0100 Subject: [PATCH] Also add dummy streams to streams mapping. --- static/js/directives/audiovideo.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/static/js/directives/audiovideo.js b/static/js/directives/audiovideo.js index 0b7bc4cc..3ba32abb 100644 --- a/static/js/directives/audiovideo.js +++ b/static/js/directives/audiovideo.js @@ -108,9 +108,8 @@ define(['jquery', 'underscore', 'text!partials/audiovideo.html', 'text!partials/ // Add created scope. if (stream === dummy) { subscope.dummy = true; - } else { - streams[id] = subscope; } + streams[id] = subscope; // Render template. peerTemplate(subscope, function(clonedElement, scope) {