public class RTCPeerConnectionStats extends RTCStats
Modifier | Constructor and Description |
---|---|
protected |
RTCPeerConnectionStats()
Default private constructor of RTCPeerConnectionStats for serialization with Jackson
|
|
RTCPeerConnectionStats(java.lang.String id,
StatsType type,
double timestamp,
long dataChannelsOpened,
long dataChannelsClosed)
Create a RTCPeerConnectionStats
|
Modifier and Type | Method and Description |
---|---|
long |
getDataChannelsClosed()
get Represents the number of unique datachannels closed.
|
long |
getDataChannelsOpened()
get Represents the number of unique datachannels opened.
|
void |
setDataChannelsClosed(long dataChannelsClosed)
set Represents the number of unique datachannels closed.
|
void |
setDataChannelsOpened(long dataChannelsOpened)
set Represents the number of unique datachannels opened.
|
getId, getTimestamp, getType, setId, setTimestamp, setType
protected RTCPeerConnectionStats()
public RTCPeerConnectionStats(java.lang.String id, StatsType type, double timestamp, long dataChannelsOpened, long dataChannelsClosed)
public long getDataChannelsOpened()
public void setDataChannelsOpened(long dataChannelsOpened)
public long getDataChannelsClosed()
public void setDataChannelsClosed(long dataChannelsClosed)