Browse Source

fix: Specify defaults for electron sharing sources

dev1
Jaya Allamsetty 5 years ago
parent
commit
a0ade9f9e9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/RTC/ScreenObtainer.js

+ 1
- 1
modules/RTC/ScreenObtainer.js View File

@@ -117,7 +117,7 @@ const ScreenObtainer = {
117 117
 
118 118
             window.JitsiMeetScreenObtainer.openDesktopPicker(
119 119
                 {
120
-                    desktopSharingSources
120
+                    desktopSharingSources: desktopSharingSources || [ 'screen', 'window' ]
121 121
                 },
122 122
                 (streamId, streamType, screenShareAudio = false) =>
123 123
                     onGetStreamResponse(

Loading…
Cancel
Save