Browse Source

Don't add dummy remote streams if call is closed.

pull/294/head
Joachim Bauch 9 years ago
parent
commit
ee1f73ba40
  1. 2
      static/js/directives/audiovideo.js

2
static/js/directives/audiovideo.js

@ -354,7 +354,7 @@ define(['jquery', 'underscore', 'text!partials/audiovideo.html', 'text!partials/ @@ -354,7 +354,7 @@ define(['jquery', 'underscore', 'text!partials/audiovideo.html', 'text!partials/
mediaStream.webrtc.e.on("statechange", function(event, iceConnectionState, currentcall) {
if (!$scope.haveStreams) {
if (!$scope.haveStreams || currentcall.closed) {
return;
}

Loading…
Cancel
Save