mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 08:49:01 +00:00
FS-7509: add -screen to current ext when pressing the share button
This commit is contained in:
parent
16b752a957
commit
93b3a946ec
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user