PWStatsBuilder Class Reference
Inherits from | NSObject |
---|---|
Declared in | PWStatsBuilder.h |
CPU usage
cpuUsagePercentage
Current CPU usage percentage.
@property (nonatomic, copy, readonly, nullable) NSString *cpuUsagePercentage
Declared 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 *connectionReceivedBitrate
Declared In
PWStatsBuilder.h
connectionReceivedBytes
Total number of bytes received for this connection.
@property (nonatomic, copy, readonly, nullable) NSString *connectionReceivedBytes
Declared 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 *connectionSendBitrate
Declared In
PWStatsBuilder.h
connectionSendBytes
Total number of bytes sent for this connection.
@property (nonatomic, copy, readonly, nullable) NSString *connectionSendBytes
Declared 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 *connectionRoundTripTime
Declared In
PWStatsBuilder.h
localCandidateType
Type of local ice candidate e.g. local or relay.
@property (nonatomic, copy, readonly, nullable) NSString *localCandidateType
Declared In
PWStatsBuilder.h
remoteCandidateType
Type of remote ice candidate e.g. local or relay.
@property (nonatomic, copy, readonly, nullable) NSString *remoteCandidateType
Declared In
PWStatsBuilder.h
transportType
Transport type: UDP or TCP. TCP is usually used with TURN server.
@property (nonatomic, copy, readonly, nullable) NSString *transportType
Declared In
PWStatsBuilder.h
transportConnectionIsActive
Whether connection is active or not.
@property (nonatomic, copy, readonly, nullable) NSString *transportConnectionIsActive
Declared In
PWStatsBuilder.h
readableIceRequest
Check if valid incoming ICE request has been received.
@property (nonatomic, copy, readonly, nullable) NSString *readableIceRequest
Declared 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 *writableIceRequest
Declared 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 *packetsSent
Declared In
PWStatsBuilder.h
packetsDiscardedOnSend
Packets discarded on send.
@property (nonatomic, copy, readonly, nullable) NSString *packetsDiscardedOnSend
Declared 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 *localCandidateID
Declared 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 *remoteCandidateID
Declared In
PWStatsBuilder.h
localAddress
Local address with port, example: 192.168.2.45:63061
@property (nonatomic, copy, readonly, nullable) NSString *localAddress
Declared In
PWStatsBuilder.h
remoteAddress
Remote address with port, example: 192.168.2.45:63061
@property (nonatomic, copy, readonly, nullable) NSString *remoteAddress
Declared In
PWStatsBuilder.h
Bandwidth Estimation stats
actualEncodingBitrate
Actual encoding bitrate, bit/s.
@property (nonatomic, copy, readonly, nullable) NSString *actualEncodingBitrate
Declared In
PWStatsBuilder.h
availableReceiveBandwidth
How much receive bandwidth we estimate we have, bit/s.
@property (nonatomic, copy, readonly, nullable) NSString *availableReceiveBandwidth
Declared In
PWStatsBuilder.h
availableSendBandwidth
How much send bandwidth we estimate we have, bit/s.
@property (nonatomic, copy, readonly, nullable) NSString *availableSendBandwidth
Declared In
PWStatsBuilder.h
targetEncodingBitrate
Target encoding bitrate, bit/s.
@property (nonatomic, copy, readonly, nullable) NSString *targetEncodingBitrate
Declared In
PWStatsBuilder.h
bucketDelay
Bucket delay.
@property (nonatomic, copy, readonly, nullable) NSString *bucketDelay
Declared In
PWStatsBuilder.h
retransmitBitrate
Retransmit bitrate, bit/s.
@property (nonatomic, copy, readonly, nullable) NSString *retransmitBitrate
Declared In
PWStatsBuilder.h
transmitBitrate
The actual transmit bitrate, bit/s.
@property (nonatomic, copy, readonly, nullable) NSString *transmitBitrate
Declared In
PWStatsBuilder.h
Video send stats
videoSendPacketsLost
Video packets lost.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendPacketsLost
Declared In
PWStatsBuilder.h
videoSendPackets
Video packets send.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendPackets
Declared In
PWStatsBuilder.h
videoSendEncodeUsagePercent
Video send encode usage percent.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendEncodeUsagePercent
Declared In
PWStatsBuilder.h
videoSendTrackID
Video send unique identifier.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendTrackID
Declared In
PWStatsBuilder.h
videoSendEncodeMs
Average video encoding time.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendEncodeMs
Declared In
PWStatsBuilder.h
videoSendInputFps
Video send input frame rate.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendInputFps
Declared In
PWStatsBuilder.h
videoSendInputHeight
Video send input height.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendInputHeight
Declared In
PWStatsBuilder.h
videoSendInputWidth
Video send input width.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendInputWidth
Declared In
PWStatsBuilder.h
videoSendCodec
Video send codec: VP8 or H264.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendCodec
Declared 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 *videoSendBitrate
Declared In
PWStatsBuilder.h
videoSendBytes
Total number of video data (in bits) sent for this connection.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendBytes
Declared In
PWStatsBuilder.h
videoSendFps
Video send frames per second (FPS).
@property (nonatomic, copy, readonly, nullable) NSString *videoSendFps
Declared In
PWStatsBuilder.h
videoSendHeight
Video send height.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendHeight
Declared In
PWStatsBuilder.h
videoSendWidth
Video send width.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendWidth
Declared In
PWStatsBuilder.h
videoSendNacksReceived
Video send NACKs received.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendNacksReceived
Declared In
PWStatsBuilder.h
videoSendPlisReceived
Video send plis received.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendPlisReceived
Declared In
PWStatsBuilder.h
videoSendViewLimitedResolution
Video send view limited resolution.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendViewLimitedResolution
Declared In
PWStatsBuilder.h
videoSendCpuLimitedResolution
Video send cpu limited resolution.
@property (nonatomic, copy, readonly, nullable) NSString *videoSendCpuLimitedResolution
Declared 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 *audioSendBitrate
Declared In
PWStatsBuilder.h
audioSendBytes
Total number of audio data (in bits) sent for this connection.
@property (nonatomic, copy, readonly, nullable) NSString *audioSendBytes
Declared 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 *audioSendInputLevel
Declared In
PWStatsBuilder.h
audioSendPacketsLost
Audio send packets lost.
@property (nonatomic, copy, readonly, nullable) NSString *audioSendPacketsLost
Declared In
PWStatsBuilder.h
audioSendPackets
Audio send packets sent.
@property (nonatomic, copy, readonly, nullable) NSString *audioSendPackets
Declared In
PWStatsBuilder.h
audioSendCodec
Audio send codec: OPUS, ISAC or iLBC.
@property (nonatomic, copy, readonly, nullable) NSString *audioSendCodec
Declared In
PWStatsBuilder.h
audioSendTrackID
Audio send track unique identifier.
@property (nonatomic, copy, readonly, nullable) NSString *audioSendTrackID
Declared In
PWStatsBuilder.h
audioSendJitterReceived
Receive-side jitter in milliseconds.
@property (nonatomic, copy, readonly, nullable) NSString *audioSendJitterReceived
Declared In
PWStatsBuilder.h
Video receive stats
videoReceivedDecodeMs
Time spent decoding video in ms.
@property (nonatomic, copy, readonly, nullable) NSString *videoReceivedDecodeMs
Declared In
PWStatsBuilder.h
videoReceivedDecodedFps
Video received decoded frames per second (FPS).
@property (nonatomic, copy, readonly, nullable) NSString *videoReceivedDecodedFps
Declared In
PWStatsBuilder.h
videoReceivedOutputFps
Video received output frames per second (FPS) Real frames per second output, after processing
@property (nonatomic, copy, readonly, nullable) NSString *videoReceivedOutputFps
Declared In
PWStatsBuilder.h
videoReceivedFps
Video received frames per second (FPS).
@property (nonatomic, copy, readonly, nullable) NSString *videoReceivedFps
Declared 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 *videoReceivedBitrate
Declared In
PWStatsBuilder.h
videoReceivedBytes
Total number of video data (in bits) received for this connection.
@property (nonatomic, copy, readonly, nullable) NSString *videoReceivedBytes
Declared In
PWStatsBuilder.h
videoReceivedHeight
Video received height.
@property (nonatomic, copy, readonly, nullable) NSString *videoReceivedHeight
Declared In
PWStatsBuilder.h
videoReceivedWidth
Video received width.
@property (nonatomic, copy, readonly, nullable) NSString *videoReceivedWidth
Declared In
PWStatsBuilder.h
videoReceivedPacketsLost
Video packets lost.
@property (nonatomic, copy, readonly, nullable) NSString *videoReceivedPacketsLost
Declared In
PWStatsBuilder.h
videoReceivedPackets
Video packets received.
@property (nonatomic, copy, readonly, nullable) NSString *videoReceivedPackets
Declared In
PWStatsBuilder.h
videoReceivedCodec
Video receive codec: VP8 or H264.
@property (nonatomic, copy, readonly, nullable) NSString *videoReceivedCodec
Declared In
PWStatsBuilder.h
Audio receive
audioReceivedCurrentDelay
Audio received current delay, in ms.
@property (nonatomic, copy, readonly, nullable) NSString *audioReceivedCurrentDelay
Declared In
PWStatsBuilder.h
audioReceivedPacketsLost
Received audio packets lost.
@property (nonatomic, copy, readonly, nullable) NSString *audioReceivedPacketsLost
Declared In
PWStatsBuilder.h
audioReceivedPackets
Received audio packets number.
@property (nonatomic, copy, readonly, nullable) NSString *audioReceivedPackets
Declared In
PWStatsBuilder.h
audioReceivedTrackId
Audio received track unique identifier.
@property (nonatomic, copy, readonly, nullable) NSString *audioReceivedTrackId
Declared In
PWStatsBuilder.h
audioReceivedExpandRate
The speech expand rate measures the amount of speech expansion done by NetEQ.
@property (nonatomic, copy, readonly, nullable) NSString *audioReceivedExpandRate
Declared 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 *audioReceivedBitrate
Declared In
PWStatsBuilder.h
audioReceivedBytes
Total number of audio data (in bits) received for this connection.
@property (nonatomic, copy, readonly, nullable) NSString *audioReceivedBytes
Declared In
PWStatsBuilder.h
audioReceivedCodec
Received audio codec: VP8 or H264.
@property (nonatomic, copy, readonly, nullable) NSString *audioReceivedCodec
Declared In
PWStatsBuilder.h
Methods
– parseStatsReport:
Parses the information in the stats report into an appropriate format.
- (void)parseStatsReport:(nonnull RTCStatsReport *)statsReport
Parameters
statsReport |
An object of |
---|
Declared In
PWStatsBuilder.h