Skip to content
Snippets Groups Projects
Commit fe7c7fe6 authored by Mario Jr's avatar Mario Jr
Browse files

allow network stats information and copy button to be enabled in config file

parent 8997b68a
No related branches found
No related tags found
No related merge requests found
......@@ -413,6 +413,12 @@ class ConnectionStatusComponent extends PureComponent {
* @return {Object} The component to be renderized.
*/
renderNetworkData() {
const { enableNetworkStats } = Meteor.settings.public.app;
if (!enableNetworkStats) {
return null;
}
const {
audioLabel,
videoLabel,
......@@ -482,6 +488,12 @@ class ConnectionStatusComponent extends PureComponent {
* @return {Object} - The component to be renderized
*/
renderCopyDataButton() {
const { enableCopyNetworkStatsButton } = Meteor.settings.public.app;
if (!enableCopyNetworkStatsButton) {
return null;
}
const { intl } = this.props;
const { hasNetworkData } = this.state;
......
......@@ -90,6 +90,12 @@ public:
# https://developer.mozilla.org/en-US/docs/Web/API/RTCDtlsTransport/iceTransport
# This is an EXPERIMENTAL setting and the default value is false
# experimentalUseKmsTrickleIceForMicrophone: false
#
# Shows stats about download and upload rates, audio jitter, lost packets
# and turn information
enableNetworkStats: false
# Enable the button to allow users to copy network stats to clipboard
enableCopyNetworkStatsButton: false
defaultSettings:
application:
animations: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment