Browse Source

Moved CPU overuse detection from experimental to extendend settings and enabled it by default.

pull/176/head
Simon Eisenmann 11 years ago
parent
commit
1a65a5a880
  1. 4
      static/js/controllers/mediastreamcontroller.js
  2. 23
      static/partials/settings.html

4
static/js/controllers/mediastreamcontroller.js

@ -145,6 +145,7 @@ define(['jquery', 'underscore', 'angular', 'bigscreen', 'moment', 'sjcl', 'moder @@ -145,6 +145,7 @@ define(['jquery', 'underscore', 'angular', 'bigscreen', 'moment', 'sjcl', 'moder
defaultRoom: "",
language: "",
audioRenderToAssociatedSkin: true,
videoCpuOveruseDetection: true,
experimental: {
enabled: false,
audioEchoCancellation2: true,
@ -152,8 +153,7 @@ define(['jquery', 'underscore', 'angular', 'bigscreen', 'moment', 'sjcl', 'moder @@ -152,8 +153,7 @@ define(['jquery', 'underscore', 'angular', 'bigscreen', 'moment', 'sjcl', 'moder
audioNoiseSuppression2: true,
audioTypingNoiseDetection: true,
videoLeakyBucket: true,
videoNoiseReduction: false,
videoCpuOveruseDetection: true
videoNoiseReduction: false
}
}
};

23
static/partials/settings.html

@ -203,6 +203,18 @@ @@ -203,6 +203,18 @@
</div>
</div>
<div class="form-group" ng-show="isChrome">
<label class="col-xs-4 control-label">{{_('Detect CPU over use')}}</label>
<div class="col-xs-8">
<div class="checkbox">
<label>
<input type="checkbox" ng-model="user.settings.videoCpuOveruseDetection"/>&nbsp;
</label>
<span class="help-block">{{_('Automatically reduce video quality as needed.')}}</span>
</div>
</div>
</div>
<div ng-show="user.settings.experimental.enabled">
<div class="form-group" ng-show="isChrome">
@ -227,17 +239,6 @@ @@ -227,17 +239,6 @@
</div>
</div>
<div class="form-group" ng-show="isChrome">
<label class="col-xs-4 control-label">{{_('Detect CPU over use')}}</label>
<div class="col-xs-8">
<div class="checkbox">
<label>
<input type="checkbox" ng-model="user.settings.experimental.videoCpuOveruseDetection"/>&nbsp;
</label>
</div>
</div>
</div>
</div>
<div class="form-group" ng-show="isChrome">

Loading…
Cancel
Save