Browse Source

fix: Specify defaults for electron sharing sources

tags/v0.0.2
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
 
117
 
118
             window.JitsiMeetScreenObtainer.openDesktopPicker(
118
             window.JitsiMeetScreenObtainer.openDesktopPicker(
119
                 {
119
                 {
120
-                    desktopSharingSources
120
+                    desktopSharingSources: desktopSharingSources || [ 'screen', 'window' ]
121
                 },
121
                 },
122
                 (streamId, streamType, screenShareAudio = false) =>
122
                 (streamId, streamType, screenShareAudio = false) =>
123
                     onGetStreamResponse(
123
                     onGetStreamResponse(

Loading…
Cancel
Save