Class LocalTrackStats

java.lang.Object
com.twilio.voice.BaseTrackStats
com.twilio.voice.LocalTrackStats
Direct Known Subclasses:
LocalAudioTrackStats

public abstract class LocalTrackStats extends BaseTrackStats
  • Field Details

    • bytesSent

      public final long bytesSent
      Total number of bytes sent for this SSRC
    • packetsSent

      public final int packetsSent
      Total number of RTP packets sent for this SSRC
    • roundTripTime

      public final long roundTripTime
      Estimated round trip time for this SSRC based on the RTCP timestamps. Measured in milliseconds.
  • Constructor Details

    • LocalTrackStats

      protected LocalTrackStats(String trackId, int packetsLost, String codec, String ssrc, double timestamp, long bytesSent, int packetsSent, long roundTripTime)