mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 15:47:47 +00:00
fix(connection-stats) fix rendering codec information
Ref: https://github.com/jitsi/lib-jitsi-meet/pull/2143
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
6e3b3879cc
commit
f5fc524030
@@ -8,7 +8,7 @@ import { translate } from '../../../base/i18n';
|
||||
import { MEDIA_TYPE } from '../../../base/media';
|
||||
import { getLocalParticipant, getParticipantById, isScreenShareParticipant } from '../../../base/participants';
|
||||
import { connect } from '../../../base/redux';
|
||||
import { getSourceNameByParticipantId, getTrackByMediaTypeAndParticipant } from '../../../base/tracks';
|
||||
import { getTrackByMediaTypeAndParticipant } from '../../../base/tracks';
|
||||
import { ConnectionStatsTable } from '../../../connection-stats';
|
||||
import { saveLogs } from '../../actions';
|
||||
import {
|
||||
@@ -131,17 +131,7 @@ type Props = AbstractProps & {
|
||||
/**
|
||||
* Invoked to obtain translated strings.
|
||||
*/
|
||||
t: Function,
|
||||
|
||||
/**
|
||||
* The source name of the track.
|
||||
*/
|
||||
_sourceName: string,
|
||||
|
||||
/**
|
||||
* Whether source name signaling is enabled.
|
||||
*/
|
||||
_sourceNameSignalingEnabled: boolean
|
||||
t: Function
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -224,7 +214,6 @@ class ConnectionIndicatorContent extends AbstractConnectionIndicator<Props, Stat
|
||||
resolution = { resolution }
|
||||
serverRegion = { serverRegion }
|
||||
shouldShowMore = { this.state.showMoreStats }
|
||||
sourceNameSignalingEnabled = { this.props._sourceNameSignalingEnabled }
|
||||
transport = { transport }
|
||||
videoSsrc = { this.props._videoSsrc } />
|
||||
);
|
||||
@@ -354,9 +343,7 @@ export function _mapStateToProps(state: Object, ownProps: Props) {
|
||||
_isConnectionStatusInterrupted,
|
||||
_isVirtualScreenshareParticipant: sourceNameSignalingEnabled && isScreenShareParticipant(participant),
|
||||
_isLocalVideo: participant?.local,
|
||||
_region: participant?.region,
|
||||
_sourceName: getSourceNameByParticipantId(state, participantId),
|
||||
_sourceNameSignalingEnabled: sourceNameSignalingEnabled
|
||||
_region: participant?.region
|
||||
};
|
||||
|
||||
if (conference) {
|
||||
|
||||
Reference in New Issue
Block a user