From c37f8ba4c744bfa8d58a5f98a27821ecab00c653 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Tue, 31 Aug 2021 14:00:37 +0200 Subject: [PATCH] Make placeCalls public MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/webrtc/call.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webrtc/call.ts b/src/webrtc/call.ts index 4b6c7f013..2d29a6c8d 100644 --- a/src/webrtc/call.ts +++ b/src/webrtc/call.ts @@ -346,7 +346,7 @@ export class MatrixCall extends EventEmitter { * Place a voice call to this room. * @throws If you have not specified a listener for 'error' events. */ - async placeVoiceCall(): Promise { + public async placeVoiceCall(): Promise { logger.debug("placeVoiceCall"); this.checkForErrorListener(); const constraints = getUserMediaContraints(ConstraintsType.Audio); @@ -358,7 +358,7 @@ export class MatrixCall extends EventEmitter { * Place a video call to this room. * @throws If you have not specified a listener for 'error' events. */ - async placeVideoCall(): Promise { + public async placeVideoCall(): Promise { logger.debug("placeVideoCall"); this.checkForErrorListener(); const constraints = getUserMediaContraints(ConstraintsType.Video);