Class RTCTransportStats


public class RTCTransportStats extends RTCStats
Statistics related to RTC data channels.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Default private constructor of RTCTransportStats for serialization with Jackson
     
    RTCTransportStats(String id, StatsType type, long timestampMillis, long bytesSent, long bytesReceived, String rtcpTransportStatsId, boolean activeConnection, String selectedCandidatePairId, String localCertificateId, String remoteCertificateId)
    Create a RTCTransportStats
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    get Set to true when transport is active.
    long
    get Represents the total number of bytes received on this PeerConnection, i.e., not including headers or padding.
    long
    get Represents the total number of payload bytes sent on this PeerConnection, i.e., not including headers or padding.
    get For components where DTLS is negotiated, give local certificate.
    get For components where DTLS is negotiated, give remote certificate.
    get If RTP and RTCP are not multiplexed, this is the id of the transport that gives stats for the RTCP component, and this record has only the RTP component stats.
    get It is a unique identifier that is associated to the object that was inspected to produce the RTCIceCandidatePairStats associated with this transport.
    void
    setActiveConnection(boolean activeConnection)
    set Set to true when transport is active.
    void
    setBytesReceived(long bytesReceived)
    set Represents the total number of bytes received on this PeerConnection, i.e., not including headers or padding.
    void
    setBytesSent(long bytesSent)
    set Represents the total number of payload bytes sent on this PeerConnection, i.e., not including headers or padding.
    void
    setLocalCertificateId(String localCertificateId)
    set For components where DTLS is negotiated, give local certificate.
    void
    setRemoteCertificateId(String remoteCertificateId)
    set For components where DTLS is negotiated, give remote certificate.
    void
    setRtcpTransportStatsId(String rtcpTransportStatsId)
    set If RTP and RTCP are not multiplexed, this is the id of the transport that gives stats for the RTCP component, and this record has only the RTP component stats.
    void
    setSelectedCandidatePairId(String selectedCandidatePairId)
    set It is a unique identifier that is associated to the object that was inspected to produce the RTCIceCandidatePairStats associated with this transport.

    Methods inherited from class org.kurento.client.Stats

    getId, getTimestampMillis, getType, setId, setTimestampMillis, setType

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RTCTransportStats

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

      public RTCTransportStats(String id, StatsType type, long timestampMillis, long bytesSent, long bytesReceived, String rtcpTransportStatsId, boolean activeConnection, String selectedCandidatePairId, String localCertificateId, String remoteCertificateId)
      Create a RTCTransportStats
  • Method Details

    • getBytesSent

      public long getBytesSent()
      get Represents the total number of payload bytes sent on this PeerConnection, i.e., not including headers or padding.
    • setBytesSent

      public void setBytesSent(long bytesSent)
      set Represents the total number of payload bytes sent on this PeerConnection, i.e., not including headers or padding.
    • getBytesReceived

      public long getBytesReceived()
      get Represents the total number of bytes received on this PeerConnection, i.e., not including headers or padding.
    • setBytesReceived

      public void setBytesReceived(long bytesReceived)
      set Represents the total number of bytes received on this PeerConnection, i.e., not including headers or padding.
    • getRtcpTransportStatsId

      public String getRtcpTransportStatsId()
      get If RTP and RTCP are not multiplexed, this is the id of the transport that gives stats for the RTCP component, and this record has only the RTP component stats.
    • setRtcpTransportStatsId

      public void setRtcpTransportStatsId(String rtcpTransportStatsId)
      set If RTP and RTCP are not multiplexed, this is the id of the transport that gives stats for the RTCP component, and this record has only the RTP component stats.
    • getActiveConnection

      public boolean getActiveConnection()
      get Set to true when transport is active.
    • setActiveConnection

      public void setActiveConnection(boolean activeConnection)
      set Set to true when transport is active.
    • getSelectedCandidatePairId

      public String getSelectedCandidatePairId()
      get It is a unique identifier that is associated to the object that was inspected to produce the RTCIceCandidatePairStats associated with this transport.
    • setSelectedCandidatePairId

      public void setSelectedCandidatePairId(String selectedCandidatePairId)
      set It is a unique identifier that is associated to the object that was inspected to produce the RTCIceCandidatePairStats associated with this transport.
    • getLocalCertificateId

      public String getLocalCertificateId()
      get For components where DTLS is negotiated, give local certificate.
    • setLocalCertificateId

      public void setLocalCertificateId(String localCertificateId)
      set For components where DTLS is negotiated, give local certificate.
    • getRemoteCertificateId

      public String getRemoteCertificateId()
      get For components where DTLS is negotiated, give remote certificate.
    • setRemoteCertificateId

      public void setRemoteCertificateId(String remoteCertificateId)
      set For components where DTLS is negotiated, give remote certificate.