Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable16] Fix peer creation for participants no longer in the call #2006

Merged
merged 2 commits into from
Jul 19, 2019

Conversation

backportbot-nextcloud[bot]
Copy link

backport of #2004

When the current participant lefts a call WebRTC is not properly
tore down; signaling events are still handled, so if an offer message is
received after leaving a call (which in general should not happen, but
in some strange cases it could) a new Peer object was created. Although
the proper fix would be to disconnect WebRTC and the signaling events
after leaving a call that would require deeper changes, so for now
offers received when not in a call are ignored.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
When a participant is not in the call a Peer object should not be
created for her; besides being incorrect, that would also create a
VideoView for that participant, which will basically stay there as a
ghost without never connecting to her. Due to this when a participant
leaves the call the delayed peer creation for that participant, if any,
has to be cancelled; otherwise once the timeout expires the peer would
be created with the issue just described.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@backportbot-nextcloud backportbot-nextcloud bot added bug feature: frontend 🖌️ "Web UI" client feature: signaling 📶 Internal and external signaling backends feature: WebRTC 🚡 WebRTC connection between browsers and/or mobile clients labels Jul 17, 2019
@backportbot-nextcloud backportbot-nextcloud bot added this to the 💙 Next Minor (16) milestone Jul 17, 2019
@nickvergessen nickvergessen mentioned this pull request Jul 19, 2019
3 tasks
@nickvergessen nickvergessen merged commit 3c97830 into stable16 Jul 19, 2019
@delete-merged-branch delete-merged-branch bot deleted the backport/2004/stable16 branch July 19, 2019 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release bug feature: frontend 🖌️ "Web UI" client feature: signaling 📶 Internal and external signaling backends feature: WebRTC 🚡 WebRTC connection between browsers and/or mobile clients
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants