openvidu-server: MediaEndpoint AtomicInteger for stats not found error

pull/419/head
pabloFuente 2020-03-30 01:32:59 +02:00
parent 60fca4021c
commit 19a7c778da
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@ import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.Future;
import java.util.concurrent.atomic.AtomicInteger;
import org.kurento.client.BaseRtpEndpoint;
import org.kurento.client.Continuation;
@ -93,6 +94,7 @@ public abstract class MediaEndpoint {
public String selectedRemoteIceCandidate;
public Queue<KmsEvent> kmsEvents = new ConcurrentLinkedQueue<>();
public Future<?> kmsWebrtcStatsThread;
public AtomicInteger statsNotFoundErrors = new AtomicInteger(0);
/**
* Constructor to set the owner, the endpoint's name and the media pipeline.