stats: convert to Unix fileformat, remove obsolete section

The source code checked out on a Linux desktop
has CRLF line endings.

    $ git grep -Il $'\r'


Bug: None
Change-Id: I9dfb388346561821f33b21dc6dbed9abb4445aa6
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/333580
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Commit-Queue: Markus Handell <handellm@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#41475}
This commit is contained in:
Alfred E. Heggestad 2024-01-08 11:53:50 +01:00 committed by WebRTC LUCI CQ
parent a3bde0a844
commit 3c8c1afaea

View file

@ -1,18 +1,9 @@
<!-- go/cmark --> <!-- go/cmark -->
<!--* freshness: {owner: 'hta' reviewed: '2022-10-01'} *--> <!--* freshness: {owner: 'hta' reviewed: '2024-01-08'} *-->
# getStats in WebRTC # getStats in WebRTC
The WebRTC getStats API is specified in The WebRTC getStats API is specified in
https://w3c.github.io/webrtc-stats/ https://w3c.github.io/webrtc-stats/
and allows querying information about the current state of a RTCPeerConnection and allows querying information about the current state of a RTCPeerConnection
API and some of its member objects. API and some of its member objects.
## Adding new statistics to Chrome
When adding a new standardized `RTCStatsMember` it is necessary to add
it to the Chrome allowlist
chrome/test/data/webrtc/peerconnection_getstats.js
before landing the WebRTC change. This mechanism prevents the accidential
addition and exposure of non-standard attributes and is not required for
`RTCNonStandardStatsMember` which is not exposed to the web API.