mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 15:47:47 +00:00
fix(connection-stats) Do not display max enabled resolution on SS tile.
This commit is contained in:
@@ -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)`;
|
||||
|
||||
Reference in New Issue
Block a user