From 9d3aef2efa17e7c2749524ac5c3206c67975dc28 Mon Sep 17 00:00:00 2001 From: paweldomas Date: Fri, 28 Nov 2014 16:15:29 +0100 Subject: [PATCH] Fixes code comment. --- desktopsharing.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktopsharing.js b/desktopsharing.js index 1b2f0fcba..86028666e 100644 --- a/desktopsharing.js +++ b/desktopsharing.js @@ -1,4 +1,4 @@ -/* global $, config, connection, chrome, alert, getUserMediaWithConstraints, changeLocalVideo, getConferenceHandler */ +/* global $, alert, changeLocalVideo, chrome, config, connection, getConferenceHandler, getUserMediaWithConstraints, VideoLayout */ /** * Indicates that desktop stream is currently in use(for toggle purpose). * @type {boolean} @@ -283,9 +283,9 @@ function toggleScreenSharing() { } switchInProgress = true; - // Only the focus is able to set a shared key. if (!isUsingScreenStream) { + // Switch to desktop stream obtainDesktopStream( function (stream) { // We now use screen stream