Remove unused (and unsafe) function on the ConnectionStatusListener

This commit is contained in:
Cameron Gutman 2016-04-04 01:16:33 -04:00
parent fe58361724
commit a907dd0084
2 changed files with 0 additions and 6 deletions

View File

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

View File

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