Bladeren bron

Fixes code comment.

j8
paweldomas 11 jaren geleden
bovenliggende
commit
9d3aef2efa
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2
    2
      desktopsharing.js

+ 2
- 2
desktopsharing.js Bestand weergeven

@@ -1,4 +1,4 @@
1
-/* global $, config, connection, chrome, alert, getUserMediaWithConstraints, changeLocalVideo, getConferenceHandler */
1
+/* global $, alert, changeLocalVideo, chrome, config, connection, getConferenceHandler, getUserMediaWithConstraints, VideoLayout */
2 2
 /**
3 3
  * Indicates that desktop stream is currently in use(for toggle purpose).
4 4
  * @type {boolean}
@@ -283,9 +283,9 @@ function toggleScreenSharing() {
283 283
     }
284 284
     switchInProgress = true;
285 285
 
286
-    // Only the focus is able to set a shared key.
287 286
     if (!isUsingScreenStream)
288 287
     {
288
+        // Switch to desktop stream
289 289
         obtainDesktopStream(
290 290
             function (stream) {
291 291
                 // We now use screen stream

Laden…
Annuleren
Opslaan