diff --git a/src/webrtc/call.ts b/src/webrtc/call.ts index a9c8799cd..371b3036b 100644 --- a/src/webrtc/call.ts +++ b/src/webrtc/call.ts @@ -372,7 +372,7 @@ export class MatrixCall extends EventEmitter { async placeScreenSharingCall( remoteVideoElement: HTMLVideoElement, localVideoElement: HTMLVideoElement, - selectDesktopCapturerSource: () => Promise, + selectDesktopCapturerSource?: () => Promise, ) { logger.debug("placeScreenSharingCall"); this.checkForErrorListener();