Skip to content

Conversation

@nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented Jul 15, 2020

Bildschirmfoto von 2020-07-15 16-45-14

Use:

diff --git a/src/components/CallView/shared/LocalVideo.vue b/src/components/CallView/shared/LocalVideo.vue
index 317b113d0..cfacbb433 100644
--- a/src/components/CallView/shared/LocalVideo.vue
+++ b/src/components/CallView/shared/LocalVideo.vue
@@ -176,18 +175,21 @@ export default {
                },
 
                senderConnectionQualityAudioIsBad() {
+                       return true
                        return callAnalyzer
                                && (callAnalyzer.attributes.senderConnectionQualityAudio === CONNECTION_QUALITY.VERY_BAD
                                 || callAnalyzer.attributes.senderConnectionQualityAudio === CONNECTION_QUALITY.NO_TRANSMITTED_DATA)
                },
 
                senderConnectionQualityVideoIsBad() {
+                       return true
                        return callAnalyzer
                                && (callAnalyzer.attributes.senderConnectionQualityVideo === CONNECTION_QUALITY.VERY_BAD
                                 || callAnalyzer.attributes.senderConnectionQualityVideo === CONNECTION_QUALITY.NO_TRANSMITTED_DATA)
                },
 
                senderConnectionQualityScreenIsBad() {
+                       return true
                        return callAnalyzer
                                && (callAnalyzer.attributes.senderConnectionQualityScreen === CONNECTION_QUALITY.VERY_BAD
                                 || callAnalyzer.attributes.senderConnectionQualityScreen === CONNECTION_QUALITY.NO_TRANSMITTED_DATA)

to simulate

@marcoambrosini
Copy link
Member

Sorry for the commit mess @danxuliu 😅

@marcoambrosini marcoambrosini force-pushed the bugfix/3905/dedicated-connection-warning-icon branch from 1d1a1d7 to 9bc8ef4 Compare July 17, 2020 10:48
Copy link
Member Author

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When everything is disabled (and the message thing pops up), the tooltip is showing empty with a button with empty label.
Can we also just check if there is a message before showing the tooltip, or have a default message?

@marcoambrosini marcoambrosini force-pushed the bugfix/3905/dedicated-connection-warning-icon branch from 0bc6acf to d559613 Compare July 17, 2020 14:50
@danxuliu danxuliu force-pushed the bugfix/3905/dedicated-connection-warning-icon branch from d559613 to 6c0ed7c Compare July 20, 2020 11:48
danxuliu and others added 7 commits July 20, 2020 13:49
Instead of showing the quality warning tooltip only if it has not been
recently shown now the quality warning tooltip is always shown when
the quality warning is shown, except if the user has explicitly
dismissed it.

Signed-off-by: Marco Ambrosini <[email protected]>
@danxuliu danxuliu force-pushed the bugfix/3905/dedicated-connection-warning-icon branch from 6c0ed7c to b55d0b9 Compare July 20, 2020 11:54
@danxuliu
Copy link
Member

I have made some changes as discussed with @ma12-co (remove the dimming, as it was added to replace the icon, but as now there is an icon it is no longer needed; add a shadow to the quality warning icon; unify the tooltip messages (by reverting the split); other minor changes).

Copy link
Member

@danxuliu danxuliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and seems to work 👍

While testing the tooltip was shown again when screen sharing even after having dismissed it. I have no idea why and I have not been able to reproduce, it only happened once 🤷

@danxuliu danxuliu merged commit d475380 into master Jul 20, 2020
@danxuliu danxuliu deleted the bugfix/3905/dedicated-connection-warning-icon branch July 20, 2020 14:34
@danxuliu
Copy link
Member

/backport to stable19

@danxuliu
Copy link
Member

While testing the tooltip was shown again when screen sharing even after having dismissed it. I have no idea why and I have not been able to reproduce, it only happened once 🤷

The issue seems to be that the LocalVideo component is destroyed and created again when a screen is shared (it could be related to the number of participants, although I have not verified it), so the isQualityWarningTooltipDismissed attribute starts again with its default value, which is false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants