Skip to content

Commit 85992aa

Browse files
committed
fix-build errors
1 parent 43ae7ba commit 85992aa

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

modules/RTC/ScreenObtainer.ts

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff 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
*

0 commit comments

Comments
 (0)