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 APIThe definition of 'RTCIceCandidatePairStats.packetsSent' in that specification. | Candidate Recommendation | Initial specification. |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
packetsSent
|
Chrome
No support No |
Edge
No support No |
Firefox
No support No |
IE
No support No |
Opera
? |
Safari
? |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
No support No |
Legend
- No support
- No support
- Compatibility unknown
- Compatibility unknown
RTCIceCandidatePairStats.packetsSent by Mozilla Contributors is licensed under CC-BY-SA 2.5.