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

Issue 1406903002: Expose codec implementation names in stats. (Closed)

Created:
5 years, 2 months ago by pbos-webrtc
Modified:
5 years ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, yujie_mao (webrtc), Andrew MacDonald, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, andresp, peah-webrtc, the sun, perkj_webrtc, mflodman, tommi
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Expose codec implementation names in stats. Used to distinguish between software/hardware encoders/decoders and other implementation differences. Useful for tracking quality regressions related to specific implementations. BUG=webrtc:4897 R=hta@webrtc.org, mflodman@webrtc.org, stefan@webrtc.org Committed: https://crrev.com/b7d9a97ce41022e984348efb5f28bf6dd6c6b779 Cr-Commit-Position: refs/heads/master@{#11084}

Patch Set 1 #

Total comments: 19

Patch Set 2 : feedback #

Patch Set 3 : rebase #

Patch Set 4 : software-fallback string + VP8 ImplementationName()s #

Patch Set 5 : report what we fell back from #

Total comments: 8

Patch Set 6 : feedback #

Total comments: 12

Patch Set 7 : rebase #

Patch Set 8 : hta@ feedback #

Patch Set 9 : rebase #

Patch Set 10 : rebase #

Patch Set 11 : remove conflict marker #

Total comments: 2

Patch Set 12 : frame-nullptr #

Patch Set 13 : fix rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -63 lines) Patch
M talk/app/webrtc/java/jni/androidmediadecoder_jni.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -0 lines 0 comments Download
M talk/app/webrtc/java/jni/androidmediaencoder_jni.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +10 lines, -1 line 0 comments Download
M talk/app/webrtc/statscollector.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M talk/app/webrtc/statstypes.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M talk/app/webrtc/statstypes.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -3 lines 0 comments Download
M talk/media/base/mediachannel.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -0 lines 0 comments Download
M talk/media/webrtc/webrtcvideoengine2.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -0 lines 0 comments Download
M talk/media/webrtc/webrtcvideoengine2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +15 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_decoder.h View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_decoder.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_impl.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp9/vp9_impl.h View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +9 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/generic_decoder.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/generic_decoder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +14 lines, -9 lines 0 comments Download
M webrtc/modules/video_coding/generic_encoder.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/generic_encoder.cc View 1 2 3 4 5 6 7 8 9 4 chunks +25 lines, -17 lines 0 comments Download
M webrtc/modules/video_coding/include/video_coding_defines.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/video_receiver.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +23 lines, -29 lines 0 comments Download
M webrtc/test/fake_decoder.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/test/fake_decoder.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M webrtc/test/fake_encoder.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/test/fake_encoder.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -0 lines 0 comments Download
M webrtc/video/receive_statistics_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/video/receive_statistics_proxy.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/video/send_statistics_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/video/send_statistics_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -0 lines 0 comments Download
M webrtc/video/video_decoder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +9 lines, -0 lines 0 comments Download
M webrtc/video/video_decoder_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +21 lines, -1 line 0 comments Download
M webrtc/video/video_encoder.cc View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download
M webrtc/video/video_encoder_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +13 lines, -0 lines 0 comments Download
M webrtc/video/vie_channel.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/video/vie_channel.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -0 lines 0 comments Download
M webrtc/video/vie_encoder.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/video/vie_encoder.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -0 lines 0 comments Download
M webrtc/video_decoder.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +6 lines, -0 lines 0 comments Download
M webrtc/video_encoder.h View 1 2 3 4 5 6 4 chunks +4 lines, -0 lines 0 comments Download
M webrtc/video_receive_stream.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/video_send_stream.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 44 (9 generated)
pbos-webrtc
PTAL, hta@, pay extra attention to the constant names.
5 years, 2 months ago (2015-10-15 14:48:34 UTC) #1
stefan-webrtc
https://codereview.webrtc.org/1406903002/diff/1/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_decoder.cc File webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_decoder.cc (right): https://codereview.webrtc.org/1406903002/diff/1/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_decoder.cc#newcode270 webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_decoder.cc:270: return "VideoToolbox"; Is this the proper name to use? ...
5 years, 2 months ago (2015-10-16 07:47:03 UTC) #2
pbos-webrtc
feedback
5 years, 2 months ago (2015-10-16 13:10:40 UTC) #3
pbos-webrtc
PTAL https://codereview.webrtc.org/1406903002/diff/1/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_decoder.cc File webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_decoder.cc (right): https://codereview.webrtc.org/1406903002/diff/1/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_decoder.cc#newcode270 webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_decoder.cc:270: return "VideoToolbox"; On 2015/10/16 07:47:03, stefan-webrtc (holmer) wrote: ...
5 years, 2 months ago (2015-10-16 13:12:05 UTC) #4
stefan-webrtc
https://codereview.webrtc.org/1406903002/diff/1/webrtc/modules/video_coding/main/source/generic_decoder.cc File webrtc/modules/video_coding/main/source/generic_decoder.cc (right): https://codereview.webrtc.org/1406903002/diff/1/webrtc/modules/video_coding/main/source/generic_decoder.cc#newcode164 webrtc/modules/video_coding/main/source/generic_decoder.cc:164: _callback->OnDecoderImplementationName(_decoder.ImplementationName()); On 2015/10/16 13:12:05, pbos-webrtc wrote: > On 2015/10/16 ...
5 years, 2 months ago (2015-10-22 09:33:34 UTC) #5
pbos-webrtc
rebase
5 years, 2 months ago (2015-10-22 14:37:16 UTC) #6
pbos-webrtc
software-fallback string + VP8 ImplementationName()s
5 years, 2 months ago (2015-10-22 15:07:12 UTC) #7
pbos-webrtc
PTAL, I also added VP8's implementation name ("libvpx"). https://codereview.webrtc.org/1406903002/diff/1/webrtc/video/video_encoder.cc File webrtc/video/video_encoder.cc (right): https://codereview.webrtc.org/1406903002/diff/1/webrtc/video/video_encoder.cc#newcode139 webrtc/video/video_encoder.cc:139: return ...
5 years, 2 months ago (2015-10-22 15:11:21 UTC) #8
pbos-webrtc
report what we fell back from
5 years, 2 months ago (2015-10-22 15:19:35 UTC) #9
stefan-webrtc
An option would be to pass the implementation name with the Decoded() and Encoded() callbacks, ...
5 years, 1 month ago (2015-10-27 08:31:53 UTC) #10
pbos-webrtc
feedback
5 years, 1 month ago (2015-10-27 12:15:06 UTC) #11
pbos-webrtc
I don't want to put it in the Encoded() callback since that requires changing all ...
5 years, 1 month ago (2015-10-27 12:16:59 UTC) #12
stefan-webrtc
lgtm
5 years, 1 month ago (2015-10-29 07:17:16 UTC) #13
hta-webrtc
Two important things: - I don't think we should expose encoderImplementationName on outgoing tracks and ...
5 years, 1 month ago (2015-10-29 11:35:03 UTC) #14
pbos-webrtc
rebase
5 years, 1 month ago (2015-10-29 15:57:51 UTC) #15
pbos-webrtc
PTAL. May I call it codecImplementationName for PeerConnection since there's no RTCCodec object? https://codereview.webrtc.org/1406903002/diff/100001/talk/app/webrtc/statstypes.cc File ...
5 years, 1 month ago (2015-10-29 16:08:05 UTC) #16
pbos-webrtc
hta@ feedback
5 years, 1 month ago (2015-10-29 16:08:39 UTC) #17
pbos-webrtc
On 2015/10/29 16:08:39, pbos-webrtc wrote: > hta@ feedback Ping?
5 years, 1 month ago (2015-11-10 10:32:32 UTC) #18
pbos-webrtc
rebase
5 years, 1 month ago (2015-11-10 12:42:59 UTC) #19
hta-webrtc
lgtm based on 7->8 diff and reassurances about thread-hopping.
5 years, 1 month ago (2015-11-10 13:47:06 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1406903002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1406903002/160001
5 years, 1 month ago (2015-11-10 14:08:37 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_compile_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_compile_dbg/builds/1036) mac_x64_gn_dbg on ...
5 years, 1 month ago (2015-11-10 14:10:24 UTC) #24
pbos-webrtc
rebase
5 years ago (2015-11-30 12:18:57 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1406903002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1406903002/180001
5 years ago (2015-11-30 12:19:10 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: win_x64_gn_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_x64_gn_rel/builds/5544)
5 years ago (2015-11-30 12:21:50 UTC) #30
pbos-webrtc
remove conflict marker
5 years ago (2015-11-30 12:25:14 UTC) #31
pbos-webrtc
PTAL
5 years ago (2015-12-18 11:43:01 UTC) #32
mflodman
https://codereview.webrtc.org/1406903002/diff/1/webrtc/modules/video_coding/main/source/generic_decoder.cc File webrtc/modules/video_coding/main/source/generic_decoder.cc (right): https://codereview.webrtc.org/1406903002/diff/1/webrtc/modules/video_coding/main/source/generic_decoder.cc#newcode164 webrtc/modules/video_coding/main/source/generic_decoder.cc:164: _callback->OnDecoderImplementationName(_decoder.ImplementationName()); On 2015/10/22 09:33:34, stefan-webrtc (holmer) wrote: > On ...
5 years ago (2015-12-18 13:02:44 UTC) #33
pbos-webrtc
frame-nullptr
5 years ago (2015-12-18 13:07:21 UTC) #34
pbos-webrtc
https://codereview.webrtc.org/1406903002/diff/1/webrtc/modules/video_coding/main/source/generic_decoder.cc File webrtc/modules/video_coding/main/source/generic_decoder.cc (right): https://codereview.webrtc.org/1406903002/diff/1/webrtc/modules/video_coding/main/source/generic_decoder.cc#newcode164 webrtc/modules/video_coding/main/source/generic_decoder.cc:164: _callback->OnDecoderImplementationName(_decoder.ImplementationName()); On 2015/12/18 13:02:43, mflodman wrote: > On 2015/10/22 ...
5 years ago (2015-12-18 13:07:55 UTC) #35
mflodman
LGTM
5 years ago (2015-12-18 13:46:15 UTC) #36
pbos-webrtc
fix rebase
5 years ago (2015-12-18 14:01:26 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1406903002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1406903002/240001
5 years ago (2015-12-18 14:11:19 UTC) #40
pbos-webrtc
Committed patchset #13 (id:240001) manually as b7d9a97ce41022e984348efb5f28bf6dd6c6b779 (presubmit successful).
5 years ago (2015-12-18 15:01:30 UTC) #42
commit-bot: I haz the power
5 years ago (2015-12-18 15:01:34 UTC) #44
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/b7d9a97ce41022e984348efb5f28bf6dd6c6b779
Cr-Commit-Position: refs/heads/master@{#11084}

Powered by Google App Engine
This is Rietveld 408576698