Skip to content
Commit 43ebbd09 authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Fix screenshare not stopped in receiver participants with HPB



When the HPB is used, the "unshareScreen" message was sent only if the
own screen peer existed when "localScreenStopped" was handled. However,
the own screen peer is cleared when ended, which happens before the
handler for "localScreenStopped" was executed. Due to this the signaling
message was not sent and thus the other participants did not stop the
received screenshare.

Sending the message only if the own screen peer existed was just a
legacy check which is not really needed, so now the message is always
sent when "localScreenStopped" is handled.

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent e42bba70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment