Skip to content

Conversation

@backportbot-nextcloud
Copy link

backport of #3839

danxuliu added 19 commits July 13, 2020 19:51
A high round trip time means that there is a delay in the connection,
which is in itself bad (specially in a conversation instead of in a
"monologue").

Besides that a delay in the connection can also cause that some packets,
even if they are not lost, are discarded anyway to try to keep the
playing rate in real time.

The round trip time is only available for sent data, but not received
data.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
Signed-off-by: Daniel Calviño Sánchez <[email protected]>
Currently "setScreenPeer" is only called with actual objects, never
null, but just in case for the future.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
This will allow to get those attributes from other objects, as well as
trigger an event when they are changed.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
Signed-off-by: Daniel Calviño Sánchez <[email protected]>
Signed-off-by: Daniel Calviño Sánchez <[email protected]>
If the quality was seen as very bad for a split second this showed and
quickly hidden again the quality warning, which is annoying as it may
not be possible to even read the tooltip. To mitigate that now the
quality warning is shown at least for 3 seconds before hiding it again.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
In some cases the warning could be repeteadly shown and hidden again. In
those cases showing the warning is fine, but showing the tooltip could
be annoying. Therefore now the tooltip is automatically shown only if
the warning has not been recently shown. In any case, the tooltip can
still be shown when hovering on the warning.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
The dimming amount is the same used when a participant is disconnected,
although in that case there will be also a loading spinner which is not
shown here.

The dimming is meant to replace the warning icon as a way to make the
user aware of an issue with the connection when the tooltip is hidden,
so an ARIA label is provided too.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
Now the warning about the connection quality is directly shown on the
buttons that enable/disable audio, video and screen instead of on a
different, disconnected element.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
Signed-off-by: Daniel Calviño Sánchez <[email protected]>
Before the warning tooltip about a bad connection quality was shown on
the button for the media that had the issue. Now the tooltip is shown
instead on the button for the media that could solve the issue. So, for
example, "Audio is bad, disable your video" before was shown on the
audio button, but now it is shown in the video button.

If only one type of media is being transmitted then the tooltip is shown
on the button for that media ("so "Audio is bad" is shown in the audio
button, as it is just an information but there is nothing that can be
done about it).

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
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 works 👍

@danxuliu danxuliu merged commit 3e02760 into stable19 Jul 14, 2020
@danxuliu danxuliu deleted the backport/3839/stable19 branch July 14, 2020 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants