Class RTCOutboundRTPStreamStats


public class RTCOutboundRTPStreamStats extends RTCRTPStreamStats
Statistics that represents the measurement metrics for the outgoing media stream.
  • Constructor Details

    • RTCOutboundRTPStreamStats

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

      public RTCOutboundRTPStreamStats(String id, StatsType type, long timestampMillis, String ssrc, String associateStatsId, boolean isRemote, String mediaTrackId, String transportId, String codecId, long firCount, long pliCount, long nackCount, long sliCount, long remb, long packetsLost, double fractionLost, long packetsSent, long bytesSent, double targetBitrate, double roundTripTime)
      Create a RTCOutboundRTPStreamStats
  • Method Details

    • getPacketsSent

      public long getPacketsSent()
      get Total number of RTP packets sent for this SSRC.
    • setPacketsSent

      public void setPacketsSent(long packetsSent)
      set Total number of RTP packets sent for this SSRC.
    • getBytesSent

      public long getBytesSent()
      get Total number of bytes sent for this SSRC.
    • setBytesSent

      public void setBytesSent(long bytesSent)
      set Total number of bytes sent for this SSRC.
    • getTargetBitrate

      public double getTargetBitrate()
      get Presently configured bitrate target of this SSRC, in bits per second.
    • setTargetBitrate

      public void setTargetBitrate(double targetBitrate)
      set Presently configured bitrate target of this SSRC, in bits per second.
    • getRoundTripTime

      public double getRoundTripTime()
      get Estimated round trip time (seconds) for this SSRC based on the RTCP timestamp.
    • setRoundTripTime

      public void setRoundTripTime(double roundTripTime)
      set Estimated round trip time (seconds) for this SSRC based on the RTCP timestamp.