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

Issue 2528343002: H.264 packetization mode 0 (try 3) (Closed)

Created:
4 years ago by hta-webrtc
Modified:
4 years ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, video-team_agora.io, danilchap, yujie_mao (webrtc), zhuangzesen_agora.io, zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, perkj_webrtc
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

This approach passes packetization mode to the encoder as part of a cricket::VideoCodec structure, rather than as part of struct VideoCodecH264 inside webrtc::VideoCodec. BUG=600254 Committed: https://crrev.com/e59647b991f61cf1cf61b020356705e6c0f81257 Cr-Commit-Position: refs/heads/master@{#15437}

Patch Set 1 #

Patch Set 2 : Move packetization mode from being a field in webrtc::VideoCodec to reading a parameter from cricke… #

Patch Set 3 : Rebase #

Patch Set 4 : Move default H.264 settings into cricket::Codec class #

Patch Set 5 : Adding debug log for Android issues #

Patch Set 6 : Another debug log for Android #

Patch Set 7 : Switch values for packetization modes #

Patch Set 8 : Filed issue on mode 1 = 0 #

Total comments: 16

Patch Set 9 : Changed from enum to enum class #

Total comments: 28

Patch Set 10 : Addressed hbos' comments #

Total comments: 4

Patch Set 11 : Modified initialization after discussions with magjed #

Total comments: 4

Patch Set 12 : Fix header order #

Patch Set 13 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+360 lines, -67 lines) Patch
M webrtc/media/base/codec.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/media/base/codec.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +16 lines, -3 lines 0 comments Download
M webrtc/media/engine/internalencoderfactory.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/modules/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/include/module_common_types.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +19 lines, -5 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_format.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -4 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_format_h264.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +34 lines, -8 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_format_h264_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 chunks +97 lines, -26 lines 0 comments Download
M webrtc/modules/video_coding/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +9 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc View 1 2 3 4 5 6 7 8 9 10 9 chunks +55 lines, -13 lines 0 comments Download
A webrtc/modules/video_coding/codecs/h264/h264_encoder_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +83 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/include/video_codec_interface.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/test/fake_encoder.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/video/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +17 lines, -0 lines 0 comments Download
M webrtc/video/payload_router.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 57 (34 generated)
hta-webrtc
Created Reland of H.264 packetization mode 0 (try 2)
4 years ago (2016-11-28 09:00:05 UTC) #1
hta-webrtc
This should be ready for final review now.
4 years ago (2016-12-01 09:21:07 UTC) #18
sprang_webrtc
https://codereview.webrtc.org/2528343002/diff/390001/webrtc/media/base/codec.cc File webrtc/media/base/codec.cc (right): https://codereview.webrtc.org/2528343002/diff/390001/webrtc/media/base/codec.cc#newcode119 webrtc/media/base/codec.cc:119: } Why was this moved here? https://codereview.webrtc.org/2528343002/diff/390001/webrtc/modules/include/module_common_types.h File webrtc/modules/include/module_common_types.h ...
4 years ago (2016-12-01 16:58:57 UTC) #21
hta-webrtc
See if this looks better. Enum class looks OK. (just wish I could add a ...
4 years ago (2016-12-01 18:26:28 UTC) #22
hbos
https://codereview.webrtc.org/2528343002/diff/410001/webrtc/modules/include/module_common_types.h File webrtc/modules/include/module_common_types.h (right): https://codereview.webrtc.org/2528343002/diff/410001/webrtc/modules/include/module_common_types.h#newcode297 webrtc/modules/include/module_common_types.h:297: H264PacketizationMode packetization_mode; (Thinking its strange that this information is ...
4 years ago (2016-12-02 10:21:27 UTC) #27
sprang_webrtc
https://codereview.webrtc.org/2528343002/diff/410001/webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc File webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc (right): https://codereview.webrtc.org/2528343002/diff/410001/webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc#newcode178 webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc:178: break; On 2016/12/02 10:21:26, hbos wrote: > case default: ...
4 years ago (2016-12-02 10:52:29 UTC) #28
hbos
https://codereview.webrtc.org/2528343002/diff/410001/webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc File webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc (right): https://codereview.webrtc.org/2528343002/diff/410001/webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc#newcode178 webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc:178: break; On 2016/12/02 10:52:29, språng wrote: > On 2016/12/02 ...
4 years ago (2016-12-02 11:04:45 UTC) #29
hta-webrtc
Comments addressed. https://codereview.webrtc.org/2528343002/diff/410001/webrtc/modules/include/module_common_types.h File webrtc/modules/include/module_common_types.h (right): https://codereview.webrtc.org/2528343002/diff/410001/webrtc/modules/include/module_common_types.h#newcode297 webrtc/modules/include/module_common_types.h:297: H264PacketizationMode packetization_mode; On 2016/12/02 10:21:26, hbos wrote: ...
4 years ago (2016-12-02 11:09:01 UTC) #30
hbos
lgtm https://codereview.webrtc.org/2528343002/diff/410001/webrtc/modules/include/module_common_types.h File webrtc/modules/include/module_common_types.h (right): https://codereview.webrtc.org/2528343002/diff/410001/webrtc/modules/include/module_common_types.h#newcode297 webrtc/modules/include/module_common_types.h:297: H264PacketizationMode packetization_mode; On 2016/12/02 11:09:01, hta-webrtc wrote: > ...
4 years ago (2016-12-02 11:58:42 UTC) #31
sprang_webrtc
lgtm
4 years ago (2016-12-02 12:25:50 UTC) #32
magjed_webrtc
https://codereview.webrtc.org/2528343002/diff/390001/webrtc/media/base/codec.cc File webrtc/media/base/codec.cc (right): https://codereview.webrtc.org/2528343002/diff/390001/webrtc/media/base/codec.cc#newcode119 webrtc/media/base/codec.cc:119: } On 2016/12/01 18:26:27, hta-webrtc wrote: > On 2016/12/01 ...
4 years ago (2016-12-02 12:34:26 UTC) #33
hta-webrtc
Responses to magjed. https://codereview.webrtc.org/2528343002/diff/390001/webrtc/media/base/codec.cc File webrtc/media/base/codec.cc (right): https://codereview.webrtc.org/2528343002/diff/390001/webrtc/media/base/codec.cc#newcode119 webrtc/media/base/codec.cc:119: } On 2016/12/02 12:34:25, magjed_webrtc wrote: ...
4 years ago (2016-12-02 12:48:48 UTC) #34
hta-webrtc
Updated after discussion with magjed. Note todo. PTAL.
4 years ago (2016-12-02 14:40:33 UTC) #35
magjed_webrtc
lgtm https://codereview.webrtc.org/2528343002/diff/450001/webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc File webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc (right): https://codereview.webrtc.org/2528343002/diff/450001/webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc#newcode276 webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc:276: RTC_CHECK(packetization_mode_ == H264PacketizationMode::NonInterleaved); nit: RTC_CHECK_EQ
4 years ago (2016-12-02 15:42:36 UTC) #40
hta-webrtc
https://codereview.webrtc.org/2528343002/diff/450001/webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc File webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc (right): https://codereview.webrtc.org/2528343002/diff/450001/webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc#newcode276 webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc:276: RTC_CHECK(packetization_mode_ == H264PacketizationMode::NonInterleaved); On 2016/12/02 15:42:36, magjed_webrtc wrote: > ...
4 years ago (2016-12-05 13:07:40 UTC) #41
mflodman
LGTM with one minor comment. https://codereview.webrtc.org/2528343002/diff/450001/webrtc/modules/rtp_rtcp/source/rtp_format.cc File webrtc/modules/rtp_rtcp/source/rtp_format.cc (right): https://codereview.webrtc.org/2528343002/diff/450001/webrtc/modules/rtp_rtcp/source/rtp_format.cc#newcode13 webrtc/modules/rtp_rtcp/source/rtp_format.cc:13: #include "webrtc/modules/rtp_rtcp/source/rtp_format.h" Normally on ...
4 years ago (2016-12-06 08:04:00 UTC) #42
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/2528343002/470001
4 years ago (2016-12-06 09:16:28 UTC) #45
hta-webrtc
https://codereview.webrtc.org/2528343002/diff/450001/webrtc/modules/rtp_rtcp/source/rtp_format.cc File webrtc/modules/rtp_rtcp/source/rtp_format.cc (right): https://codereview.webrtc.org/2528343002/diff/450001/webrtc/modules/rtp_rtcp/source/rtp_format.cc#newcode13 webrtc/modules/rtp_rtcp/source/rtp_format.cc:13: #include "webrtc/modules/rtp_rtcp/source/rtp_format.h" On 2016/12/06 08:04:00, mflodman wrote: > Normally ...
4 years ago (2016-12-06 09:16:40 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: ios32_sim_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_dbg/builds/13146) ios64_sim_dbg on master.tryserver.webrtc (JOB_FAILED, ...
4 years ago (2016-12-06 09:17:37 UTC) #48
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/2528343002/490001
4 years ago (2016-12-06 10:05:47 UTC) #51
commit-bot: I haz the power
Committed patchset #13 (id:490001)
4 years ago (2016-12-06 10:22:50 UTC) #54
commit-bot: I haz the power
Patchset 13 (id:??) landed as https://crrev.com/e59647b991f61cf1cf61b020356705e6c0f81257 Cr-Commit-Position: refs/heads/master@{#15437}
4 years ago (2016-12-06 10:23:00 UTC) #56
hta-webrtc
4 years ago (2016-12-06 12:21:42 UTC) #57
Message was sent while issue was closed.
A revert of this CL (patchset #13 id:490001) has been created in
https://codereview.webrtc.org/2558453002/ by hta@webrtc.org.

The reason for reverting is: Failures on the Linux Memcheck bot
.

Powered by Google App Engine
This is Rietveld 408576698