Class RTCPeerConnectionStats

java.lang.Object
org.kurento.client.Stats
org.kurento.client.RTCStats
org.kurento.client.RTCPeerConnectionStats

public class RTCPeerConnectionStats extends RTCStats
Statistics related to the peer connection.
  • Constructor Details

    • RTCPeerConnectionStats

      protected RTCPeerConnectionStats()
      Default private constructor of RTCPeerConnectionStats for serialization with Jackson
    • RTCPeerConnectionStats

      public RTCPeerConnectionStats(String id, StatsType type, long timestampMillis, long dataChannelsOpened, long dataChannelsClosed)
      Create a 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.