1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00
This commit is contained in:
Šimon Brandner
2021-04-08 11:15:07 +02:00

View File

@@ -369,7 +369,7 @@ export class MatrixCall extends EventEmitter {
* only works in Google Chrome and Firefox >= 44.</b> * only works in Google Chrome and Firefox >= 44.</b>
* @throws If you have not specified a listener for 'error' events. * @throws If you have not specified a listener for 'error' events.
*/ */
async placeScreenSharingCall(selectDesktopCapturerSource: () => Promise<DesktopCapturerSource>) { async placeScreenSharingCall(selectDesktopCapturerSource?: () => Promise<DesktopCapturerSource>) {
logger.debug("placeScreenSharingCall"); logger.debug("placeScreenSharingCall");
this.checkForErrorListener(); this.checkForErrorListener();
try { try {