mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-21 04:29:45 +01: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
|
@Override
|
||||||
public void onRemoveStream(MediaStream mediaStream) {
|
public void onRemoveStream(MediaStream mediaStream) {
|
||||||
if (!isMCUPublisher) {
|
EventBus.getDefault().post(new MediaStreamEvent(null, sessionId, videoStreamType));
|
||||||
EventBus.getDefault().post(new MediaStreamEvent(null, sessionId, videoStreamType));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user