Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(connection-stats) Do not display max enabled resolution on SS tile.

Jaya Allamsettyb00a17c1c34f
diff --git a/react/features/connection-stats/components/ConnectionStatsTable.tsx b/react/features/connection-stats/components/ConnectionStatsTable.tsx
index efaded3f11..bb722fa235 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<IProps> {
* @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<IProps> {
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)`;