diff --git a/assets/js/components/calls/window.js b/assets/js/components/calls/window.js index 81101571..01d0a621 100644 --- a/assets/js/components/calls/window.js +++ b/assets/js/components/calls/window.js @@ -169,7 +169,7 @@ class CallWindow extends CustomEvents { // Sub-menu entries const menuEntries = [ - //Full screen button + // Full screen button { icon: "fa-expand", text: "Toggle fullscreen", @@ -179,6 +179,27 @@ class CallWindow extends CustomEvents { } }, + + // Share screen button + { + icon: "fa-tv", + text: "Share screen", + needVideo: true, + onclick: () => { + this.startStreaming(true, true) + } + }, + + // Share camera button + { + icon: "fa-video-camera", + text: "Share webcam", + needVideo: true, + onclick: () => { + this.startStreaming(true, false) + } + }, + ] //Add buttons