Browse Source

Fixed an issue where screen sharing is not started on a session which was already in the same conference before with already started screen sharing.

pull/129/head
Simon Eisenmann 11 years ago
parent
commit
ae0f27e89d
  1. 4
      static/js/directives/screenshare.js

4
static/js/directives/screenshare.js

@ -197,6 +197,10 @@ define(['jquery', 'underscore', 'text!partials/screenshare.html', 'text!partials
return; return;
} }
peers[peercall.id] = true; peers[peercall.id] = true;
peercall.e.one("closed", function(event, currentcall) {
delete peers[currentcall.id];
console.log("Removed closed call from screen sharing.", currentcall.id);
});
mediaStream.api.apply("sendScreenshare", { mediaStream.api.apply("sendScreenshare", {
send: function(type, data) { send: function(type, data) {
//console.log("sent screenshare", data, peercall); //console.log("sent screenshare", data, peercall);

Loading…
Cancel
Save