FS-8839 - [verto_communicator] Fix screenshare when caller is transferred to another conference.

This commit is contained in:
Italo Rossi 2016-02-17 11:14:35 -03:00
parent 0bdf4b83da
commit a0841e8606
1 changed files with 9 additions and 1 deletions

View File

@ -105,7 +105,15 @@
verto.screenshareHangup();
return false;
}
verto.screenshare(storage.data.called_number);
if (verto.data.conf) {
console.log('Screenshare inside conferece: ', verto.data.conf);
// Setting the destination of the screenshare call as the conference
// number we last joined
verto.screenshare(verto.data.conf.params.laData.laName);
}
else {
verto.screenshare(storage.data.called_number);
}
};
function buildCanvasesData() {