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

Issue 1687303002: Don't send FEC for H.264 with NACK enabled. (Closed)

Created:
4 years, 10 months ago by pbos-webrtc
Modified:
4 years, 10 months ago
Reviewers:
stefan-webrtc
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, andresp, the sun, perkj_webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Don't send FEC for H.264 with NACK enabled. The H.264 does not contain picture IDs and are not sufficient to determine that a packet may be skipped. This causes retransmission requests for FEC that are currently dropped by the sender (since they should be redundant). The receiver is then unable to continue without having the packet gap filled (unlike VP8/VP9 which moves on since it has a consecutive stream of picture IDs). Even if FEC retransmission did work it's a huge waste of bandwidth, since it just adds additional overhead that has to be unconditionally transmitted. This bandwidth is better used to send higher-quality frames. BUG=webrtc:5264 R=stefan@webrtc.org Committed: https://crrev.com/25558ad819b4df41ba51537e26a77480ace1e525 Cr-Commit-Position: refs/heads/master@{#11601}

Patch Set 1 #

Patch Set 2 : remove redundant code #

Patch Set 3 : add log warning #

Total comments: 10

Patch Set 4 : feedback #

Total comments: 2

Patch Set 5 : RED or FEC #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -49 lines) Patch
M webrtc/video/end_to_end_tests.cc View 1 2 3 7 chunks +25 lines, -7 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 1 2 3 3 chunks +44 lines, -10 lines 0 comments Download
M webrtc/video/video_send_stream_tests.cc View 1 2 3 6 chunks +88 lines, -30 lines 0 comments Download
M webrtc/video/vie_channel.cc View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (5 generated)
pbos-webrtc
PTAL, are you fine with me moving this test to end_to_end_tests.cc as is or should ...
4 years, 10 months ago (2016-02-11 11:53:50 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1687303002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1687303002/1
4 years, 10 months ago (2016-02-11 11:54:08 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1687303002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1687303002/1
4 years, 10 months ago (2016-02-11 11:54:09 UTC) #4
pbos-webrtc
remove redundant code
4 years, 10 months ago (2016-02-11 11:54:55 UTC) #5
pbos-webrtc
add log warning
4 years, 10 months ago (2016-02-11 11:58:14 UTC) #6
stefan-webrtc
https://codereview.webrtc.org/1687303002/diff/40001/webrtc/video/end_to_end_tests.cc File webrtc/video/end_to_end_tests.cc (right): https://codereview.webrtc.org/1687303002/diff/40001/webrtc/video/end_to_end_tests.cc#newcode795 webrtc/video/end_to_end_tests.cc:795: // Configure encoders and decoding with VP8, generic packetization ...
4 years, 10 months ago (2016-02-12 10:46:27 UTC) #7
pbos-webrtc
PTAL https://codereview.webrtc.org/1687303002/diff/40001/webrtc/video/end_to_end_tests.cc File webrtc/video/end_to_end_tests.cc (right): https://codereview.webrtc.org/1687303002/diff/40001/webrtc/video/end_to_end_tests.cc#newcode795 webrtc/video/end_to_end_tests.cc:795: // Configure encoders and decoding with VP8, generic ...
4 years, 10 months ago (2016-02-12 12:00:27 UTC) #8
pbos-webrtc
feedback
4 years, 10 months ago (2016-02-12 12:00:33 UTC) #9
stefan-webrtc
lgtm given nit fixed. https://codereview.webrtc.org/1687303002/diff/60001/webrtc/video/vie_channel.cc File webrtc/video/vie_channel.cc (right): https://codereview.webrtc.org/1687303002/diff/60001/webrtc/video/vie_channel.cc#newcode417 webrtc/video/vie_channel.cc:417: // Validate payload types. If ...
4 years, 10 months ago (2016-02-12 12:03:19 UTC) #10
pbos-webrtc
RED or FEC
4 years, 10 months ago (2016-02-12 12:34:44 UTC) #11
pbos-webrtc
https://codereview.webrtc.org/1687303002/diff/60001/webrtc/video/vie_channel.cc File webrtc/video/vie_channel.cc (right): https://codereview.webrtc.org/1687303002/diff/60001/webrtc/video/vie_channel.cc#newcode417 webrtc/video/vie_channel.cc:417: // Validate payload types. If either RED of FEC ...
4 years, 10 months ago (2016-02-12 12:34:48 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1687303002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1687303002/80001
4 years, 10 months ago (2016-02-12 12:35:35 UTC) #15
pbos-webrtc
Committed patchset #5 (id:80001) manually as 25558ad819b4df41ba51537e26a77480ace1e525 (presubmit successful).
4 years, 10 months ago (2016-02-12 14:08:44 UTC) #17
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/25558ad819b4df41ba51537e26a77480ace1e525 Cr-Commit-Position: refs/heads/master@{#11601}
4 years, 10 months ago (2016-02-12 14:08:49 UTC) #19
Taylor Brandstetter
4 years, 10 months ago (2016-02-12 20:00:23 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.webrtc.org/1692783005/ by deadbeef@webrtc.org.

The reason for reverting is: Broke the VerifyHistogramStatsWithRed test on the
Windows DrMemory Full bot and Linux Memcheck bot. Please fix the test and
reland..

Powered by Google App Engine
This is Rietveld 408576698