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>
@@ -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));
}