From b2d3f863579602c160dd3c5c628cf0875775d243 Mon Sep 17 00:00:00 2001 From: Timo K Date: Tue, 19 Sep 2023 11:55:19 +0200 Subject: [PATCH] start by disabeling the audioOutput selector Signed-off-by: Timo K --- src/room/GroupCallView.tsx | 3 ++- src/settings/SettingsModal.tsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/room/GroupCallView.tsx b/src/room/GroupCallView.tsx index 6a8c9333..6278e8ce 100644 --- a/src/room/GroupCallView.tsx +++ b/src/room/GroupCallView.tsx @@ -224,7 +224,8 @@ export function GroupCallView({ leaveRTCSession(rtcSession); if (widget) { - // we need to wait until the callEnded event is tracked. Otherwise the iFrame gets killed before the callEnded event got tracked. + // we need to wait until the callEnded event is tracked on posthog. + // Otherwise the iFrame gets killed before the callEnded event got tracked. await new Promise((resolve) => window.setTimeout(resolve, 10)); // 10ms widget.api.setAlwaysOnScreen(false); PosthogAnalytics.instance.logout(); diff --git a/src/settings/SettingsModal.tsx b/src/settings/SettingsModal.tsx index 39c3789a..bb7bf3b6 100644 --- a/src/settings/SettingsModal.tsx +++ b/src/settings/SettingsModal.tsx @@ -132,7 +132,7 @@ export const SettingsModal = (props: Props) => { } > {generateDeviceSelection(devices.audioInput, t("Microphone"))} - {generateDeviceSelection(devices.audioOutput, t("Speaker"))} + {/* {generateDeviceSelection(devices.audioOutput, t("Speaker"))} */} );