Skip to content

Commit 12050b1

Browse files
authored
Merge pull request #1644 from SimonBrandner/fix-optional
Make selectDesktopCapturerSource param optional
2 parents cd38fb9 + 56ea4b8 commit 12050b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webrtc/call.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ export class MatrixCall extends EventEmitter {
372372
async placeScreenSharingCall(
373373
remoteVideoElement: HTMLVideoElement,
374374
localVideoElement: HTMLVideoElement,
375-
selectDesktopCapturerSource: () => Promise<DesktopCapturerSource>,
375+
selectDesktopCapturerSource?: () => Promise<DesktopCapturerSource>,
376376
) {
377377
logger.debug("placeScreenSharingCall");
378378
this.checkForErrorListener();

0 commit comments

Comments
 (0)