Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Issue 2957073002: Add received audio and video call duration metrics based on packets. (Closed)

Created:
3 years, 5 months ago by saza WebRTC
Modified:
3 years, 5 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add received audio/video call duration metrics based on packets. Tracks time between first and last audio and packets to successfully pass through Call object's DeliverRtp method, timed with packet timestamps. BUG=webrtc:7882 Review-Url: https://codereview.webrtc.org/2957073002 Cr-Commit-Position: refs/heads/master@{#18881} Committed: https://chromium.googlesource.com/external/webrtc/+/746749237ab5e34bd6bfa9cc0da63fffce528901

Patch Set 1 : Add audio metric. #

Total comments: 4

Patch Set 2 : Correct for comments. Use a more predictable arrival time. #

Patch Set 3 : Add corresponding call duration metric for received video rtp packets. #

Patch Set 4 : Extend unittest to verify that video metric is properly logged. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -0 lines) Patch
M webrtc/call/call.cc View 1 2 4 chunks +24 lines, -0 lines 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (21 generated)
aleloi
https://codereview.webrtc.org/2957073002/diff/1/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/2957073002/diff/1/webrtc/call/call.cc#newcode328 webrtc/call/call.cc:328: I think the rtp_audio_ms_ counters should be moved here, ...
3 years, 5 months ago (2017-06-27 14:13:37 UTC) #3
aleloi
lgtm, but you have to get approval from someone who understands the call code
3 years, 5 months ago (2017-06-29 11:23:28 UTC) #7
saza WebRTC
PTAL https://codereview.webrtc.org/2957073002/diff/1/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/2957073002/diff/1/webrtc/call/call.cc#newcode1329 webrtc/call/call.cc:1329: first_received_rtp_audio_ms_ = packet_time.timestamp; On 2017/06/27 14:13:37, aleloi wrote: ...
3 years, 5 months ago (2017-06-29 11:49:05 UTC) #11
saza WebRTC
PTAL
3 years, 5 months ago (2017-06-29 11:49:07 UTC) #12
holmer
Åsa, can you take a look? In particular I'm curious to know how this compares ...
3 years, 5 months ago (2017-06-29 12:24:27 UTC) #16
saza WebRTC
On 2017/06/29 12:24:27, holmer wrote: > Åsa, can you take a look? In particular I'm ...
3 years, 5 months ago (2017-06-29 13:48:02 UTC) #17
åsapersson
lgtm For video, the lifetime of the streams are currently tracked but I think it ...
3 years, 5 months ago (2017-06-29 14:40:36 UTC) #18
stefan-webrtc
On 2017/06/29 14:40:36, åsapersson wrote: > lgtm > > For video, the lifetime of the ...
3 years, 5 months ago (2017-06-29 14:47:48 UTC) #19
saza WebRTC
On 2017/06/29 14:47:48, stefan-webrtc wrote: > On 2017/06/29 14:40:36, åsapersson wrote: > > lgtm > ...
3 years, 5 months ago (2017-06-30 11:41:02 UTC) #20
stefan-webrtc
Looks good, but perhaps also verify this in the tests here: https://cs.chromium.org/chromium/src/third_party/webrtc/video/end_to_end_tests.cc?q=WebRTC.Call.VideoBitrateReceivedInKbps&sq=package:chromium&l=2647
3 years, 5 months ago (2017-06-30 12:20:31 UTC) #27
stefan-webrtc
lgtm
3 years, 5 months ago (2017-07-03 14:56:41 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2957073002/140001
3 years, 5 months ago (2017-07-04 06:47:13 UTC) #31
commit-bot: I haz the power
Committed patchset #4 (id:140001) as https://chromium.googlesource.com/external/webrtc/+/746749237ab5e34bd6bfa9cc0da63fffce528901
3 years, 5 months ago (2017-07-04 07:19:28 UTC) #34
saza WebRTC
A revert of this CL (patchset #4 id:140001) has been created in https://codereview.webrtc.org/2972613002/ by saza@webrtc.org. ...
3 years, 5 months ago (2017-07-04 08:11:35 UTC) #35
saza WebRTC
3 years, 5 months ago (2017-07-05 06:44:23 UTC) #36
Message was sent while issue was closed.
On 2017/07/04 08:11:35, Sam Zackrisson WebRTC wrote:
> A revert of this CL (patchset #4 id:140001) has been created in
> https://codereview.webrtc.org/2972613002/ by mailto:saza@webrtc.org.
> 
> The reason for reverting is: The following, seemingly related, unit tests
crash
> on Android32 (M Nexus5X).
> org.webrtc.PeerConnectionTest#testCompleteSession
> org.webrtc.PeerConnectionTest#testDataChannelOnlySession
> 
> A Windows build fails with a mysterious compile error..

This CL was relanded shortly after the revert, as it was determined to not cause
the crashes.
New CL:
https://codereview.webrtc.org/2970793003/

Powered by Google App Engine
This is Rietveld 408576698