From b00a17c1c34f30bd77bab577272cbeea77aedc18 Mon Sep 17 00:00:00 2001 From: Jaya Allamsetty <54324652+jallamsetty1@users.noreply.github.com> Date: Thu, 10 Nov 2022 15:55:08 -0500 Subject: [PATCH] fix(connection-stats) Do not display max enabled resolution on SS tile. --- .../connection-stats/components/ConnectionStatsTable.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react/features/connection-stats/components/ConnectionStatsTable.tsx b/react/features/connection-stats/components/ConnectionStatsTable.tsx index efaded3f1..bb722fa23 100644 --- a/react/features/connection-stats/components/ConnectionStatsTable.tsx +++ b/react/features/connection-stats/components/ConnectionStatsTable.tsx @@ -637,7 +637,7 @@ class ConnectionStatsTable extends Component { * @returns {ReactElement} */ _renderResolution() { - const { resolution, maxEnabledResolution, t, videoSsrc } = this.props; + const { isVirtualScreenshareParticipant, maxEnabledResolution, resolution, t, videoSsrc } = this.props; let resolutionString = 'N/A'; if (resolution && videoSsrc) { @@ -646,7 +646,7 @@ class ConnectionStatsTable extends Component { if (width && height) { resolutionString = `${width}x${height}`; - if (maxEnabledResolution && maxEnabledResolution < 720) { + if (maxEnabledResolution && maxEnabledResolution < 720 && !isVirtualScreenshareParticipant) { const maxEnabledResolutionTitle = t('connectionindicator.maxEnabledResolution'); resolutionString += ` (${maxEnabledResolutionTitle} ${maxEnabledResolution}p)`;