commit | efe4c92d54b8b1b1fc9faed6e5ca303546e0ca9b | [log] [tgz] |
---|---|---|
author | Steve Anton <steveanton@webrtc.org> | Wed Mar 27 10:26:06 2019 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Mar 27 18:14:00 2019 +0000 |
tree | f38293735b8ae8f04a8ffa8a532774ab3dc1336f | |
parent | 177670afd6d4aa414e4aa75983da538b7f350ee8 [diff] |
Use RtpSender/RtpReceiver track ID for legacy GetStats Previously, legacy GetStats would look up the track ID by querying the local/remote SDP by SSRC. This doesn't work with Unified Plan since the RtpSender/RtpReceiver track IDs may not correspond to the track ID stored in the SDP. This CL changes legacy GetStats to pull the track ID directly from the RtpSenders and RtpReceivers as it generates the stats. This has a few additional benefits: 1) Unsignaled receive SSRC stats should now get correctly matched to the unsigneled RtpReceiver track ID for both Plan B and Unified Plan. 2) Removes a couple methods on PeerConnection that were only used by the legacy StatsCollector. 3) Keeps the SSRC -> track ID mapping more localized which should make the code easier to understand. Bug: chromium:943493 Change-Id: I43ecde8c3a3d1c5f9c749ba6c8dfb11e8c4950fd Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/129782 Commit-Queue: Steve Anton <steveanton@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Amit Hilbuch <amithi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27324}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.