diff --git a/src/components/CallView/shared/LocalMediaControls.vue b/src/components/CallView/shared/LocalMediaControls.vue index f22209e9c49..d68481bca8b 100644 --- a/src/components/CallView/shared/LocalMediaControls.vue +++ b/src/components/CallView/shared/LocalMediaControls.vue @@ -110,6 +110,18 @@ export default { type: Boolean, default: false, }, + qualityWarningAudioTooltip: { + type: Object, + default: null, + }, + qualityWarningVideoTooltip: { + type: Object, + default: null, + }, + qualityWarningScreenTooltip: { + type: Object, + default: null, + }, }, data() { @@ -140,6 +152,10 @@ export default { } } + if (this.qualityWarningAudioTooltip) { + return this.qualityWarningAudioTooltip + } + if (this.speakingWhileMutedNotification) { return { content: this.speakingWhileMutedNotification, @@ -196,6 +212,10 @@ export default { return t('spreed', 'No camera') } + if (this.qualityWarningVideoTooltip) { + return this.qualityWarningVideoTooltip + } + if (this.model.attributes.videoEnabled) { return t('spreed', 'Disable video (v)') } @@ -236,6 +256,10 @@ export default { return null } + if (this.qualityWarningScreenTooltip) { + return this.qualityWarningScreenTooltip + } + return (this.model.attributes.localScreen || this.splitScreenSharingMenu) ? t('spreed', 'Screensharing options') : t('spreed', 'Enable screensharing') }, diff --git a/src/components/CallView/shared/LocalVideo.vue b/src/components/CallView/shared/LocalVideo.vue index 3475f635e47..e1896552b17 100644 --- a/src/components/CallView/shared/LocalVideo.vue +++ b/src/components/CallView/shared/LocalVideo.vue @@ -21,7 +21,8 @@