TVOPreflightStatsSample
Objective-C
@interface TVOPreflightStatsSample : NSObject
Swift
class TVOPreflightStatsSample : NSObject
TVOPreflightStatsSample stores a subset of relevant stats data from WebRTC
provided stats.
-
@brief Codec used to encode the audio track.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nonnull) NSString *codec;Swift
var codec: String { get } -
@brief Input audio level from the microphone.
Declaration
Objective-C
@property (nonatomic, readonly) NSUInteger audioInputLevel;Swift
var audioInputLevel: UInt { get } -
@brief Output audio level of the remote audio track.
Declaration
Objective-C
@property (nonatomic, readonly) NSUInteger audioOutputLevel;Swift
var audioOutputLevel: UInt { get } -
@brief Total bytes received.
Declaration
Objective-C
@property (nonatomic, readonly) unsigned long long bytesReceived;Swift
var bytesReceived: UInt64 { get } -
@brief Total bytes sent.
Declaration
Objective-C
@property (nonatomic, readonly) unsigned long long bytesSent;Swift
var bytesSent: UInt64 { get } -
@brief Total audio packets received.
Declaration
Objective-C
@property (nonatomic, readonly) unsigned long long packetsReceived;Swift
var packetsReceived: UInt64 { get } -
@brief Total audio packets sent.
Declaration
Objective-C
@property (nonatomic, readonly) unsigned long long packetsSent;Swift
var packetsSent: UInt64 { get } -
@brief Total audio packets lost.
Declaration
Objective-C
@property (nonatomic, readonly) unsigned long long packetsLost;Swift
var packetsLost: UInt64 { get } -
@brief Total audio packets lost fraction.
Declaration
Objective-C
@property (nonatomic, readonly) double packetsLostFraction;Swift
var packetsLostFraction: Double { get } -
@brief Current jitter value.
Declaration
Objective-C
@property (nonatomic, readonly) NSUInteger jitter;Swift
var jitter: UInt { get } -
@brief Current MOS value.
Declaration
Objective-C
@property (nonatomic, readonly) double mos;Swift
var mos: Double { get } -
@brief Current round trip time value.
Declaration
Objective-C
@property (nonatomic, readonly) NSUInteger rtt;Swift
var rtt: UInt { get } -
@brief Timestamp when the stats was collected.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nonnull) NSString *timestamp;Swift
var timestamp: String { get } -
Unavailable
Developers shouldn’t initialize this class directly.
@brief Developers shouldn’t initialize this class directly.
Declaration
Objective-C
- (null_unspecified instancetype)init;