openvidu-server: store Runnable for KMS getStats thread

This commit is contained in:
pabloFuente 2020-04-01 14:58:26 +02:00
parent 10cb00ed10
commit 8eb4ce6610

View File

@ -93,7 +93,9 @@ public abstract class MediaEndpoint {
public String selectedLocalIceCandidate;
public String selectedRemoteIceCandidate;
public Queue<KmsEvent> kmsEvents = new ConcurrentLinkedQueue<>();
public Future<?> kmsWebrtcStatsThread;
public Runnable kmsWebrtcStatsRunnable;
public AtomicInteger statsNotFoundErrors = new AtomicInteger(0);
/**