Skip to content

Commit 56ea4b8

Browse files
committed
Make selectDesktopCapturerSource param optional
Signed-off-by: Šimon Brandner <[email protected]>
1 parent 0b7b35f commit 56ea4b8

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)