diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2023-03-22 01:33:06 +0100 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-03-22 09:01:23 +0000 |
commit | efb95e97313529288c9b5c9d76406c025fd91f7b (patch) | |
tree | cf2df9c5eb32b835d25f49e60f02cfeca8af77f5 /l10n/es_CL.json | |
parent | 499d4fe50598cb3602b4121dcf3f260e19b0fad3 (diff) |
Fix RemoteVideoBlocker still active after removing its associated model
Once a CallParticipantModel is removed its associated RemoteVideoBlocker
should no longer block the remote video. Otherwise a deferred blocking
would be rejected by the HPB, as the remote peer is no longer available
or, even worse, it could be accepted and block the video of the remote
peer if it joined again since the original model was removed.
To solve that now the RemoteVideoBlocker is destroyed once its
associated model is removed, which causes the RemoteVideoBlocker to
ignore any further call on its methods. Note that the RemoteVideoBlocker
reference can not be nullified instead on the shared datas, as other
components, like the VideoView, expect a RemoteVideoBlocker to be always
available in its shared data. Internally ignoring further calls also
makes the code more robust than just externally guarding any possible
call.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'l10n/es_CL.json')
0 files changed, 0 insertions, 0 deletions