TVOBaseTrackStats

Objective-C

@interface TVOBaseTrackStats : NSObject

Swift

class TVOBaseTrackStats : NSObject

TVOBaseTrackStats represents stats common to both local and remote tracks.

  • @brief The Tracks’s identifier. This value uniquely identifies the Track within the scope of a Call.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nonnull) NSString *trackId;

    Swift

    var trackId: String { get }
  • @brief Total number of RTP packets lost for this SSRC since the beginning of the reception.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSUInteger packetsLost;

    Swift

    var packetsLost: UInt { get }
  • @brief Name of codec used for this track.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nonnull) NSString *codec;

    Swift

    var codec: String { get }
  • @brief The SSRC identifier of the source.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nonnull) NSString *ssrc;

    Swift

    var ssrc: String { get }
  • @brief Unix timestamp in milliseconds

    Declaration

    Objective-C

    @property (nonatomic, readonly) CFTimeInterval timestamp;

    Swift

    var timestamp: CFTimeInterval { get }
  • Unavailable

    TVOBaseTrackStats cannot be created explicitly.

    @brief Developers shouldn’t initialize this class directly.

    @discussion Base track stats cannot be created explicitly.

    Declaration

    Objective-C

    - (null_unspecified instancetype)init;