Browse Source

Also add dummy streams to streams mapping.

pull/168/head
Simon Eisenmann 11 years ago
parent
commit
2c583de0c8
  1. 3
      static/js/directives/audiovideo.js

3
static/js/directives/audiovideo.js

@ -108,9 +108,8 @@ define(['jquery', 'underscore', 'text!partials/audiovideo.html', 'text!partials/
// Add created scope. // Add created scope.
if (stream === dummy) { if (stream === dummy) {
subscope.dummy = true; subscope.dummy = true;
} else {
streams[id] = subscope;
} }
streams[id] = subscope;
// Render template. // Render template.
peerTemplate(subscope, function(clonedElement, scope) { peerTemplate(subscope, function(clonedElement, scope) {

Loading…
Cancel
Save