feat(small-video): add flag to hide connection indicators (#3225)

This commit is contained in:
virtuacoplenny 2018-07-06 08:24:38 -07:00 committed by GitHub
parent 3f3a957f40
commit afe7c4470d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -137,6 +137,13 @@ var interfaceConfig = {
*/
CONNECTION_INDICATOR_AUTO_HIDE_TIMEOUT: 5000,
/**
* If true, hides the connection indicators completely.
*
* @type {boolean}
*/
CONNECTION_INDICATOR_DISABLED: false,
/**
* The name of the application connected to the "Add people" search service.
*/

View File

@ -114,7 +114,8 @@ function SmallVideo(VideoLayout) {
* @private
* @type {boolean}
*/
this._showConnectionIndicator = true;
this._showConnectionIndicator
= !interfaceConfig.CONNECTION_INDICATOR_DISABLED;
/**
* Whether or not the dominant speaker indicator should be displayed.