mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 20:19:42 +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,10 +477,8 @@ public class PeerConnectionWrapper {
|
||||
|
||||
@Override
|
||||
public void onRemoveStream(MediaStream mediaStream) {
|
||||
if (!isMCUPublisher) {
|
||||
EventBus.getDefault().post(new MediaStreamEvent(null, sessionId, videoStreamType));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDataChannel(DataChannel dataChannel) {
|
||||
|
Loading…
Reference in New Issue
Block a user