TVOLocalTrackStats

Objective-C

@interface TVOLocalTrackStats : TVOBaseTrackStats

Swift

class TVOLocalTrackStats : TVOBaseTrackStats

TVOLocalTrackStats represents stats common to local tracks.

  • @brief Total number of bytes sent for this SSRC.

    Declaration

    Objective-C

    @property (nonatomic, readonly) int64_t bytesSent;

    Swift

    var bytesSent: Int64 { get }
  • @brief Total number of RTP packets sent for this SSRC.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSUInteger packetsSent;

    Swift

    var packetsSent: UInt { get }
  • @brief Estimated round trip time for this SSRC based on the RTCP timestamps. Measured in milliseconds.

    Declaration

    Objective-C

    @property (nonatomic, readonly) int64_t roundTripTime;

    Swift

    var roundTripTime: Int64 { get }
  • Unavailable

    TVOLocalTrackStats cannot be created explicitly.

    @brief Developers shouldn’t initialize this class directly.

    @discussion Local track stats cannot be created explicitly.

    Declaration

    Objective-C

    - (null_unspecified instancetype)init;