Skip to content

Conversation

@backportbot-nextcloud
Copy link

@backportbot-nextcloud backportbot-nextcloud bot commented Jun 18, 2021

⚠️ This backport had conflicts and is incomplete ⚠️

backport of #5779

@backportbot-nextcloud backportbot-nextcloud bot added this to the 💕 Next Minor (21.1) milestone Jun 18, 2021
@nickvergessen
Copy link
Member

Let's wait until we tested it on our instance

@nickvergessen nickvergessen changed the base branch from stable21.1 to stable21 June 25, 2021 11:29
@nickvergessen nickvergessen changed the title [stable21.1] Add UI feedback when local participant is not connected [stable21] Add UI feedback when local participant is not connected Jun 25, 2021
@nickvergessen nickvergessen modified the milestones: 💕 Next Minor (21.1), 💚 Next Patch (21) Jun 25, 2021
danxuliu added 4 commits July 2, 2021 13:42
When the MCU is used there will be a sender peer connection (the so
called "own peer"). The ICE connection state of that peer connection is
now exposed in LocalCallParticipantModel in the same way as in
CallParticipantModel. However, unlike the CallParticipantModel, the
LocalCallParticipantModel is always set and the peer object set or unset
on it as needed; if there is no peer object set the connection state
will not be set.

When the MCU is not used there is no sender peer connection (nor any
other peer associated to the LocalCallParticipantModel), so in that case
the connection state attribute will not be set either.

Besides that some logs were also added for the ICE connection state
changes of the own peer, similar to the logs already present for the
peer connection of the other participants.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
Signed-off-by: Daniel Calviño Sánchez <[email protected]>
This will be needed to show a loading icon on the wrapper, as it is not
possible to show it directly on the video.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
When the connection with other participants is lost those participants
are shown dimmed and with a loading spinner. However, when the MCU is
used that only covers receiving audio and video from those participants.
Other participants can not hear or see the local participant until the
sender peer object has connected. Therefore now the local video / avatar
is dimmed and shows a loading spinner like done with the remote
participants when the sender peer object is not connected.

Note that when the MCU is used the sender participant will always
reconnect, so there is no separate "isLoading" property like the one
used for remote participants (which, moreover, is needed only when the
MCU is not used).

When the MCU is not used the connections are peer to peer between
partipants, so the already existing dimming and loading spinner on the
remote participants views already show whether those participants can
hear and see the local participant or not.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@danxuliu danxuliu force-pushed the backport/5779/stable21.1 branch from 60567ec to 1c20294 Compare July 2, 2021 17:38
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 👍

I have rebased it on stable21 and fixed the conflicts so it is ready to merge once it has been tested in our instance.

@nickvergessen nickvergessen merged commit ab929d8 into stable21 Jul 7, 2021
@nickvergessen nickvergessen deleted the backport/5779/stable21.1 branch July 7, 2021 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug feature: call 📹 Voice and video calls feature: frontend 🖌️ "Web UI" client

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants