diff --git a/config.js b/config.js index cbc6799b9b..47c9a8e297 100644 --- a/config.js +++ b/config.js @@ -76,9 +76,9 @@ var config = { // eslint-disable-line no-unused-vars 'During that time service will not be available. ' + 'Apologise for inconvenience.',*/ disableThirdPartyRequests: false, - // The minumum value a video's height or width can be, whichever is - // smaller, to be considered high-definition. - minHDSize: 540, + // The minumum value a video's height (or width, whichever is smaller) needs + // to be in order to be considered high-definition. + minHDHeight: 540, // If true - all users without token will be considered guests and all users // with token will be considered non-guests. Only guests will be allowed to // edit their profile. diff --git a/modules/UI/videolayout/LargeVideoManager.js b/modules/UI/videolayout/LargeVideoManager.js index 26ee4faf6c..4130cc5fd7 100644 --- a/modules/UI/videolayout/LargeVideoManager.js +++ b/modules/UI/videolayout/LargeVideoManager.js @@ -569,7 +569,7 @@ export default class LargeVideoManager { */ _updateVideoResolutionStatus() { const { height, width } = this.videoContainer.getStreamSize(); - const isCurrentlyHD = Math.min(height, width) >= config.minHDSize; + const isCurrentlyHD = Math.min(height, width) >= config.minHDHeight; APP.store.dispatch(setLargeVideoHDStatus(isCurrentlyHD)); }