RTCIceCandidatePairStats.packetsSent

The RTCIceCandidatePairStats dictionary's packetsSent property indicates the total number of packets which have been sent on the connection described by the pair of candidates.

The number of packets received to date on the connection can be obtained using packetsReceived.

Syntax

packetsSent = rtcIceCandidatePairStats.packetsSent;

Value

An integer value indicating the total number of packets, of any kind, which have been sent on the connection described by the two candidates comprising this pair.

Specifications

Specification Status Comment
Identifiers for WebRTC's Statistics API
The definition of 'RTCIceCandidatePairStats.packetsSent' in that specification.
Candidate Recommendation Initial specification.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
packetsSentChrome No support NoEdge No support NoFirefox No support NoIE No support NoOpera ? Safari ? WebView Android No support NoChrome Android No support NoFirefox Android No support NoOpera Android ? Safari iOS ? Samsung Internet Android No support No

Legend

No support  
No support
Compatibility unknown  
Compatibility unknown