mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-01 04:09:21 +00:00
Remove unneeded condition
The publisher peer connection when the HPB is used is a sender only connection, so it never adds or removes a remote stream. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
30aafed0e8
commit
64c4f8c7ee
@ -477,9 +477,7 @@ public class PeerConnectionWrapper {
|
||||
|
||||
@Override
|
||||
public void onRemoveStream(MediaStream mediaStream) {
|
||||
if (!isMCUPublisher) {
|
||||
EventBus.getDefault().post(new MediaStreamEvent(null, sessionId, videoStreamType));
|
||||
}
|
||||
EventBus.getDefault().post(new MediaStreamEvent(null, sessionId, videoStreamType));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user