From 2373209834b8d227aca473ed8e44fcc4ffc0d970 Mon Sep 17 00:00:00 2001 From: nsunderland1 Date: Mon, 2 Nov 2020 19:47:18 -0500 Subject: [PATCH] Don't enable webcam on audio call startup (#4602) --- ts/services/calling.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ts/services/calling.ts b/ts/services/calling.ts index c3d752bd2e..8704b4903a 100644 --- a/ts/services/calling.ts +++ b/ts/services/calling.ts @@ -130,7 +130,10 @@ export class CallingClass { }); await this.startDeviceReselectionTimer(); - this.enableLocalCamera(); + + if (isVideoCall) { + this.enableLocalCamera(); + } } stopCallingLobby(): void {