Class RTCPeerConnectionStats


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

      • 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 Detail

      • 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.