Class RTCPeerConnectionStats
java.lang.Object
org.kurento.client.Stats
org.kurento.client.RTCStats
org.kurento.client.RTCPeerConnectionStats
Statistics related to the peer connection.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault private constructor of RTCPeerConnectionStats for serialization with JacksonRTCPeerConnectionStats(String id, StatsType type, long timestampMillis, long dataChannelsOpened, long dataChannelsClosed) Create a RTCPeerConnectionStats -
Method Summary
Modifier and TypeMethodDescriptionlongget Represents the number of unique datachannels closed.longget Represents the number of unique datachannels opened.voidsetDataChannelsClosed(long dataChannelsClosed) set Represents the number of unique datachannels closed.voidsetDataChannelsOpened(long dataChannelsOpened) set Represents the number of unique datachannels opened.Methods inherited from class Stats
getId, getTimestampMillis, getType, setId, setTimestampMillis, setType
-
Constructor Details
-
RTCPeerConnectionStats
protected RTCPeerConnectionStats()Default private constructor of RTCPeerConnectionStats for serialization with Jackson -
RTCPeerConnectionStats
-
-
Method Details
-
getDataChannelsOpened
public long getDataChannelsOpened()get Represents the number of unique datachannels opened. -
setDataChannelsOpened
public void setDataChannelsOpened(long dataChannelsOpened) set Represents the number of unique datachannels opened. -
getDataChannelsClosed
public long getDataChannelsClosed()get Represents the number of unique datachannels closed. -
setDataChannelsClosed
public void setDataChannelsClosed(long dataChannelsClosed) set Represents the number of unique datachannels closed.
-