PWStatsBuilder Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | PWStatsBuilder.h |
CPU usage
cpuUsagePercentage
Current CPU usage percentage.
@property (nonatomic, copy, readonly, nullable) NSString *cpuUsagePercentageDeclared In
PWStatsBuilder.h
Connection stats
connectionReceivedBitrate
Estimated bitrate based on the received bytes difference over the interval between updates for this connection, bit/s.
@property (nonatomic, copy, readonly, nullable) NSString *connectionReceivedBitrateDeclared In
PWStatsBuilder.h
connectionReceivedBytes
Total number of bytes received for this connection.
@property (nonatomic, copy, readonly, nullable) NSString *connectionReceivedBytesDeclared In
PWStatsBuilder.h
connectionSendBitrate
Estimated bitrate based on the sent bytes difference over the interval between updates for this connection, bit/s.
@property (nonatomic, copy, readonly, nullable) NSString *connectionSendBitrateDeclared In
PWStatsBuilder.h
connectionSendBytes
Total number of bytes sent for this connection.
@property (nonatomic, copy, readonly, nullable) NSString *connectionSendBytesDeclared In
PWStatsBuilder.h
connectionRoundTripTime
Estimated round trip time (ms) for this connection. RTT is the length of time it takes for a signal to be sent plus the length of time it takes for an acknowledgment of that signal to be received.
@property (nonatomic, copy, readonly, nullable) NSString *connectionRoundTripTimeDeclared In
PWStatsBuilder.h
localCandidateType
Type of local ice candidate e.g. local or relay.
@property (nonatomic, copy, readonly, nullable) NSString *localCandidateTypeDeclared In
PWStatsBuilder.h
remoteCandidateType
Type of remote ice candidate e.g. local or relay.
@property (nonatomic, copy, readonly, nullable) NSString *remoteCandidateTypeDeclared In
PWStatsBuilder.h
transportType
Transport type: UDP or TCP. TCP is usually used with TURN server.
@property (nonatomic, copy, readonly, nullable) NSString *transportTypeDeclared In
PWStatsBuilder.h
transportConnectionIsActive
Whether connection is active or not.
@property (nonatomic, copy, readonly, nullable) NSString *transportConnectionIsActiveDeclared In
PWStatsBuilder.h
readableIceRequest
Check if valid incoming ICE request has been received.
@property (nonatomic, copy, readonly, nullable) NSString *readableIceRequestDeclared In
PWStatsBuilder.h
writableIceRequest
Check if valid incoming ICE request has been received and ACK to an ICE request.
@property (nonatomic, copy, readonly, nullable) NSString *writableIceRequestDeclared In
PWStatsBuilder.h
packetsSent
Total number of RTP packets sent for this connection. Calculated as defined in [RFC3550] section 6.4.1.
@property (nonatomic, copy, readonly, nullable) NSString *packetsSentDeclared In
PWStatsBuilder.h
packetsDiscardedOnSend
Packets discarded on send.
@property (nonatomic, copy, readonly, nullable) NSString *packetsDiscardedOnSendDeclared In
PWStatsBuilder.h
localCandidateID
It is a unique identifier that is associated to the object that was inspected to produce the RTCIceCandidateAttributes for the local candidate associated with this candidate pair.
@property (nonatomic, copy, readonly, nullable) NSString *localCandidateIDDeclared In
PWStatsBuilder.h
remoteCandidateID
It is a unique identifier that is associated to the object that was inspected to produce the RTCIceCandidateAttributes for the local candidate associated with this candidate pair.
@property (nonatomic, copy, readonly, nullable) NSString *remoteCandidateIDDeclared In
PWStatsBuilder.h
localAddress
Local address with port, example: 192.168.2.45:63061
@property (nonatomic, copy, readonly, nullable) NSString *localAddressDeclared In
PWStatsBuilder.h
remoteAddress
Remote address with port, example: 192.168.2.45:63061
@property (nonatomic, copy, readonly, nullable) NSString *remoteAddressDeclared In
PWStatsBuilder.h
Bandwidth Estimation stats
actualEncodingBitrate
Actual encoding bitrate, bit/s.
@property (nonatomic, copy, readonly, nullable) NSString *actualEncodingBitrateDeclared In
PWStatsBuilder.h
availableReceiveBandwidth
How much receive bandwidth we estimate we have, bit/s.
@property (nonatomic, copy, readonly, nullable) NSString *availableReceiveBandwidthDeclared In
PWStatsBuilder.h
availableSendBandwidth
How much send bandwidth we estimate we have, bit/s.
@property (nonatomic, copy, readonly, nullable) NSString *availableSendBandwidthDeclared In
PWStatsBuilder.h
targetEncodingBitrate
Target encoding bitrate, bit/s.
@property (nonatomic, copy, readonly, nullable) NSString *targetEncodingBitrateDeclared In
PWStatsBuilder.h
bucketDelay
Bucket delay.
@property (nonatomic, copy, readonly, nullable) NSString *bucketDelayDeclared In
PWStatsBuilder.h
retransmitBitrate
Retransmit bitrate, bit/s.
@property (nonatomic, copy, readonly, nullable) NSString *retransmitBitrateDeclared In
PWStatsBuilder.h
transmitBitrate
The actual transmit bitrate, bit/s.
@property (nonatomic, copy, readonly, nullable) NSString *transmitBitrateDeclared In
PWStatsBuilder.h
Video send stats
videoSendPacketsLost
Video packets lost.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendPacketsLostDeclared In
PWStatsBuilder.h
videoSendPackets
Video packets send.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendPacketsDeclared In
PWStatsBuilder.h
videoSendEncodeUsagePercent
Video send encode usage percent.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendEncodeUsagePercentDeclared In
PWStatsBuilder.h
videoSendTrackID
Video send unique identifier.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendTrackIDDeclared In
PWStatsBuilder.h
videoSendEncodeMs
Average video encoding time.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendEncodeMsDeclared In
PWStatsBuilder.h
videoSendInputFps
Video send input frame rate.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendInputFpsDeclared In
PWStatsBuilder.h
videoSendInputHeight
Video send input height.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendInputHeightDeclared In
PWStatsBuilder.h
videoSendInputWidth
Video send input width.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendInputWidthDeclared In
PWStatsBuilder.h
videoSendCodec
Video send codec: VP8 or H264.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendCodecDeclared In
PWStatsBuilder.h
videoSendBitrate
Estimated bitrate based on the Video sent bytes difference over the interval between updates for this connection, bit/s.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendBitrateDeclared In
PWStatsBuilder.h
videoSendBytes
Total number of video data (in bits) sent for this connection.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendBytesDeclared In
PWStatsBuilder.h
videoSendFps
Video send frames per second (FPS).
@property (nonatomic, copy, readonly, nullable) NSString *videoSendFpsDeclared In
PWStatsBuilder.h
videoSendHeight
Video send height.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendHeightDeclared In
PWStatsBuilder.h
videoSendWidth
Video send width.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendWidthDeclared In
PWStatsBuilder.h
videoSendNacksReceived
Video send NACKs received.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendNacksReceivedDeclared In
PWStatsBuilder.h
videoSendPlisReceived
Video send plis received.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendPlisReceivedDeclared In
PWStatsBuilder.h
videoSendViewLimitedResolution
Video send view limited resolution.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendViewLimitedResolutionDeclared In
PWStatsBuilder.h
videoSendCpuLimitedResolution
Video send cpu limited resolution.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendCpuLimitedResolutionDeclared In
PWStatsBuilder.h
Audio send stats
audioSendBitrate
Estimated bitrate based on the Audio sent bytes difference over the interval between updates for this connection, bit/s.
@property (nonatomic, copy, readonly, nullable) NSString *audioSendBitrateDeclared In
PWStatsBuilder.h
audioSendBytes
Total number of audio data (in bits) sent for this connection.
@property (nonatomic, copy, readonly, nullable) NSString *audioSendBytesDeclared In
PWStatsBuilder.h
audioSendInputLevel
Audio send input level You can use this property even if audio track is disabled to check if user is currently speaking/talking etc.
@property (nonatomic, copy, readonly, nullable) NSString *audioSendInputLevelDeclared In
PWStatsBuilder.h
audioSendPacketsLost
Audio send packets lost.
@property (nonatomic, copy, readonly, nullable) NSString *audioSendPacketsLostDeclared In
PWStatsBuilder.h
audioSendPackets
Audio send packets sent.
@property (nonatomic, copy, readonly, nullable) NSString *audioSendPacketsDeclared In
PWStatsBuilder.h
audioSendCodec
Audio send codec: OPUS, ISAC or iLBC.
@property (nonatomic, copy, readonly, nullable) NSString *audioSendCodecDeclared In
PWStatsBuilder.h
audioSendTrackID
Audio send track unique identifier.
@property (nonatomic, copy, readonly, nullable) NSString *audioSendTrackIDDeclared In
PWStatsBuilder.h
audioSendJitterReceived
Receive-side jitter in milliseconds.
@property (nonatomic, copy, readonly, nullable) NSString *audioSendJitterReceivedDeclared In
PWStatsBuilder.h
Video receive stats
videoReceivedDecodeMs
Time spent decoding video in ms.
@property (nonatomic, copy, readonly, nullable) NSString *videoReceivedDecodeMsDeclared In
PWStatsBuilder.h
videoReceivedDecodedFps
Video received decoded frames per second (FPS).
@property (nonatomic, copy, readonly, nullable) NSString *videoReceivedDecodedFpsDeclared In
PWStatsBuilder.h
videoReceivedOutputFps
Video received output frames per second (FPS) Real frames per second output, after processing
@property (nonatomic, copy, readonly, nullable) NSString *videoReceivedOutputFpsDeclared In
PWStatsBuilder.h
videoReceivedFps
Video received frames per second (FPS).
@property (nonatomic, copy, readonly, nullable) NSString *videoReceivedFpsDeclared In
PWStatsBuilder.h
videoReceivedBitrate
Estimated bitrate based on the Video received bytes difference over the interval between updates for this connection, bit/s.
@property (nonatomic, copy, readonly, nullable) NSString *videoReceivedBitrateDeclared In
PWStatsBuilder.h
videoReceivedBytes
Total number of video data (in bits) received for this connection.
@property (nonatomic, copy, readonly, nullable) NSString *videoReceivedBytesDeclared In
PWStatsBuilder.h
videoReceivedHeight
Video received height.
@property (nonatomic, copy, readonly, nullable) NSString *videoReceivedHeightDeclared In
PWStatsBuilder.h
videoReceivedWidth
Video received width.
@property (nonatomic, copy, readonly, nullable) NSString *videoReceivedWidthDeclared In
PWStatsBuilder.h
videoReceivedPacketsLost
Video packets lost.
@property (nonatomic, copy, readonly, nullable) NSString *videoReceivedPacketsLostDeclared In
PWStatsBuilder.h
videoReceivedPackets
Video packets received.
@property (nonatomic, copy, readonly, nullable) NSString *videoReceivedPacketsDeclared In
PWStatsBuilder.h
videoReceivedCodec
Video receive codec: VP8 or H264.
@property (nonatomic, copy, readonly, nullable) NSString *videoReceivedCodecDeclared In
PWStatsBuilder.h
Audio receive
audioReceivedCurrentDelay
Audio received current delay, in ms.
@property (nonatomic, copy, readonly, nullable) NSString *audioReceivedCurrentDelayDeclared In
PWStatsBuilder.h
audioReceivedPacketsLost
Received audio packets lost.
@property (nonatomic, copy, readonly, nullable) NSString *audioReceivedPacketsLostDeclared In
PWStatsBuilder.h
audioReceivedPackets
Received audio packets number.
@property (nonatomic, copy, readonly, nullable) NSString *audioReceivedPacketsDeclared In
PWStatsBuilder.h
audioReceivedTrackId
Audio received track unique identifier.
@property (nonatomic, copy, readonly, nullable) NSString *audioReceivedTrackIdDeclared In
PWStatsBuilder.h
audioReceivedExpandRate
The speech expand rate measures the amount of speech expansion done by NetEQ.
@property (nonatomic, copy, readonly, nullable) NSString *audioReceivedExpandRateDeclared In
PWStatsBuilder.h
audioReceivedBitrate
Estimated bitrate based on the Audio received bytes difference over the interval between updates for this connection, bit/s.
@property (nonatomic, copy, readonly, nullable) NSString *audioReceivedBitrateDeclared In
PWStatsBuilder.h
audioReceivedBytes
Total number of audio data (in bits) received for this connection.
@property (nonatomic, copy, readonly, nullable) NSString *audioReceivedBytesDeclared In
PWStatsBuilder.h
audioReceivedCodec
Received audio codec: VP8 or H264.
@property (nonatomic, copy, readonly, nullable) NSString *audioReceivedCodecDeclared In
PWStatsBuilder.h
Methods
– parseStatsReport:
Parses the information in the stats report into an appropriate format.
- (void)parseStatsReport:(nonnull RTCStatsReport *)statsReportParameters
statsReport |
An object of |
|---|
Declared In
PWStatsBuilder.h