Remove unused (and unsafe) function on the ConnectionStatusListener

This commit is contained in:
Cameron Gutman committed 2016-04-04 01:16:33 -04:00
1 parent fe58361724
commit a907dd0084
2 files changed
-6

No files matched your search

@@ -1,8 +1,6 @@
package com.limelight.nvstream.av; package com.limelight.nvstream.av;
public interface ConnectionStatusListener { public interface ConnectionStatusListener {
public void connectionTerminated();
public void connectionDetectedFrameLoss(int firstLostFrame, int nextSuccessfulFrame); public void connectionDetectedFrameLoss(int firstLostFrame, int nextSuccessfulFrame);
public void connectionSinkTooSlow(int firstLostFrame, int nextSuccessfulFrame); public void connectionSinkTooSlow(int firstLostFrame, int nextSuccessfulFrame);
@@ -655,10 +655,6 @@ public class ControlStream implements ConnectionStatusListener, InputPacketSende
} }
} }
public void connectionTerminated() {
abort();
}
private void resyncConnection(int firstLostFrame, int nextSuccessfulFrame) { private void resyncConnection(int firstLostFrame, int nextSuccessfulFrame) {
invalidReferenceFrameTuples.add(new int[]{firstLostFrame, nextSuccessfulFrame}); invalidReferenceFrameTuples.add(new int[]{firstLostFrame, nextSuccessfulFrame});
} }