|
PeerConnection[Interface]::GetStats(RTCStatsCollectorCallback*) added.
New file structure and targets:
rtc_stats_api
webrtc/api/stats/rtcstats.h
webrtc/api/stats/rtcstats_objects.h
webrtc/api/stats/rtcstatsreport.h
rtc_stats (dep on rtc_stats_api)
webrtc/stats/rtcstats.cc
webrtc/stats/rtcstats_objects.cc
webrtc/stats/rtcstatsreport.cc
libjingle_peerconnection (dep on rtc_stats)
webrtc/api/rtcstatscollector.cc
webrtc/api/rtcstatscollector.h
Placing rtc_stats_api headers in this separate target instead of
libjingle_peerconnection avoids a circular dependency
libjingle_peerconnection -> rtc_stats -> libjingle_peerconnection
Code changes:
PeerConnectionInterface::GetStats(RTCStatsCollectorCallback*) added for
the new stats collection API. Implemented by PeerConnection.
BUG= chromium:627816
Committed: https://crrev.com/74e1a4f96a4915c9ad3b0ddeff87cc9797606453
Cr-Commit-Position: refs/heads/master@{#14246}
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+93 lines, -1083 lines) |
Patch |
|
M |
.gn
|
View
|
1
2
3
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/api/BUILD.gn
|
View
|
1
2
3
4
5
6
|
4 chunks |
+19 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/api/api.gyp
|
View
|
1
2
3
|
3 chunks |
+17 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/api/peerconnection.h
|
View
|
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/api/peerconnection.cc
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/api/peerconnectioninterface.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/api/peerconnectionproxy.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
webrtc/api/rtcstats.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+2 lines, -270 lines |
0 comments
|
Download
|
|
D |
webrtc/api/rtcstats_objects.h
|
View
|
|
1 chunk |
+0 lines, -35 lines |
0 comments
|
Download
|
|
A + |
webrtc/api/rtcstatscollector.h
|
View
|
1
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
A + |
webrtc/api/rtcstatscollector.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A + |
webrtc/api/rtcstatscollector_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
D |
webrtc/api/rtcstatsreport.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -79 lines |
0 comments
|
Download
|
|
A + |
webrtc/api/stats/rtcstats.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
A + |
webrtc/api/stats/rtcstats_objects.h
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
A + |
webrtc/api/stats/rtcstatsreport.h
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/stats/BUILD.gn
|
View
|
1
2
3
4
5
6
|
3 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/stats/rtcstats.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/stats/rtcstats_objects.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/stats/rtcstats_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
D |
webrtc/stats/rtcstatscollector.h
|
View
|
|
1 chunk |
+0 lines, -97 lines |
0 comments
|
Download
|
|
D |
webrtc/stats/rtcstatscollector.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -179 lines |
0 comments
|
Download
|
|
D |
webrtc/stats/rtcstatscollector_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -380 lines |
0 comments
|
Download
|
|
M |
webrtc/stats/rtcstatsreport.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/stats/rtcstatsreport_unittest.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/stats/stats.gyp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
Total messages: 40 (17 generated)
|