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

Issue 2361803003: Add logging statements to places where the frame might be dropped in WebRTC pipeline. (Closed)

Created:
4 years, 3 months ago by sakal
Modified:
4 years, 2 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, the sun, mflodman
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add logging statements to places where the frame might be dropped in WebRTC pipeline. BUG=b/31645554 Committed: https://crrev.com/55d932b33115ae6e3a542b822b33605a03edc324 Cr-Commit-Position: refs/heads/master@{#14457}

Patch Set 1 #

Patch Set 2 : Add logging for too many incoming frames stored in VideoRenderFrames. #

Total comments: 10

Patch Set 3 : Log VideoBroadcaster creation and AddOrUpdateSink. #

Patch Set 4 : Also log VideoBroadcaster::RemoveSink #

Patch Set 5 : Move to just log adding renderer in JNI. #

Patch Set 6 : DCHECK not null instead of logging. #

Patch Set 7 : Add fake renderer to tests that don't have a renderer. #

Patch Set 8 : Add fake renderer to build files. #

Total comments: 2

Patch Set 9 : Remove the DCHECK since it will crash anyway. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -14 lines) Patch
M webrtc/api/android/jni/peerconnection_jni.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/call/bitrate_estimator_tests.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/common_video/video_render_frames.cc View 1 3 chunks +4 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/generic_decoder.cc View 1 2 3 4 5 3 chunks +5 lines, -5 lines 1 comment Download
M webrtc/test/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/test/call_test.h View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/test/call_test.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A + webrtc/test/fake_videorenderer.h View 1 2 3 4 5 6 1 chunk +12 lines, -5 lines 0 comments Download
M webrtc/test/test.gyp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 2 3 4 5 6 5 chunks +5 lines, -0 lines 0 comments Download
M webrtc/video/video_receive_stream.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/video/video_stream_decoder.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/video_receive_stream.h View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 51 (29 generated)
sakal
PTAL I am not sure if it is reasonable to log in VideoBroadcaster::OnFrame if there ...
4 years, 3 months ago (2016-09-22 11:15:24 UTC) #2
magjed_webrtc
On 2016/09/22 11:15:24, sakal wrote: > PTAL > > I am not sure if it ...
4 years, 3 months ago (2016-09-22 14:38:32 UTC) #3
sakal
Done, PTAL.
4 years, 3 months ago (2016-09-23 08:41:50 UTC) #5
magjed_webrtc
lgtm
4 years, 3 months ago (2016-09-23 13:05:00 UTC) #6
sakal
Stefan, PTAL.
4 years, 3 months ago (2016-09-23 13:10:53 UTC) #8
perkj_webrtc
https://codereview.webrtc.org/2361803003/diff/40001/webrtc/media/base/videobroadcaster.cc File webrtc/media/base/videobroadcaster.cc (right): https://codereview.webrtc.org/2361803003/diff/40001/webrtc/media/base/videobroadcaster.cc#newcode55 webrtc/media/base/videobroadcaster.cc:55: LOG(LS_INFO) << "Dropping frame because there are no sink ...
4 years, 2 months ago (2016-09-26 06:46:35 UTC) #14
stefan-webrtc
https://codereview.webrtc.org/2361803003/diff/40001/webrtc/modules/video_coding/generic_decoder.cc File webrtc/modules/video_coding/generic_decoder.cc (right): https://codereview.webrtc.org/2361803003/diff/40001/webrtc/modules/video_coding/generic_decoder.cc#newcode76 webrtc/modules/video_coding/generic_decoder.cc:76: if (callback != NULL) { Can we possibly instead ...
4 years, 2 months ago (2016-09-26 10:44:09 UTC) #15
sakal
https://codereview.webrtc.org/2361803003/diff/40001/webrtc/media/base/videobroadcaster.cc File webrtc/media/base/videobroadcaster.cc (right): https://codereview.webrtc.org/2361803003/diff/40001/webrtc/media/base/videobroadcaster.cc#newcode55 webrtc/media/base/videobroadcaster.cc:55: LOG(LS_INFO) << "Dropping frame because there are no sink ...
4 years, 2 months ago (2016-09-26 11:24:00 UTC) #16
stefan-webrtc
https://codereview.webrtc.org/2361803003/diff/40001/webrtc/modules/video_coding/generic_decoder.cc File webrtc/modules/video_coding/generic_decoder.cc (right): https://codereview.webrtc.org/2361803003/diff/40001/webrtc/modules/video_coding/generic_decoder.cc#newcode76 webrtc/modules/video_coding/generic_decoder.cc:76: if (callback != NULL) { On 2016/09/26 11:23:59, sakal ...
4 years, 2 months ago (2016-09-26 11:39:22 UTC) #17
magjed_webrtc
https://codereview.webrtc.org/2361803003/diff/40001/webrtc/media/base/videobroadcaster.cc File webrtc/media/base/videobroadcaster.cc (right): https://codereview.webrtc.org/2361803003/diff/40001/webrtc/media/base/videobroadcaster.cc#newcode55 webrtc/media/base/videobroadcaster.cc:55: LOG(LS_INFO) << "Dropping frame because there are no sink ...
4 years, 2 months ago (2016-09-27 15:06:11 UTC) #29
perkj_webrtc
On 2016/09/27 15:06:11, magjed_webrtc wrote: > https://codereview.webrtc.org/2361803003/diff/40001/webrtc/media/base/videobroadcaster.cc > File webrtc/media/base/videobroadcaster.cc (right): > > https://codereview.webrtc.org/2361803003/diff/40001/webrtc/media/base/videobroadcaster.cc#newcode55 > ...
4 years, 2 months ago (2016-09-28 15:04:59 UTC) #32
perkj_webrtc
lgtm https://codereview.webrtc.org/2361803003/diff/180001/webrtc/video/video_stream_decoder.cc File webrtc/video/video_stream_decoder.cc (right): https://codereview.webrtc.org/2361803003/diff/180001/webrtc/video/video_stream_decoder.cc#newcode87 webrtc/video/video_stream_decoder.cc:87: RTC_DCHECK(incoming_video_stream_ != nullptr); nit: you don't need this ...
4 years, 2 months ago (2016-09-28 15:08:59 UTC) #33
sakal
https://codereview.webrtc.org/2361803003/diff/180001/webrtc/video/video_stream_decoder.cc File webrtc/video/video_stream_decoder.cc (right): https://codereview.webrtc.org/2361803003/diff/180001/webrtc/video/video_stream_decoder.cc#newcode87 webrtc/video/video_stream_decoder.cc:87: RTC_DCHECK(incoming_video_stream_ != nullptr); On 2016/09/28 15:08:59, perkj_webrtc wrote: > ...
4 years, 2 months ago (2016-09-29 12:00:59 UTC) #34
stefan-webrtc
Thanks for dealing with my requests, Sami. lgtm
4 years, 2 months ago (2016-09-29 12:24:19 UTC) #35
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/2361803003/200001
4 years, 2 months ago (2016-09-29 12:31:24 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: mac_compile_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_compile_dbg/builds/9007)
4 years, 2 months ago (2016-09-29 12:34:30 UTC) #40
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/2361803003/200001
4 years, 2 months ago (2016-09-29 14:34:32 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 2 months ago (2016-09-29 16:34:54 UTC) #44
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/2361803003/200001
4 years, 2 months ago (2016-09-30 12:26:55 UTC) #46
commit-bot: I haz the power
Committed patchset #9 (id:200001)
4 years, 2 months ago (2016-09-30 13:19:15 UTC) #47
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/55d932b33115ae6e3a542b822b33605a03edc324 Cr-Commit-Position: refs/heads/master@{#14457}
4 years, 2 months ago (2016-09-30 13:19:22 UTC) #49
Taylor Brandstetter
4 years, 2 months ago (2016-09-30 21:05:58 UTC) #51
Message was sent while issue was closed.
https://codereview.webrtc.org/2361803003/diff/200001/webrtc/modules/video_cod...
File webrtc/modules/video_coding/generic_decoder.cc (right):

https://codereview.webrtc.org/2361803003/diff/200001/webrtc/modules/video_cod...
webrtc/modules/video_coding/generic_decoder.cc:62: RTC_DCHECK(callback !=
nullptr);
This DCHECK seems to be being hit by libjingle_peerconnection_android_unittest,
on a "track removal" test. Example:
https://build.chromium.org/p/client.webrtc/builders/Android32%20Tests%20%28L%...

Powered by Google App Engine
This is Rietveld 408576698