-
Notifications
You must be signed in to change notification settings - Fork 452
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
Media capture is not stopped when failing to leave a call #4571
Comments
Not sure if related but something that happened to me once or twice was when leaving the company call the UI showed as if I had left but I could still hear people talking, so it "failed to leave" somehow. Next time it happens I'll open the debugger... |
Note that you may have successfully left too. It could have been that your audio buffers had accumulated some latency so they were still playing by PulseAudio (not the browser), or that the UI was updated before the WebRTC connections were fully closed. |
Not sure if it was the buffers because the audio really lasted many more seconds until I hit page refresh. I'll keep an eye on this. In any case, if it's the WebRTC connection still being there, we should sync up the UI to that somehow... |
@danxuliu should we maybe as a hardening measure call the "leaving call" code path whenever the CallView is getting destroyed ? This way we don't need to think about all cases where that view might be disappearing. |
Mmm, that might have some undesirable side effect, as the call view sometimes gets destroyed and recreated while in a call. For example, in those cases in which there is a bit of lag of the status received from the server when starting a call and the chat view briefly appears again. |
Then |
I found other scenarios where the camera is not ungrabbed after being kicked out as participant:
There might be more. Let me know if related at all with this ticket or requires a different one. @danxuliu |
Just a question, is this still a thing, or can we close it? |
The original issue as well as the scenario mentioned by Vincent about locking a conversation are no longer reproducible (they were probably fixed by #7799). The scenario about deleting a conversation is still reproducible for guests when using the HPB; I have opened a specific issue for that here: #7962 |
Although the specific steps below are a regression introduced in Talk 9 with the handling of conflicts between sessions the issue is unrelated to that. It could be tested too by forcing errors when leaving a call by adding
return new DataResponse([], Http::STATUS_NOT_FOUND);
toCallController::leaveCall
How to test
Expected result
The browser stops audio and video capture.
Actual result
The browser is still capturing audio and video, even if the UI no longer shows the call.
The text was updated successfully, but these errors were encountered: