File tree Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change @@ -177,20 +177,6 @@ class ScreenObtainer {
177177 this . _electronSkipDisplayMedia = false ;
178178 }
179179
180- /**
181- * Initializes the function used to obtain a screen capture
182- * (this.obtainStream).
183- *
184- * @param {object } options
185- */
186- private init ( options : IScreenObtainerOptions = { } ) {
187- this . options = options ;
188-
189- if ( ! this . obtainStream ) {
190- logger . warn ( 'Desktop sharing not supported' ) ;
191- }
192- }
193-
194180 /**
195181 * Returns a method which will be used to obtain the screen sharing stream
196182 * (based on the browser type).
@@ -495,6 +481,22 @@ class ScreenObtainer {
495481 } ) ;
496482 }
497483
484+
485+ /**
486+ * Initializes the function used to obtain a screen capture
487+ * (this.obtainStream).
488+ *
489+ * @param {object } options
490+ * @internal
491+ */
492+ init ( options : IScreenObtainerOptions = { } ) {
493+ this . options = options ;
494+
495+ if ( ! this . obtainStream ) {
496+ logger . warn ( 'Desktop sharing not supported' ) ;
497+ }
498+ }
499+
498500 /**
499501 * Obtains a screen capture stream using getDisplayMedia.
500502 *
You can’t perform that action at this time.
0 commit comments