Class WatchRTCMetricsCollector
- java.lang.Object
-
- com.mux.sdk.webrtc.spaces.internal.impl.WatchRTCMetricsCollector
-
- All Implemented Interfaces:
Metrics.Collector
public class WatchRTCMetricsCollector extends java.lang.Object implements Metrics.Collector
-
-
Field Summary
Fields Modifier and Type Field Description com.spearline.watchrtc.sdk.RtcDataProvider
dataProvider
Metrics.Callback
metricsCallback
-
Constructor Summary
Constructors Constructor Description WatchRTCMetricsCollector(Logger logger, ActorFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connect()
void
disconnect()
void
init(java.lang.String spaceId, java.lang.String sessionId, java.lang.String connectionId, java.lang.String apiKey, java.lang.String participantId, Metrics.Provider metricsProvider)
void
logEvents(java.lang.String event, java.lang.Object data)
-
-
-
Field Detail
-
dataProvider
public com.spearline.watchrtc.sdk.RtcDataProvider dataProvider
-
metricsCallback
public Metrics.Callback metricsCallback
-
-
Constructor Detail
-
WatchRTCMetricsCollector
public WatchRTCMetricsCollector(Logger logger, ActorFactory factory)
-
-
Method Detail
-
init
public void init(java.lang.String spaceId, java.lang.String sessionId, java.lang.String connectionId, java.lang.String apiKey, java.lang.String participantId, Metrics.Provider metricsProvider)
- Specified by:
init
in interfaceMetrics.Collector
-
connect
public void connect()
- Specified by:
connect
in interfaceMetrics.Collector
-
disconnect
public void disconnect()
- Specified by:
disconnect
in interfaceMetrics.Collector
-
logEvents
public void logEvents(java.lang.String event, java.lang.Object data)
- Specified by:
logEvents
in interfaceMetrics.Collector
-
-