Browse Source

Fixes code comment.

master
paweldomas 11 years ago
parent
commit
9d3aef2efa
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      desktopsharing.js

+ 2
- 2
desktopsharing.js View File

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

Loading…
Cancel
Save