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

Issue 2933213003: Handle zero timestamp in RTCVideoEncoder timestamp matching & add UMA (Closed)

Created:
3 years, 6 months ago by emircan
Modified:
3 years, 6 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, asvitkine+watch_chromium.org, piman+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle zero timestamp in RTCVideoEncoder timestamp matching & add UMA Desktop/tab capture can send zero as the first frame's capture timestamp. This CL changes treating zero as the default timestamp to handle those cases. If a platform doesn't preserve and return 0 as the timestamp, i.e. Android, the first frame will be matched and calculated correctly. However, second value(which is nonzero) will fail to match and stop. Additionally, this CL adds a UMA to track the platforms and cases where this might fail. BUG=732552 TEST=Observed chrome://webrtc-internals metrics on guado using Hangouts screenshare. Review-Url: https://codereview.chromium.org/2933213003 Cr-Commit-Position: refs/heads/master@{#479097} Committed: https://chromium.googlesource.com/chromium/src/+/115c560f5886afd3c512d054c988439893974f24

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -3 lines) Patch
M content/renderer/media/gpu/rtc_video_encoder.cc View 4 chunks +10 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 chunks +12 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (17 generated)
emircan
pbos@ PTAL at rtc_video_encoder changes. asvitkine@ PTAL at UMA usage.
3 years, 6 months ago (2017-06-12 22:09:00 UTC) #6
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/2933213003/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2933213003/diff/1/tools/metrics/histograms/histograms.xml#newcode29560 tools/metrics/histograms/histograms.xml:29560: + video encoder session. Expand description to mention ...
3 years, 6 months ago (2017-06-13 15:15:36 UTC) #12
pbos
lgtm
3 years, 6 months ago (2017-06-13 17:55:44 UTC) #13
emircan
https://codereview.chromium.org/2933213003/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2933213003/diff/1/tools/metrics/histograms/histograms.xml#newcode29560 tools/metrics/histograms/histograms.xml:29560: + video encoder session. On 2017/06/13 15:15:36, Alexei Svitkine ...
3 years, 6 months ago (2017-06-13 18:00:28 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2933213003/20001
3 years, 6 months ago (2017-06-13 18:01:00 UTC) #20
commit-bot: I haz the power
3 years, 6 months ago (2017-06-13 19:34:56 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/115c560f5886afd3c512d054c988...

Powered by Google App Engine
This is Rietveld 408576698