4 #ifndef __KINESIS_VIDEO_WEBRTCCLIENT_STATS_INCLUDE__
5 #define __KINESIS_VIDEO_WEBRTCCLIENT_STATS_INCLUDE__
25 #define MAX_CANDIDATE_ID_LENGTH 9U
30 #define MAX_ICE_CONFIG_URI_LEN 127
35 #define MAX_RELAY_PROTOCOL_LENGTH 8U
40 #define MAX_TLS_VERSION_LENGTH 8U
45 #define MAX_DTLS_CIPHER_LENGTH 64U
50 #define MAX_SRTP_CIPHER_LENGTH 64U
55 #define MAX_TLS_GROUP_LENGHTH 32U
60 #define MAX_PROTOCOL_LENGTH 7U
65 #define IP_ADDR_STR_LENGTH 45U
70 #define MAX_STATS_STRING_LENGTH 255U
76 #define MAX_CANDIDATE_TYPE_LENGTH 7U
CHAR DOMString[255U+1]
DOMString type is used to store strings of size 256 bytes (inclusive of '\0' character.
Definition: Stats.h:84
RTC_STATS_TYPE
Type of Stats object requested by the application Reference https://www.w3.org/TR/webrtc-stats/#rtcst...
Definition: Stats.h:108
@ RTC_STATS_TYPE_INBOUND_RTP
Statistics for an inbound RTP stream that is currently received with this RTCPeerConnection object.
Definition: Stats.h:115
@ RTC_STATS_TYPE_RECEIVER
Statistics related to a specific receiver and the corresponding media-level metrics.
Definition: Stats.h:119
@ RTC_STATS_TYPE_CANDIDATE_PAIR
ICE candidate pair statistics related to the RTCIceTransport objects.
Definition: Stats.h:109
@ RTC_STATS_TYPE_LOCAL_CANDIDATE
ICE local candidate statistics related to the RTCIceTransport objects.
Definition: Stats.h:116
@ RTC_STATS_TYPE_PEER_CONNECTION
Statistics related to the RTCPeerConnection object.
Definition: Stats.h:118
@ RTC_STATS_TYPE_OUTBOUND_RTP
Statistics for an outbound RTP stream that is currently received with this RTCPeerConnection object.
Definition: Stats.h:117
@ RTC_STATS_TYPE_REMOTE_INBOUND_RTP
Definition: Stats.h:121
@ RTC_STATS_TYPE_RTC_ALL
Report all supported stats.
Definition: Stats.h:130
@ RTC_STATS_TYPE_SCTP_TRANSPORT
SCTP transport statistics related to an RTCSctpTransport object.
Definition: Stats.h:128
@ RTC_STATS_TYPE_TRANSPORT
Transport statistics related to the RTCPeerConnection object.
Definition: Stats.h:127
@ RTC_STATS_TYPE_CERTIFICATE
Information about a certificate used by an RTCIceTransport.
Definition: Stats.h:110
@ RTC_STATS_TYPE_CODEC
Stats for a codec that is currently being used by RTP streams being sent or received by this RTCPeerC...
Definition: Stats.h:111
@ RTC_STATS_TYPE_REMOTE_CANDIDATE
ICE remote candidate statistics related to the RTCIceTransport objects.
Definition: Stats.h:120
@ RTC_STATS_TYPE_REMOTE_OUTBOUND_RTP
Definition: Stats.h:123
@ RTC_STATS_TYPE_DATA_CHANNEL
Stats related to each RTCDataChannel id.
Definition: Stats.h:114
@ RTC_STATS_TYPE_TRANSCEIVER
Statistics related to a specific RTCRtpTransceiver.
Definition: Stats.h:129
@ RTC_STATS_TYPE_CSRC
Stats for a contributing source (CSRC) that contributed to an inbound RTP stream.
Definition: Stats.h:113
@ RTC_STATS_TYPE_ICE_SERVER
Information about the connection to an ICE server (e.g. STUN or TURN)
Definition: Stats.h:112
@ RTC_STATS_TYPE_SENDER
Statistics related to a specific RTCRtpSender and the corresponding media-level metrics.
Definition: Stats.h:125
@ RTC_STATS_TYPE_TRACK
Statistics related to a specific MediaStreamTrack's attachment to an RTCRtpSender.
Definition: Stats.h:126
#define MAX_CANDIDATE_TYPE_LENGTH
Definition: Stats.h:76
ICE_CANDIDATE_PAIR_STATE
Indicates computing states in the checklist Reference: https://www.w3.org/TR/webrtc-stats/#rtcstatsic...
Definition: Stats.h:137
@ ICE_CANDIDATE_PAIR_STATE_IN_PROGRESS
Definition: Stats.h:140
@ ICE_CANDIDATE_PAIR_STATE_SUCCEEDED
Definition: Stats.h:141
@ ICE_CANDIDATE_PAIR_STATE_FROZEN
Definition: Stats.h:138
@ ICE_CANDIDATE_PAIR_STATE_WAITING
Definition: Stats.h:139
@ ICE_CANDIDATE_PAIR_STATE_FAILED
Definition: Stats.h:142
RTC_ICE_ROLE
Set details of the IceAgent based on STUN_ATTRIBUTE_TYPE_USE_CANDIDATE flag Reference: https://www....
Definition: Stats.h:149
@ RTC_ICE_ROLE_CONTROLLED
A controlled agent. The iCE agent waits for the controlling agent to select the final choice of candi...
Definition: Stats.h:152
@ RTC_ICE_ROLE_UNKNOWN
An agent whose role is undetermined. Initial state.
Definition: Stats.h:150
@ RTC_ICE_ROLE_CONTROLLING
A controlling agent. The ICE agent that is responsible for selecting the final choice of candidate pa...
Definition: Stats.h:151
ICE_CANDIDATE_TYPE
Definition: Stats.h:97
@ ICE_CANDIDATE_TYPE_RELAYED
ICE_CANDIDATE_TYPE_RELAYED.
Definition: Stats.h:101
@ ICE_CANDIDATE_TYPE_HOST
ICE_CANDIDATE_TYPE_HOST.
Definition: Stats.h:98
@ ICE_CANDIDATE_TYPE_SERVER_REFLEXIVE
ICE_CANDIDATE_TYPE_SERVER_REFLEXIVE.
Definition: Stats.h:100
@ ICE_CANDIDATE_TYPE_PEER_REFLEXIVE
ICE_CANDIDATE_TYPE_PEER_REFLEXIVE.
Definition: Stats.h:99
RTC_QUALITY_LIMITATION_REASON
Defines reasons for quality limitation for sending streams.
Definition: Stats.h:172
@ RTC_QUALITY_LIMITATION_REASON_BANDWIDTH
Reason for limitation is congestion cues during bandwidth estimation.
Definition: Stats.h:174
@ RTC_QUALITY_LIMITATION_REASON_OTHER
Limitation due to reasons other than above.
Definition: Stats.h:176
@ RTC_QUALITY_LIMITATION_REASON_NONE
Resolution as expected. Default value.
Definition: Stats.h:173
@ RTC_QUALITY_LIMITATION_REASON_CPU
The resolution and/or framerate is primarily limited due to CPU load.
Definition: Stats.h:175
UINT64 DOMHighResTimeStamp
The DOMHighResTimeStamp type is used to store a time value in milliseconds, measured relative from th...
Definition: Stats.h:92
RTC_DTLS_TRANSPORT_STATE_STATS
DTLS Transport State Reference: https://www.w3.org/TR/webrtc/#rtcdtlstransport-interface.
Definition: Stats.h:159
@ RTC_DTLS_TRANSPORT_STATE_STATS_CONNECTED
DTLS has completed negotiation of a secure connection.
Definition: Stats.h:162
@ RTC_DTLS_TRANSPORT_STATE_STATS_CONNECTING
DTLS is in the process of negotiating a secure connection.
Definition: Stats.h:161
@ RTC_DTLS_TRANSPORT_STATE_STATS_NEW
DTLS has not started negotiating yet.
Definition: Stats.h:160
@ RTC_DTLS_TRANSPORT_STATE_STATS_CLOSED
The transport has been closed intentionally.
Definition: Stats.h:163
@ RTC_DTLS_TRANSPORT_STATE_STATS_FAILED
The transport has failed as the result of an error.
Definition: Stats.h:164
#define MAX_DTLS_CIPHER_LENGTH
Definition: Stats.h:45
#define MAX_ICE_CONFIG_URI_LEN
Definition: Stats.h:30
#define MAX_STATS_STRING_LENGTH
Definition: Stats.h:70
#define IP_ADDR_STR_LENGTH
Definition: Stats.h:65
#define MAX_PROTOCOL_LENGTH
Definition: Stats.h:60
#define MAX_CANDIDATE_ID_LENGTH
Definition: Stats.h:25
#define MAX_TLS_GROUP_LENGHTH
Definition: Stats.h:55
#define MAX_SRTP_CIPHER_LENGTH
Definition: Stats.h:50
#define MAX_TLS_VERSION_LENGTH
Definition: Stats.h:40
struct RtcRemoteInboundRtpStreamStats * PRtcRemoteInboundRtpStreamStats
struct PeerConnectionStats * PPeerConnectionStats
struct RTCSentRtpStreamStats * PRTCSentRtpStreamStats
struct QualityLimitationDurationsRecord * PQualityLimitationDurationsRecord
struct RtcOutboundRtpStreamStats * PRtcOutboundRtpStreamStats
struct KvsIceAgentStats * PKvsIceAgentStats
struct DscpPacketsSentRecord * PDscpPacketsSentRecord
RTC_DATA_CHANNEL_STATE
Definition: Stats.h:560
struct RtcStatsObject * PRtcStatsObject
struct RtcIceServerStats * PRtcIceServerStats
struct RTCRtpStreamStats * PRTCRtpStreamStats
struct RtcIceCandidateStats * PRtcIceCandidateStats
struct RtcInboundRtpStreamStats * PRtcInboundRtpStreamStats
struct RtcTransportStats * PRtcTransportStats
struct SignalingClientStats * PSignalingClientStats
struct RtcDataChannelStats * PRtcDataChannelStats
struct RtcIceCandidatePairStats * PRtcIceCandidatePairStats
struct RtcReceivedRtpStreamStats * PRtcReceivedRtpStreamStats
@ RTC_DATA_CHANNEL_STATE_OPEN
Set on opening data channel on embedded side or receiving onOpen event.
Definition: Stats.h:562
@ RTC_DATA_CHANNEL_STATE_CONNECTING
Set while creating data channel.
Definition: Stats.h:561
@ RTC_DATA_CHANNEL_STATE_CLOSED
TODO: Set the state to closed after adding onClose handler to data channel.
Definition: Stats.h:564
@ RTC_DATA_CHANNEL_STATE_CLOSING
TODO: Set the state to closed after adding onClosing handler to data channel.
Definition: Stats.h:563
Record of total number of packets sent per DSCP. Used by RTCOutboundRtpStreamStats object.
Definition: Stats.h:192
DOMString dscp
DSCP String.
Definition: Stats.h:193
UINT64 totalNumberOfPacketsSent
Number of packets sent.
Definition: Stats.h:194
: IceAgent profiling Stats related to the KVS ICE Agent
Definition: Stats.h:261
UINT64 iceCandidatePairNominationTime
Definition: Stats.h:267
UINT64 candidateGatheringTime
Definition: Stats.h:268
UINT64 srflxCandidateSetUpTime
Definition: Stats.h:264
UINT64 relayCandidateSetUpTime
Definition: Stats.h:265
UINT64 candidateGatheringEndTime
Definition: Stats.h:271
UINT64 localCandidateGatheringTime
Definition: Stats.h:262
UINT64 hostCandidateSetUpTime
Definition: Stats.h:263
UINT64 candidateGatheringStartTime
Definition: Stats.h:270
UINT64 iceAgentSetUpTime
Definition: Stats.h:269
UINT64 iceServerParsingTime
Definition: Stats.h:266
Custom data type to allow setting UINT32 data type to NULL since C does not support setting basic dat...
Definition: NullableDefs.h:105
UINT64 stunDnsResolutionTime
Time taken (ms) to complete STUN DNS resolution on the thread.
Definition: Stats.h:646
UINT64 dtlsSessionSetupTime
Time taken (ms) for DTLS handshake to complete.
Definition: Stats.h:642
UINT64 peerConnectionConnectedTime
Definition: Stats.h:640
UINT64 peerConnectionStartTime
Definition: Stats.h:639
UINT64 iceHolePunchingTime
Time taken (ms) for ICE agent set up to complete.
Definition: Stats.h:643
UINT64 peerConnectionCreationTime
Time taken (ms) for peer connection object creation time.
Definition: Stats.h:641
UINT64 closePeerConnectionTime
Time taken (ms) to close the peer connection.
Definition: Stats.h:644
UINT64 freePeerConnectionTime
Time taken (ms) to free the peer connection object.
Definition: Stats.h:645
UINT64 durationInSeconds
Time (seconds) spent in each state.
Definition: Stats.h:184
RTC_QUALITY_LIMITATION_REASON qualityLimitationReason
Quality limitation reason.
Definition: Stats.h:185
RTCRtpStreamStats captures stream stats that will be used as part of RTCSentRtpStreamStats report Ref...
Definition: Stats.h:324
DOMString kind
Definition: Stats.h:327
UINT32 ssrc
Definition: Stats.h:325
DOMString codecId
Definition: Stats.h:334
DOMString transportId
Definition: Stats.h:330
RTCSentRtpStreamStats will be used as part of outbound Rtp stats Reference: https://www....
Definition: Stats.h:342
UINT64 packetsSent
Definition: Stats.h:344
UINT64 bytesSent
Definition: Stats.h:345
RTCRtpStreamStats rtpStream
Definition: Stats.h:343
UINT32 messagesReceived
Represents the total number of API "message" events received.
Definition: Stats.h:578
UINT64 bytesSent
Represents the total number of payload bytes sent on this RTCDatachannel, i.e., not including headers...
Definition: Stats.h:577
RTC_DATA_CHANNEL_STATE state
The "readyState" value of the RTCDataChannel object.
Definition: Stats.h:575
INT32 dataChannelIdentifier
The "id" attribute of the RTCDataChannel object.
Definition: Stats.h:573
UINT64 bytesReceived
Represents the total number of bytes received on this RTCDatachannel, i.e., not including headers or ...
Definition: Stats.h:579
DOMString label
The "label" value of the RTCDataChannel object.
Definition: Stats.h:571
DOMString transportId
TODO: A stats object reference for the transport used to carry this datachannel.
Definition: Stats.h:574
DOMString protocol
The "protocol" value of the RTCDataChannel object.
Definition: Stats.h:572
UINT32 messagesSent
Represents the total number of API "message" events sent.
Definition: Stats.h:576
RtcIceCandidatePairStats Stats related to the local-remote ICE candidate pair.
Definition: Stats.h:203
DOUBLE totalRoundTripTime
Definition: Stats.h:225
UINT64 responsesReceived
The total number of connectivity check responses received.
Definition: Stats.h:236
UINT64 packetsSent
Total number of packets sent on this candidate pair;.
Definition: Stats.h:212
BOOL nominated
Definition: Stats.h:207
UINT64 bytesDiscardedOnSend
Total number of bytes for this candidate pair discarded due to socket errors.
Definition: Stats.h:238
UINT64 lastRequestTimestamp
Definition: Stats.h:221
UINT64 requestsSent
The total number of connectivity check requests sent (without retransmissions).
Definition: Stats.h:235
UINT64 responsesSent
The total number of connectivity check responses sent.
Definition: Stats.h:237
ICE_CANDIDATE_PAIR_STATE state
State of checklist for the local-remote candidate pair.
Definition: Stats.h:206
UINT32 packetsDiscardedOnSend
Total number of packets discarded for candidate pair due to socket errors,.
Definition: Stats.h:211
NullableUint32 circuitBreakerTriggerCount
Definition: Stats.h:209
UINT64 bytesSent
Total number of bytes (minus header and padding) sent on this candidate pair.
Definition: Stats.h:214
UINT64 lastPacketReceivedTimestamp
Definition: Stats.h:218
UINT64 lastResponseTimestamp
Represents the timestamp at which the last STUN response was received on this particular candidate pa...
Definition: Stats.h:224
DOUBLE availableIncomingBitrate
Definition: Stats.h:232
UINT64 firstRequestTimestamp
Represents the timestamp at which the first STUN request was sent on this particular candidate pair.
Definition: Stats.h:220
UINT64 bytesReceived
Total number of bytes (minus header and padding) received on this candidate pair.
Definition: Stats.h:215
DOUBLE currentRoundTripTime
Latest round trip time (seconds)
Definition: Stats.h:229
UINT64 lastPacketSentTimestamp
Definition: Stats.h:216
UINT64 requestsReceived
Total number of connectivity check requests received (including retransmission)
Definition: Stats.h:234
DOUBLE availableOutgoingBitrate
Definition: Stats.h:230
UINT64 packetsReceived
Total number of packets received on this candidate pair.
Definition: Stats.h:213
: RtcIceCandidateStats Stats related to a specific candidate in a pair
Definition: Stats.h:280
DOMString url
For local candidates this is the URL of the ICE server from which the candidate was obtained.
Definition: Stats.h:281
INT32 priority
Computed using the formula in https://tools.ietf.org/html/rfc5245#section-15.1.
Definition: Stats.h:286
INT32 port
Port number of the candidate.
Definition: Stats.h:287
: RtcIceServerStats Stats related to the ICE Server
Definition: Stats.h:246
UINT64 totalRequestsSent
Total amount of requests that have been sent to the server.
Definition: Stats.h:252
INT32 port
Port number used by client.
Definition: Stats.h:251
UINT32 iceServerIndex
Definition: Stats.h:249
UINT64 totalResponsesReceived
Total number of responses received from the server.
Definition: Stats.h:253
UINT64 totalRoundTripTime
Sum of RTTs of all the requests for which response has been received.
Definition: Stats.h:254
The RTCInboundRtpStreamStats dictionary represents the measurement metrics for the incoming RTP media...
Definition: Stats.h:458
DOUBLE jitterBufferDelay
Definition: Stats.h:525
DOUBLE totalDecodeTime
Definition: Stats.h:480
DOMString trackId
Definition: Stats.h:460
UINT64 insertedSamplesForDeceleration
Definition: Stats.h:540
UINT64 concealedSamples
Definition: Stats.h:535
DOMHighResTimeStamp lastPacketReceivedTimestamp
Definition: Stats.h:496
UINT64 samplesDecodedWithCelt
Definition: Stats.h:533
DOMHighResTimeStamp estimatedPlayoutTimestamp
TODO This is the estimated playout time of this receiver's track.
Definition: Stats.h:524
DOUBLE totalSquaredInterFrameDelay
Definition: Stats.h:487
UINT64 removedSamplesForAcceleration
Definition: Stats.h:542
UINT64 jitterBufferEmittedCount
Definition: Stats.h:527
UINT64 qpSum
Definition: Stats.h:476
BOOL voiceActivityFlag
Definition: Stats.h:491
DOUBLE framesPerSecond
TODO Only valid for video. The number of decoded frames in the last second.
Definition: Stats.h:475
RtcReceivedRtpStreamStats received
Definition: Stats.h:459
DOUBLE audioLevel
Definition: Stats.h:544
UINT64 concealmentEvents
Definition: Stats.h:538
UINT64 packetsDuplicated
Definition: Stats.h:514
DOUBLE totalSamplesDuration
Definition: Stats.h:550
UINT64 packetsFailedDecryption
Definition: Stats.h:512
UINT32 pliCount
TODO Only valid for video. Count the total number of Picture Loss Indication (PLI) packets sent by th...
Definition: Stats.h:522
DOMString decoderImplementation
TODO Identifies the decoder implementation used. This is useful for diagnosing interoperability issue...
Definition: Stats.h:554
UINT64 bytesReceived
Total number of bytes received for this SSRC. Calculated as defined in [RFC3550] section 6....
Definition: Stats.h:511
UINT32 sliCount
TODO Only valid for video. Count the total number of Slice Loss Indication (SLI) packets sent by this...
Definition: Stats.h:523
UINT64 silentConcealedSamples
TODO Only valid for audio. The total number of concealed samples inserted that are "silent".
Definition: Stats.h:537
UINT8 frameBitDepth
Definition: Stats.h:473
UINT32 firCount
TODO Only valid for video. Count the total number of Full Intra Request (FIR) packets sent by this re...
Definition: Stats.h:521
UINT64 headerBytesReceived
Definition: Stats.h:501
DOMString receiverId
TODO The stats ID used to look up the RTCAudioReceiverStats or RTCVideoReceiverStats object receiving...
Definition: Stats.h:462
UINT16 frameWidth
Definition: Stats.h:469
UINT64 fecPacketsReceived
Definition: Stats.h:504
UINT32 framesReceived
Definition: Stats.h:552
UINT32 nackCount
TODO Count the total number of Negative ACKnowledgement (NACK) packets sent by this receiver.
Definition: Stats.h:520
DOUBLE totalInterFrameDelay
Definition: Stats.h:483
DOMString remoteId
TODO The remoteId is used for looking up the remote RTCRemoteOutboundRtpStreamStats object for the sa...
Definition: Stats.h:463
UINT32 keyFramesDecoded
Definition: Stats.h:466
UINT16 frameHeight
Definition: Stats.h:471
UINT32 framesDecoded
Definition: Stats.h:464
DOUBLE totalAudioEnergy
Definition: Stats.h:548
UINT64 totalSamplesReceived
Definition: Stats.h:529
UINT64 samplesDecodedWithSilk
Definition: Stats.h:531
UINT64 fecPacketsDiscarded
Definition: Stats.h:507
DOUBLE averageRtcpInterval
Definition: Stats.h:498
RtcOutboundRtpStreamStats Gathers stats for media stream from the embedded device Note: RTCOutboundRt...
Definition: Stats.h:357
UINT64 headerBytesSent
Total number of RTP header and padding bytes sent for this SSRC.
Definition: Stats.h:385
UINT64 totalSamplesSent
TODO Only valid for audio. The total number of samples that have been sent over this RTP stream.
Definition: Stats.h:393
UINT32 frameBitDepth
Only valid for video. Represents the bit depth per pixel of the last encoded frame....
Definition: Stats.h:376
DOMString senderId
TODO The stats ID used to look up the RTCAudioSenderStats or RTCVideoSenderStats object sending this ...
Definition: Stats.h:363
UINT64 retransmittedBytesSent
The total number of PAYLOAD bytes retransmitted for this SSRC.
Definition: Stats.h:388
UINT32 packetsDiscardedOnSend
Total number of RTP packets for this SSRC that have been discarded due to socket errors.
Definition: Stats.h:367
UINT64 averageRtcpInterval
The average RTCP interval between two consecutive compound RTCP packets.
Definition: Stats.h:398
DOMString mediaSourceId
TODO ID representing the current media source.
Definition: Stats.h:362
RTC_QUALITY_LIMITATION_REASON qualityLimitationReason
Only valid for video.
Definition: Stats.h:401
INT32 fecPacketsSent
TODO Total number of RTP FEC packets sent for this SSRC. Can also be incremented while sending FEC pa...
Definition: Stats.h:383
UINT64 retransmittedPacketsSent
The total number of packets that were retransmitted for this SSRC.
Definition: Stats.h:387
RTCSentRtpStreamStats sent
Comprises of information such as packetsSent and bytesSent.
Definition: Stats.h:358
DOMString encoderImplementation
Identifies the encoder implementation used.
Definition: Stats.h:366
UINT64 targetBitrate
Current target TIAS bitrate configured for this particular SSRC.
Definition: Stats.h:389
UINT64 bytesDiscardedOnSend
Total number of bytes for this SSRC that have been discarded due to socket errors.
Definition: Stats.h:386
DscpPacketsSentRecord perDscpPacketsSent
Total number of packets sent for this SSRC, per DSCP.
Definition: Stats.h:400
UINT64 qpSum
TODO Only valid for video. The sum of the QP values of frames encoded by this sender....
Definition: Stats.h:392
UINT32 frameHeight
Only valid for video. Represents the height of the last encoded frame.
Definition: Stats.h:375
UINT64 samplesEncodedWithCelt
TODO Only valid for audio and when the audio codec is Opus. Represnets only CELT portion of codec.
Definition: Stats.h:395
UINT32 pliCount
Only valid for video. Count the total number of Picture Loss Indication (PLI) packets received by thi...
Definition: Stats.h:379
UINT32 framesSent
Only valid for video. Represents the total number of frames sent on this RTP stream.
Definition: Stats.h:368
UINT32 keyFramesEncoded
Only valid for video. It represents the total number of key frames encoded successfully in the RTP St...
Definition: Stats.h:372
BOOL voiceActivityFlag
Definition: Stats.h:359
UINT32 sliCount
Only valid for video. Count the total number of Slice Loss Indication (SLI) packets received by this ...
Definition: Stats.h:380
UINT32 firCount
Only valid for video. Count the total number of Full Intra Request (FIR) packets received by this sen...
Definition: Stats.h:378
UINT64 samplesEncodedWithSilk
TODO Only valid for audio and when the audio codec is Opus. Represnets only SILK portion of codec.
Definition: Stats.h:394
DOMString remoteId
TODO ID to look up the remote RTCRemoteInboundRtpStreamStats object for the same SSRC.
Definition: Stats.h:364
UINT32 nackCount
Count the total number of Negative ACKnowledgement (NACK) packets received by this sender.
Definition: Stats.h:377
QualityLimitationDurationsRecord qualityLimitationDurations
Total time (seconds) spent in each reason state.
Definition: Stats.h:399
UINT32 frameWidth
Only valid for video. Represents the width of the last encoded frame.
Definition: Stats.h:374
UINT32 framesEncoded
Only valid for video. It represents the total number of frames successfully encoded for this RTP medi...
Definition: Stats.h:371
UINT64 totalPacketSendDelay
Total time (seconds) packets have spent buffered locally before being transmitted onto the network.
Definition: Stats.h:397
DOUBLE framesPerSecond
Only valid for video. The number of encoded frames during the last second.
Definition: Stats.h:391
DOMString rid
TODO Exposes the rid encoding parameter of this RTP stream if it has been set, otherwise it is undefi...
Definition: Stats.h:365
UINT64 totalEncodeTime
Total number of milliseconds that has been spent encoding the framesEncoded frames of the stream.
Definition: Stats.h:396
UINT32 qualityLimitationResolutionChanges
Definition: Stats.h:381
UINT64 lastPacketSentTimestamp
The timestamp in milliseconds at which the last packet was sent for this SSRC.
Definition: Stats.h:384
UINT32 framesDiscardedOnSend
Total number of video frames that have been discarded for this SSRC due to socket errors.
Definition: Stats.h:373
DOMString trackId
ID representing current track attached to the sender of the stream.
Definition: Stats.h:361
UINT64 totalEncodedBytesTarget
Increased by the target frame size in bytes every time a frame has been encoded.
Definition: Stats.h:390
UINT32 hugeFramesSent
Definition: Stats.h:369
RTCRtpStreamStats rtpStream
Definition: Stats.h:419
UINT64 packetsReceived
Total number of RTP packets received for this SSRC.
Definition: Stats.h:420
UINT32 burstLossCount
Definition: Stats.h:430
UINT64 packetsDiscarded
Definition: Stats.h:424
UINT32 burstDiscardCount
TODO The cumulative number of bursts of discarded RTP packets, Appendix A (e) of [RFC8015].
Definition: Stats.h:432
DOUBLE gapDiscardRate
Definition: Stats.h:439
DOUBLE burstLossRate
Definition: Stats.h:433
DOUBLE jitter
Packet Jitter measured in seconds for this SSRC. Calculated as defined in section 6....
Definition: Stats.h:423
UINT32 fullFramesLost
Definition: Stats.h:448
DOUBLE burstDiscardRate
Definition: Stats.h:435
UINT64 burstPacketsDiscarded
TODO The cumulative number of RTP packets discarded during discard bursts, Appendix A (b) of [RFC7003...
Definition: Stats.h:429
INT64 packetsLost
Definition: Stats.h:421
UINT32 framesDropped
Definition: Stats.h:441
UINT64 burstPacketsLost
TODO The cumulative number of RTP packets lost during loss bursts, Appendix A (c) of [RFC6958].
Definition: Stats.h:428
UINT64 packetsRepaired
TODO The cumulative number of lost RTP packets repaired after applying an error-resilience mechanism ...
Definition: Stats.h:427
DOUBLE gapLossRate
Definition: Stats.h:437
UINT32 partialFramesLost
Definition: Stats.h:444
RTCRemoteInboundRtpStreamStats Represents the remote endpoint's measurement metrics for a particular ...
Definition: Stats.h:409
DOUBLE fractionLost
The fraction packet loss reported for this SSRC.
Definition: Stats.h:413
UINT64 totalRoundTripTime
The cumulative sum of all round trip time measurements in seconds since the beginning of the session.
Definition: Stats.h:412
UINT64 roundTripTime
Estimated round trip time (milliseconds) for this SSRC based on the RTCP timestamps.
Definition: Stats.h:411
DOMString localId
Used to look up RTCOutboundRtpStreamStats for the SSRC.
Definition: Stats.h:410
UINT64 roundTripTimeMeasurements
Total number of RTCP RR blocks received for this SSRC that contain a valid round trip time.
Definition: Stats.h:415
UINT64 reportsReceived
Total number of RTCP RR blocks received for this SSRC.
Definition: Stats.h:414
RTCStatsObject Represents an object passed in by the application developer which will be populated in...
Definition: Stats.h:653
RtcIceCandidateStats localIceCandidateStats
local ICE Candidate stats object
Definition: Stats.h:655
RtcIceCandidatePairStats iceCandidatePairStats
ICE Candidate Pair stats object.
Definition: Stats.h:654
RtcOutboundRtpStreamStats outboundRtpStreamStats
Outbound RTP Stream stats object.
Definition: Stats.h:659
RtcRemoteInboundRtpStreamStats remoteInboundRtpStreamStats
Remote Inbound RTP Stream stats object.
Definition: Stats.h:660
RtcDataChannelStats rtcDataChannelStats
Definition: Stats.h:662
RtcIceServerStats iceServerStats
ICE Server Pair stats object.
Definition: Stats.h:657
RtcInboundRtpStreamStats inboundRtpStreamStats
Inbound RTP Stream stats object.
Definition: Stats.h:661
RtcTransportStats transportStats
Transport stats object.
Definition: Stats.h:658
RtcIceCandidateStats remoteIceCandidateStats
remote ICE Candidate stats object
Definition: Stats.h:656
RtcTransportStats Represents the stats corresponding to an RTCDtlsTransport and its underlying RTCIce...
Definition: Stats.h:297
DOMString rtcpTransportStatsId
ID of the transport that gives stats for the RTCP component.
Definition: Stats.h:298
RTC_DTLS_TRANSPORT_STATE_STATS dtlsState
Set to the current value of the "state" attribute of the underlying RTCDtlsTransport.
Definition: Stats.h:312
UINT64 bytesReceived
The total number of payload bytes received on this PeerConnection (excluding header and padding)
Definition: Stats.h:316
UINT64 packetsSent
Total number of packets sent over the transport.
Definition: Stats.h:313
DOMString localCertificateId
For components where DTLS is negotiated, give local certificate.
Definition: Stats.h:300
DOMString selectedCandidatePairId
ID of the object inspected to produce RtcIceCandidatePairStats.
Definition: Stats.h:299
UINT64 bytesSent
The total number of payload bytes sent on this PeerConnection (excluding header and padding)
Definition: Stats.h:315
UINT64 packetsReceived
Total number of packets received over the transport.
Definition: Stats.h:314
RTC_ICE_ROLE iceRole
Set to the current value of the "role" attribute of the underlying RTCDtlsTransport's "transport".
Definition: Stats.h:311
UINT32 selectedCandidatePairChanges
The number of times that the selected candidate pair of this transport has changed.
Definition: Stats.h:317
DOMString remoteCertificateId
For components where DTLS is negotiated, give remote certificate.
Definition: Stats.h:301
SignalingClientMetrics Represent the stats related to the KVS WebRTC SDK signaling client.
Definition: Stats.h:585
UINT64 dpApiCallLatency
Latency (in 100 ns) incurred per backend API call for the data plane APIs.
Definition: Stats.h:599
UINT64 answerTime
Definition: Stats.h:634
UINT64 offerReceivedTime
Definition: Stats.h:633
UINT64 connectionDuration
Duration of connection (in 100 ns)
Definition: Stats.h:601
UINT64 connectCallTime
Time (ms) taken to execute connectChannel call.
Definition: Stats.h:626
UINT64 createChannelEndTime
Definition: Stats.h:595
UINT64 getSignalingChannelEndpointStartTime
Definition: Stats.h:588
UINT64 getIceServerConfigEndTime
Definition: Stats.h:591
UINT64 getIceConfigCallTime
Time (ms) taken to execute getIceServerConfig call.
Definition: Stats.h:625
UINT32 numberOfErrors
Definition: Stats.h:605
UINT64 describeCallTime
Time (ms) taken to execute describeChannel call.
Definition: Stats.h:621
UINT64 connectStartTime
Definition: Stats.h:596
UINT64 getTokenCallTime
Time (ms) taken to get credentials for signaling.
Definition: Stats.h:620
UINT64 getIceServerConfigStartTime
Definition: Stats.h:590
UINT64 describeChannelEndTime
Definition: Stats.h:587
UINT64 offerToAnswerTime
Definition: Stats.h:632
UINT64 getTokenStartTime
Definition: Stats.h:592
UINT64 describeChannelStartTime
Definition: Stats.h:586
UINT64 cpApiCallLatency
Latency (in 100 ns) incurred per backend API call for the control plane APIs.
Definition: Stats.h:598
UINT64 joinSessionCallTime
Time (ms) taken to execute joinSession call.
Definition: Stats.h:627
UINT32 numberOfMessagesSent
Number of messages sent by the signaling client.
Definition: Stats.h:602
UINT64 describeMediaCallTime
Time (ms) taken to execute describeChannel call.
Definition: Stats.h:622
UINT32 iceRefreshCount
Number of times the ICE is refreshed.
Definition: Stats.h:604
UINT64 createChannelStartTime
Definition: Stats.h:594
UINT32 numberOfReconnects
Number of reconnects in the session.
Definition: Stats.h:618
UINT32 apiCallRetryCount
Number of retries due to API call failures in the state machine.
Definition: Stats.h:619
UINT64 joinSessionToOfferRecvTime
Total time (ms) taken from joinSession call until offer is received.
Definition: Stats.h:635
UINT64 connectClientTime
Total time (ms) taken to connect the signaling client which includes connecting to the signaling chan...
Definition: Stats.h:631
UINT64 getTokenEndTime
Definition: Stats.h:593
UINT64 getEndpointCallTime
Time (ms) taken to execute getEndpoint call.
Definition: Stats.h:624
UINT64 getSignalingChannelEndpointEndTime
Definition: Stats.h:589
UINT64 connectEndTime
Definition: Stats.h:597
UINT64 fetchClientTime
Total time (ms) taken to fetch signaling client which includes describe, create, get endpoint and get...
Definition: Stats.h:630
UINT64 createClientTime
Total time (ms) taken to create signaling client which includes getting credentials.
Definition: Stats.h:628
UINT64 signalingClientUptime
Client uptime (in 100 ns). Timestamp will be recorded at every SIGNALING_CLIENT_STATE_CONNECTED.
Definition: Stats.h:600
UINT32 numberOfRuntimeErrors
Definition: Stats.h:610
UINT32 numberOfMessagesReceived
Number of messages received by the signaling client.
Definition: Stats.h:603
UINT64 createCallTime
Time (ms) taken to execute createChannel call.
Definition: Stats.h:623