FS-7509: add -screen to current ext when pressing the share button

This commit is contained in:
Anthony Minessale 2015-02-18 20:26:07 -06:00 committed by Michael Jerris
parent 16b752a957
commit 93b3a946ec
1 changed files with 2 additions and 2 deletions

View File

@ -557,9 +557,9 @@ function doshare(on) {
console.log("Attempting Screen Capture...."); console.log("Attempting Screen Capture....");
getScreenId(function (error, sourceId, screen_constraints) { getScreenId(function (error, sourceId, screen_constraints) {
share_call = verto.newCall({ share_call = verto.newCall({
destination_number: $("#ext").val(), destination_number: $("#ext").val() + "-screen",
caller_id_name: $("#name").val() + " (Screen)", caller_id_name: $("#name").val() + " (Screen)",
caller_id_number: "screen", caller_id_number: $("#cid").val() + " (screen)",
videoParams: screen_constraints.video.mandatory, videoParams: screen_constraints.video.mandatory,
useVideo: true, useVideo: true,
screenShare: true screenShare: true