OBSERVERTC / Schemas

ClientSample field reference

Every nested record, field type and default from schema 3.7.0.

This inventory comes from the actual Avro definitions. A field’s presence in this schema does not prove it is a browser-native statistic. Client createSample() methods determine the values actually emitted.

Most derived rates, detector state and declared context stay on live monitors. Track samples project identity, kind, timestamp, attachments and score information. Extension entries contain type and payload; a local extension monitor ID is not transmitted.

Serialization methods · Generation and compatibility

ClientSample

Source

FieldAvro typeDefaultDescription
callId["null","string"]nullthe unique identifier of the call or session
clientId["null","string"]nullUnique id of the client providing samples.
attachments["null","string"]nullAdditional information attached to this sample (e.g.: roomId, userId, displayName, etc…)
timestamp"long"requiredThe timestamp the sample is created in GMT
score["null","double"]nullCalculated score for client (details should be added to scoreReasons)
scoreReasons["null",{"type":"map","values":"double"}]nullReasons for the score calculation, mapping each reason to how much it contributed to the score
peerConnections["null",{"type":"array","items":"@include-chunk PeerConnectionSample"}]nullSamples taken PeerConnections
clientEvents["null",{"type":"array","items":{"name":"ClientEvent","type":"record"}}]nullA list of client events.
clientIssues["null",{"type":"array","items":{"name":"ClientIssue","type":"record"}}]nullA list of client issues.
clientMetaItems["null",{"type":"array","items":{"name":"ClientMetaData","type":"record"}}]nullA list of additional client events.
extensionStats["null",{"type":"array","items":{"name":"ExtensionStat","type":"record"}}]nullThe WebRTC app provided custom stats payload

ClientEvent

Source

FieldAvro typeDefaultDescription
type"string"requiredThe name of the event used as an identifier (e.g., MEDIA_TRACK_MUTED, USER_REJOINED, etc.).
payload["null",{"type":"map","values":{"name":"AnyValue","type":"record"}}]nullThe attributes of the event, if applicable.
timestamp["null","long"]nullThe timestamp in epoch format when the event was generated.

AnyValue

Source

FieldAvro typeDefaultDescription
boolValue["null","boolean"]null
stringValue["null","string"]null
numberValue["null","double"]null
objectValue["null",{"type":"map","values":"AnyValue"}]null
arrayValue["null",{"type":"array","items":"AnyValue"}]null

ClientIssue

Source

FieldAvro typeDefaultDescription
type"string"requiredThe name of the issue
key["null","string"]nullIdentifier of the related issue or resolution when it is provided.
payload["null",{"type":"map","values":"AnyValue"}]nullThe attributes of the issue, if applicable.
timestamp["null","long"]nullThe timestamp in epoch format when the event was generated.

ClientMetaData

Source

FieldAvro typeDefaultDescription
type"string"requiredThe name of the event used as an identifier (e.g., MEDIA_TRACK_MUTED, USER_REJOINED, etc.).
payload["null",{"type":"map","values":"AnyValue"}]nullThe attributes of the meta data entry, if applicable.
peerConnectionId["null","string"]nullThe unique identifier of the peer connection for which the event was generated.
trackId["null","string"]nullThe identifier of the media track related to the event, if applicable.
ssrc["null","long"]nullThe SSRC (Synchronization Source) identifier associated with the event, if applicable.
timestamp["null","long"]nullThe timestamp in epoch format when the event was generated.

ExtensionStat

Source

FieldAvro typeDefaultDescription
type"string"requiredThe type of the extension stats the custom app provides
payload["null",{"type":"map","values":"AnyValue"}]nullThe payload of the extension stats the custom app provides

PeerConnectionSample

Source

FieldAvro typeDefaultDescription
peerConnectionId"string"requiredUnique identifier of the stats object.
attachments["null","string"]nullAdditional information attached to this sample
score["null","double"]nullCalculated score for peer connection (details should be added to scoreReasons)
scoreReasons["null",{"type":"map","values":"double"}]nullReasons for the score calculation, mapping each reason to how much it contributed to the score
inboundTracks["null",{"type":"array","items":{"type":"record","name":"InboundTrackSample"}}]nullInbound Track Stats items
outboundTracks["null",{"type":"array","items":{"type":"record","name":"OutboundTrackSample"}}]nullOutbound Track Stats items
codecs["null",{"type":"array","items":{"type":"record","name":"CodecStats"}}]nullCodec items
inboundRtps["null",{"type":"array","items":{"name":"InboundRtpStats","type":"record"}}]nullInbound RTP Stats
remoteInboundRtps["null",{"type":"array","items":{"name":"RemoteInboundRtpStats","type":"record"}}]nullRemote Inbound RTP Stats
outboundRtps["null",{"type":"array","items":{"name":"OutboundRtpStats","type":"record"}}]nullOutbound RTP Stats
remoteOutboundRtps["null",{"type":"array","items":{"name":"RemoteOutboundRtpStats","type":"record"}}]nullRemote Outbound RTP Stats
mediaSources["null",{"type":"array","items":{"name":"MediaSourceStats","type":"record"}}]nullAudio Source Stats
mediaPlayouts["null",{"type":"array","items":{"name":"MediaPlayoutStats","type":"record"}}]nullMedia Playout Stats
peerConnectionTransports["null",{"type":"array","items":{"name":"PeerConnectionTransportStats","type":"record"}}]nullPeerConnection Transport Stats
dataChannels["null",{"type":"array","items":{"name":"DataChannelStats","type":"record"}}]nullData Channels Stats
iceTransports["null",{"type":"array","items":{"name":"IceTransportStats","type":"record"}}]nullICE Transport Stats
iceCandidates["null",{"type":"array","items":{"name":"IceCandidateStats","type":"record"}}]nullICE Candidate Stats
iceCandidatePairs["null",{"type":"array","items":{"name":"IceCandidatePairStats","type":"record"}}]nullICE Candidate Pair Stats
certificates["null",{"type":"array","items":{"name":"CertificateStats","type":"record"}}]nullCertificate Stats

InboundTrackSample

Source

FieldAvro typeDefaultDescription
timestamp"long"requiredThe timestamp when the stats were generated.
id"string"requiredThe unique identifier for the stats object.
kind"string"requiredKind of the media (e.g., ‘audio’ or ‘video’).
score["null","double"]nullCalculated score for track (details should be added to scoreReasons)
scoreReasons["null",{"type":"map","values":"double"}]nullReasons for the score calculation, mapping each reason to how much it contributed to the score
attachments["null","string"]nullAdditional information attached to this stats

OutboundTrackSample

Source

FieldAvro typeDefaultDescription
timestamp"long"requiredThe timestamp when the stats were generated.
id"string"requiredThe unique identifier for the stats object.
kind"string"requiredKind of the media (e.g., ‘audio’ or ‘video’).
score["null","double"]nullCalculated score for track (details should be added to scoreReasons)
scoreReasons["null",{"type":"map","values":"double"}]nullReasons for the score calculation, mapping each reason to how much it contributed to the score
attachments["null","string"]nullAdditional information attached to this stats

CodecStats

Source

FieldAvro typeDefaultDescription
timestamp"long"requiredThe timestamp when the stats were generated.
id"string"requiredThe unique identifier for the stats object.
payloadType["null","int"]nullThe payload type of the codec.
transportId["null","string"]nullThe identifier of the transport associated with the codec.
mimeType"string"requiredThe MIME type of the codec.
clockRate["null","int"]nullThe clock rate of the codec in Hz.
channels["null","int"]nullThe number of audio channels for the codec, if applicable.
sdpFmtpLine["null","string"]nullThe SDP format-specific parameters line for the codec.
attachments["null","string"]nullAdditional information attached to this stats

InboundRtpStats

Source

FieldAvro typeDefaultDescription
timestamp"long"requiredThe time the stats were collected, in high-resolution time.
id"string"requiredUnique identifier of the stats object.
ssrc"long"requiredSynchronization source identifier of the RTP stream.
kind"string"requiredKind of the media (e.g., ‘audio’ or ‘video’).
transportId["null","string"]nullID of the transport associated with the RTP stream.
codecId["null","string"]nullID of the codec used for the RTP stream.
packetsReceived["null","int"]nullNumber of packets received on the RTP stream.
packetsReceivedWithEct1["null","int"]nullTotal number of RTP packets received for this SSRC marked with the ECT(1) marking.
packetsReceivedWithCe["null","int"]nullTotal number of RTP packets received for this SSRC marked with the CE marking.
packetsReportedAsLost["null","int"]nullTotal number of RTP packets for which an RFC8888 report has been sent with a zero R bit.
packetsReportedAsLostButRecovered["null","int"]nullTotal number of RTP packets reported as lost but later recovered in a subsequent RFC8888 report.
packetsLost["null","int"]nullNumber of packets lost on the RTP stream.
jitter["null","double"]nullJitter of the RTP stream in seconds.
trackIdentifier"string"requiredIdentifier for the media track associated with the RTP stream.
mid["null","string"]nullThe media stream identification tag from the SDP media section.
remoteId["null","string"]nullRemote stats object ID associated with the RTP stream.
framesDecoded["null","int"]nullNumber of frames decoded.
keyFramesDecoded["null","int"]nullNumber of keyframes decoded.
framesRendered["null","int"]nullNumber of frames rendered.
framesDropped["null","int"]nullNumber of frames dropped.
frameWidth["null","int"]nullWidth of the decoded video frames.
frameHeight["null","int"]nullHeight of the decoded video frames.
framesPerSecond["null","double"]nullFrame rate in frames per second.
qpSum["null","double"]nullSum of the Quantization Parameter values for decoded frames.
totalDecodeTime["null","double"]nullTotal time spent decoding in seconds.
totalInterFrameDelay["null","double"]nullSum of inter-frame delays in seconds.
totalSquaredInterFrameDelay["null","double"]nullSum of squared inter-frame delays in seconds.
pauseCount["null","int"]nullNumber of times playback was paused.
totalPausesDuration["null","double"]nullTotal duration of pauses in seconds.
freezeCount["null","int"]nullNumber of times playback was frozen.
totalFreezesDuration["null","double"]nullTotal duration of freezes in seconds.
lastPacketReceivedTimestamp["null","double"]nullTimestamp of the last packet received.
headerBytesReceived["null","long"]nullTotal header bytes received.
packetsDiscarded["null","int"]nullTotal packets discarded.
fecBytesReceived["null","long"]nullTotal bytes received from FEC.
fecPacketsReceived["null","int"]nullTotal packets received from FEC.
fecPacketsDiscarded["null","int"]nullTotal FEC packets discarded.
bytesReceived["null","long"]nullTotal bytes received on the RTP stream.
nackCount["null","int"]nullNumber of NACKs received.
firCount["null","int"]nullNumber of Full Intra Requests received.
pliCount["null","int"]nullNumber of Picture Loss Indications received.
totalProcessingDelay["null","double"]nullTotal processing delay in seconds.
estimatedPlayoutTimestamp["null","double"]nullEstimated timestamp of playout.
jitterBufferDelay["null","double"]nullTotal jitter buffer delay in seconds.
jitterBufferTargetDelay["null","double"]nullTarget delay for the jitter buffer in seconds.
jitterBufferEmittedCount["null","int"]nullNumber of packets emitted from the jitter buffer.
jitterBufferMinimumDelay["null","double"]nullMinimum delay of the jitter buffer in seconds.
totalSamplesReceived["null","long"]nullTotal audio samples received.
concealedSamples["null","long"]nullNumber of concealed audio samples.
silentConcealedSamples["null","long"]nullNumber of silent audio samples concealed.
concealmentEvents["null","int"]nullNumber of audio concealment events.
insertedSamplesForDeceleration["null","long"]nullNumber of audio samples inserted for deceleration.
removedSamplesForAcceleration["null","long"]nullNumber of audio samples removed for acceleration.
audioLevel["null","double"]nullAudio level in the range [0.0, 1.0].
totalAudioEnergy["null","double"]nullTotal audio energy in the stream.
totalSamplesDuration["null","double"]nullTotal duration of all received audio samples in seconds.
framesReceived["null","int"]nullTotal number of frames received.
decoderImplementation["null","string"]nullDecoder implementation used for decoding frames.
playoutId["null","string"]nullPlayout identifier for the RTP stream.
powerEfficientDecoder["null","boolean"]nullIndicates if the decoder is power-efficient.
framesAssembledFromMultiplePackets["null","int"]nullNumber of frames assembled from multiple packets.
totalAssemblyTime["null","double"]nullTotal assembly time for frames in seconds.
retransmittedPacketsReceived["null","int"]nullNumber of retransmitted packets received.
retransmittedBytesReceived["null","long"]nullNumber of retransmitted bytes received.
rtxSsrc["null","long"]nullSSRC of the retransmission stream.
fecSsrc["null","long"]nullSSRC of the FEC stream.
totalCorruptionProbability["null","double"]nullTotal corruption probability of packets.
totalSquaredCorruptionProbability["null","double"]nullTotal squared corruption probability of packets.
corruptionMeasurements["null","int"]nullNumber of corruption measurements.
attachments["null","string"]nullAdditional information attached to this stats

RemoteInboundRtpStats

Source

FieldAvro typeDefaultDescription
timestamp"long"requiredThe timestamp for this stats object in DOMHighResTimeStamp format.
id"string"requiredThe unique identifier for this stats object.
ssrc"long"requiredThe SSRC identifier of the RTP stream.
kind"string"requiredThe type of media (‘audio’ or ‘video’).
transportId["null","string"]nullThe ID of the transport used for this stream.
codecId["null","string"]nullThe ID of the codec used for this stream.
packetsReceived["null","int"]nullThe total number of packets received on this stream.
packetsReceivedWithEct1["null","int"]nullTotal number of RTP packets received for this SSRC marked with the ECT(1) marking.
packetsReceivedWithCe["null","int"]nullTotal number of RTP packets received for this SSRC marked with the CE marking.
packetsReportedAsLost["null","int"]nullTotal number of RTP packets for which an RFC8888 report has been sent with a zero R bit.
packetsReportedAsLostButRecovered["null","int"]nullTotal number of RTP packets reported as lost but later recovered in a subsequent RFC8888 report.
packetsLost["null","int"]nullThe total number of packets lost on this stream.
jitter["null","double"]nullThe jitter value for this stream in seconds.
localId["null","string"]nullThe ID of the local object corresponding to this remote stream.
roundTripTime["null","double"]nullThe most recent RTT measurement for this stream in seconds.
totalRoundTripTime["null","double"]nullThe cumulative RTT for all packets on this stream in seconds.
fractionLost["null","double"]nullThe fraction of packets lost on this stream, calculated over a time interval.
roundTripTimeMeasurements["null","long"]nullThe total number of RTT measurements for this stream.
packetsWithBleachedEct1Marking["null","long"]nullNumber of packets with ECT(1) marking that were bleached by a middlebox.
attachments["null","string"]nullAdditional information attached to this stats

OutboundRtpStats

Source

FieldAvro typeDefaultDescription
timestamp"long"requiredThe timestamp for this stats object in DOMHighResTimeStamp format.
id"string"requiredThe unique identifier for this stats object.
ssrc"long"requiredThe SSRC identifier of the RTP stream.
kind"string"requiredThe type of media (‘audio’ or ‘video’).
transportId["null","string"]nullThe ID of the transport used for this stream.
codecId["null","string"]nullThe ID of the codec used for this stream.
packetsSent["null","int"]nullThe total number of packets sent on this stream.
bytesSent["null","long"]nullThe total number of bytes sent on this stream.
mid["null","string"]nullThe media ID associated with this RTP stream.
mediaSourceId["null","string"]nullThe ID of the media source associated with this stream.
remoteId["null","string"]nullThe ID of the remote object corresponding to this stream.
rid["null","string"]nullThe RID value of the RTP stream.
encodingIndex["null","int"]nullIndex of the encoding in the encoding array.
headerBytesSent["null","long"]nullThe total number of header bytes sent on this stream.
retransmittedPacketsSent["null","int"]nullThe number of retransmitted packets sent on this stream.
retransmittedBytesSent["null","long"]nullThe number of retransmitted bytes sent on this stream.
rtxSsrc["null","long"]nullThe SSRC for the RTX stream, if applicable.
targetBitrate["null","double"]nullThe target bitrate for this RTP stream in bits per second.
totalEncodedBytesTarget["null","long"]nullThe total target encoded bytes for this stream.
frameWidth["null","int"]nullThe width of the frames sent in pixels.
frameHeight["null","int"]nullThe height of the frames sent in pixels.
framesPerSecond["null","double"]nullThe number of frames sent per second.
framesSent["null","int"]nullThe total number of frames sent on this stream.
hugeFramesSent["null","int"]nullThe total number of huge frames sent on this stream.
framesEncoded["null","int"]nullThe total number of frames encoded on this stream.
keyFramesEncoded["null","int"]nullThe total number of key frames encoded on this stream.
qpSum["null","long"]nullThe sum of QP values for all frames encoded on this stream.
psnrSum["null",{"type":"record","name":"PsnrSum"}]nullCumulative PSNR measurements for Y, U, V components.
psnrMeasurements["null","long"]nullTotal number of PSNR measurements collected.
totalEncodeTime["null","double"]nullThe total time spent encoding frames on this stream in seconds.
totalPacketSendDelay["null","double"]nullThe total delay for packets sent on this stream in seconds.
qualityLimitationReason["null","string"]nullThe reason for any quality limitation on this stream (e.g., ‘cpu’, ‘bandwidth’, ‘other’).
qualityLimitationDurations["null",{"type":"record","name":"QualityLimitationDurations"}]nullThe duration of quality limitation reasons categorized by type.
qualityLimitationResolutionChanges["null","int"]nullThe number of resolution changes due to quality limitations.
nackCount["null","int"]nullThe total number of NACK packets sent on this stream.
firCount["null","int"]nullThe total number of FIR packets sent on this stream.
pliCount["null","int"]nullThe total number of PLI packets sent on this stream.
encoderImplementation["null","string"]nullThe implementation of the encoder used for this stream.
powerEfficientEncoder["null","boolean"]nullIndicates whether the encoder is power-efficient.
active["null","boolean"]nullIndicates whether this stream is actively sending data.
scalabilityMode["null","string"]nullThe scalability mode of the encoder used for this stream.
packetsSentWithEct1["null","long"]nullNumber of packets sent with ECT(1) congestion marking.
attachments["null","string"]nullAdditional information attached to this stats.

PsnrSum

Source

FieldAvro typeDefaultDescription
y"double"requiredPSNR value for the Y (luminance) component.
u"double"requiredPSNR value for the U (chrominance) component.
v"double"requiredPSNR value for the V (chrominance) component.

QualityLimitationDurations

Source

FieldAvro typeDefaultDescription
none"double"requiredDuration of no quality limitation in seconds.
cpu"double"requiredDuration of CPU-based quality limitation in seconds.
bandwidth"double"requiredDuration of bandwidth-based quality limitation in seconds.
other"double"requiredDuration of other quality limitation reasons in seconds.

RemoteOutboundRtpStats

Source

FieldAvro typeDefaultDescription
timestamp"long"requiredThe timestamp for this stats object in DOMHighResTimeStamp format.
id"string"requiredThe unique identifier for this stats object.
ssrc"long"requiredThe SSRC identifier of the RTP stream.
kind"string"requiredThe type of media (‘audio’ or ‘video’).
transportId["null","string"]nullThe ID of the transport used for this stream.
codecId["null","string"]nullThe ID of the codec used for this stream.
packetsSent["null","int"]nullThe total number of packets sent on this stream.
bytesSent["null","long"]nullThe total number of bytes sent on this stream.
localId["null","string"]nullThe ID of the local object corresponding to this stream.
remoteTimestamp["null","double"]nullThe remote timestamp for this stats object in DOMHighResTimeStamp format.
reportsSent["null","int"]nullThe total number of reports sent on this stream.
roundTripTime["null","double"]nullThe current estimated round-trip time for this stream in seconds.
totalRoundTripTime["null","double"]nullThe total round-trip time for this stream in seconds.
roundTripTimeMeasurements["null","int"]nullThe total number of round-trip time measurements for this stream.
attachments["null","string"]nullAdditional information attached to this stats

MediaSourceStats

Source

FieldAvro typeDefaultDescription
timestamp"long"requiredThe timestamp of the stat.
id"string"requiredA unique identifier for the stat.
kind"string"requiredThe type of media (‘audio’ or ‘video’).
trackIdentifier["null","string"]nullThe identifier of the media track.
audioLevel["null","double"]nullThe current audio level.
totalAudioEnergy["null","double"]nullThe total audio energy.
totalSamplesDuration["null","double"]nullThe total duration of audio samples.
echoReturnLoss["null","double"]nullThe echo return loss.
echoReturnLossEnhancement["null","double"]nullThe enhancement of echo return loss.
width["null","int"]nullThe width of the video.
height["null","int"]nullThe height of the video.
frames["null","int"]nullThe total number of frames.
framesPerSecond["null","double"]nullThe frames per second of the video.
attachments["null","string"]nullAdditional information attached to this stats

MediaPlayoutStats

Source

FieldAvro typeDefaultDescription
timestamp"long"requiredThe timestamp of the stat.
id"string"requiredA unique identifier for the stat.
kind"string"requiredThe kind of media (audio/video).
synthesizedSamplesDuration["null","double"]nullThe duration of synthesized audio samples.
synthesizedSamplesEvents["null","long"]nullThe number of synthesized audio samples events.
totalSamplesDuration["null","double"]nullThe total duration of all audio samples.
totalPlayoutDelay["null","double"]nullThe total delay experienced during audio playout.
totalSamplesCount["null","long"]nullThe total count of audio samples.
attachments["null","string"]nullAdditional information attached to this stats

PeerConnectionTransportStats

Source

FieldAvro typeDefaultDescription
timestamp"long"requiredThe timestamp of the stat.
id"string"requiredA unique identifier for the stat.
dataChannelsOpened["null","int"]nullThe number of data channels opened.
dataChannelsClosed["null","int"]nullThe number of data channels closed.
attachments["null","string"]nullAdditional information attached to this stats

DataChannelStats

Source

FieldAvro typeDefaultDescription
timestamp"long"requiredThe timestamp of the stat.
id"string"requiredA unique identifier for the stat.
label["null","string"]nullThe label of the data channel.
protocol["null","string"]nullThe protocol of the data channel.
dataChannelIdentifier["null","int"]nullThe identifier for the data channel.
state["null","string"]nullThe state of the data channel (e.g., ‘open’, ‘closed’).
messagesSent["null","int"]nullThe number of messages sent on the data channel.
bytesSent["null","long"]nullThe number of bytes sent on the data channel.
messagesReceived["null","int"]nullThe number of messages received on the data channel.
bytesReceived["null","long"]nullThe number of bytes received on the data channel.
attachments["null","string"]nullAdditional information attached to this stats

IceTransportStats

Source

FieldAvro typeDefaultDescription
timestamp"long"requiredThe timestamp of the stat.
id"string"requiredA unique identifier for the stat.
packetsSent["null","long"]nullThe number of packets sent.
packetsReceived["null","long"]nullThe number of packets received.
bytesSent["null","long"]nullThe number of bytes sent.
bytesReceived["null","long"]nullThe number of bytes received.
iceRole["null","string"]nullThe ICE role (e.g., ‘controlling’, ‘controlled’).
iceLocalUsernameFragment["null","string"]nullThe local username fragment for ICE.
dtlsState["null","string"]nullThe DTLS transport state (e.g., ’new’, ‘connecting’, ‘connected’).
iceState["null","string"]nullThe ICE transport state (e.g., ’new’, ‘checking’, ‘connected’).
selectedCandidatePairId["null","string"]nullThe ID of the selected ICE candidate pair.
localCertificateId["null","string"]nullThe ID of the local certificate.
remoteCertificateId["null","string"]nullThe ID of the remote certificate.
tlsVersion["null","string"]nullThe TLS version used for encryption.
dtlsCipher["null","string"]nullThe DTLS cipher suite used.
dtlsRole["null","string"]nullThe role in the DTLS handshake (e.g., ‘client’, ‘server’).
srtpCipher["null","string"]nullThe SRTP cipher used for encryption.
selectedCandidatePairChanges["null","long"]nullThe number of changes to the selected ICE candidate pair.
ccfbMessagesSent["null","long"]nullNumber of congestion control feedback (CCFB) messages sent on this transport.
ccfbMessagesReceived["null","long"]nullNumber of congestion control feedback (CCFB) messages received on this transport.
attachments["null","string"]nullAdditional information attached to this stats.

IceCandidateStats

Source

FieldAvro typeDefaultDescription
timestamp"long"requiredThe timestamp of the stat.
id"string"requiredA unique identifier for the stat.
transportId["null","string"]nullThe transport ID associated with the ICE candidate.
address["null","string"]nullThe IP address of the ICE candidate.
port["null","int"]nullThe port number of the ICE candidate.
protocol["null","string"]nullThe transport protocol used by the candidate (e.g., ‘udp’, ’tcp’).
candidateType["null","string"]nullThe type of the ICE candidate (e.g., ‘host’, ‘srflx’, ‘relay’).
priority["null","long"]nullThe priority of the ICE candidate.
url["null","string"]nullThe URL of the ICE candidate.
relayProtocol["null","string"]nullThe protocol used for the relay (e.g., ’tcp’, ‘udp’).
foundation["null","string"]nullA string representing the foundation for the ICE candidate.
relatedAddress["null","string"]nullThe related address for the ICE candidate (if any).
relatedPort["null","int"]nullThe related port for the ICE candidate (if any).
usernameFragment["null","string"]nullThe username fragment for the ICE candidate.
tcpType["null","string"]nullThe TCP type of the ICE candidate (e.g., ‘active’, ‘passive’).
attachments["null","string"]nullAdditional information attached to this stats

IceCandidatePairStats

Source

FieldAvro typeDefaultDescription
id"string"requiredThe unique identifier for this RTCStats object.
timestamp"long"requiredThe timestamp of when the stats were recorded, in milliseconds.
transportId["null","string"]nullThe transport id of the connection this candidate pair belongs to.
localCandidateId["null","string"]nullThe ID of the local ICE candidate in this pair.
remoteCandidateId["null","string"]nullThe ID of the remote ICE candidate in this pair.
state["null",{"type":"enum","name":"RTCStatsIceCandidatePairState","symbols":["new","frozen","inProgress","waiting","failed","succeeded","cancelled"]}]nullThe checklist state of this candidate pair. Values follow the W3C RTCStatsIceCandidatePairState enum (frozen, waiting, in-progress, failed, succeeded). Two further values are accepted for backward compatibility and are not part of the current spec: new (never standardised) and cancelled (removed from the spec after 2016).
nominated["null","boolean"]nullWhether this candidate pair has been nominated.
packetsSent["null","int"]nullThe number of packets sent using this candidate pair.
packetsReceived["null","int"]nullThe number of packets received using this candidate pair.
bytesSent["null","long"]nullThe total number of bytes sent using this candidate pair.
bytesReceived["null","long"]nullThe total number of bytes received using this candidate pair.
lastPacketSentTimestamp["null","double"]nullThe timestamp of the last packet sent using this candidate pair.
lastPacketReceivedTimestamp["null","double"]nullThe timestamp of the last packet received using this candidate pair.
totalRoundTripTime["null","double"]nullThe total round trip time (RTT) for this candidate pair in seconds.
currentRoundTripTime["null","double"]nullThe current round trip time (RTT) for this candidate pair in seconds.
availableOutgoingBitrate["null","double"]nullThe available outgoing bitrate (in bits per second) for this candidate pair.
availableIncomingBitrate["null","double"]nullThe available incoming bitrate (in bits per second) for this candidate pair.
requestsReceived["null","int"]nullThe number of ICE connection requests received by this candidate pair.
requestsSent["null","int"]nullThe number of ICE connection requests sent by this candidate pair.
responsesReceived["null","int"]nullThe number of ICE connection responses received by this candidate pair.
responsesSent["null","int"]nullThe number of ICE connection responses sent by this candidate pair.
consentRequestsSent["null","int"]nullThe number of ICE connection consent requests sent by this candidate pair.
packetsDiscardedOnSend["null","int"]nullThe number of packets discarded while attempting to send via this candidate pair.
bytesDiscardedOnSend["null","long"]nullThe total number of bytes discarded while attempting to send via this candidate pair.
attachments["null","string"]nullAdditional information attached to this stats

CertificateStats

Source

FieldAvro typeDefaultDescription
timestamp"long"requiredThe timestamp of the stat.
id"string"requiredA unique identifier for the stat.
fingerprint["null","string"]nullThe fingerprint of the certificate.
fingerprintAlgorithm["null","string"]nullThe algorithm used for the fingerprint (e.g., ‘SHA-256’).
base64Certificate["null","string"]nullThe certificate encoded in base64 format.
issuerCertificateId["null","string"]nullThe certificate ID of the issuer.
attachments["null","string"]nullAdditional information attached to this stats
Version coverage varies by reference. Source revisions · Markdown source