Skip to content

Conversation

@backportbot-nextcloud
Copy link

backport of #5751

danxuliu added 3 commits June 14, 2021 12:47
Signed-off-by: Daniel Calviño Sánchez <[email protected]>
The stats needs to be reset when a peer connection starts. The stats
from the previous peer connection are unrelated to the new one, and that
will cause a wrong analysis until the stats are filled again with values
from the new peer connection.

Similarly, the stats should be reset too when a peer connection is
restarted. In this case the reported stats continue from the last
values. However, during the reconnection the stats will not be updated,
so the timestamps will suddenly increase once the connection is ready
again, which could cause a wrong analysis.

Due to all that now the stats are reset before the analysis is started,
as the analysis is started only when the peer connection is started or
restarted.

Note that right now the sender connections with the HPB are never
restarted; a new peer connection is always established. Nevertheless,
this approach should be more "future proof".

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
This is just for tidyness, as stats for screen streams only contain data
for video, and thus in practice this change makes no difference.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@backportbot-nextcloud backportbot-nextcloud bot added this to the 💕 Next Minor (21.1) milestone Jun 14, 2021
@nickvergessen nickvergessen merged commit 46b8662 into stable21.1 Jun 14, 2021
@nickvergessen nickvergessen deleted the backport/5751/stable21.1 branch June 14, 2021 13:55
@nickvergessen nickvergessen modified the milestones: 💕 Next Minor (21.1), 💚 Next Patch (21) Jun 25, 2021
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