|
@@ -84,6 +84,12 @@ type Props = AbstractProps & {
|
84
|
84
|
*/
|
85
|
85
|
dispatch: Dispatch<any>,
|
86
|
86
|
|
|
87
|
+ /**
|
|
88
|
+ * Whether or not should display the "Save Logs" link in the local video
|
|
89
|
+ * stats table.
|
|
90
|
+ */
|
|
91
|
+ enableSaveLogs: boolean,
|
|
92
|
+
|
87
|
93
|
/**
|
88
|
94
|
* Whether or not clicking the indicator should display a popover for more
|
89
|
95
|
* details.
|
|
@@ -386,6 +392,7 @@ class ConnectionIndicator extends AbstractConnectionIndicator<Props, State> {
|
386
|
392
|
codec = { codec }
|
387
|
393
|
connectionSummary = { this._getConnectionStatusTip() }
|
388
|
394
|
e2eRtt = { e2eRtt }
|
|
395
|
+ enableSaveLogs = { this.props.enableSaveLogs }
|
389
|
396
|
framerate = { framerate }
|
390
|
397
|
isLocalVideo = { this.props.isLocalVideo }
|
391
|
398
|
maxEnabledResolution = { maxEnabledResolution }
|
|
@@ -440,7 +447,8 @@ export function _mapStateToProps(state: Object, ownProps: Props) {
|
440
|
447
|
const participant
|
441
|
448
|
= typeof participantId === 'undefined' ? getLocalParticipant(state) : getParticipantById(state, participantId);
|
442
|
449
|
const props = {
|
443
|
|
- _connectionStatus: participant?.connectionStatus
|
|
450
|
+ _connectionStatus: participant?.connectionStatus,
|
|
451
|
+ enableSaveLogs: state['features/base/config'].enableSaveLogs
|
444
|
452
|
};
|
445
|
453
|
|
446
|
454
|
if (conference) {
|