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

Issue 2512543002: Fix PayloadRouter::OnEncodedImage() to handle errors properly. (Closed)

Created:
4 years, 1 month ago by Sergey Ulanov
Modified:
4 years, 1 month ago
Reviewers:
stefan-webrtc
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, mflodman
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix PayloadRouter::OnEncodedImage() to handle errors properly. PayloadRouter::OnEncodedImage() was casing boolean result from SendOutgoingData() to int, and then not handling it correctly, which results in all errors in SendOutgoingData() being ignored. This issue was introduced in https://chromium.googlesource.com/external/webrtc/+/ad34dbe934 This bug masked another issue with VP9 codec (see crbug.com/webrtc/6723 ) and that increased number of dropped frames. BUG=634816 Committed: https://crrev.com/7b9feeeaad18a436d19f6c5172c5ad8468362814 Cr-Commit-Position: refs/heads/master@{#15143}

Patch Set 1 #

Patch Set 2 : fix tests #

Patch Set 3 : fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -11 lines) Patch
M webrtc/video/payload_router.cc View 1 chunk +4 lines, -7 lines 0 comments Download
M webrtc/video/payload_router_unittest.cc View 1 2 4 chunks +8 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
Sergey Ulanov
4 years, 1 month ago (2016-11-16 23:29:09 UTC) #2
stefan-webrtc
lgtm
4 years, 1 month ago (2016-11-17 11:25:15 UTC) #4
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/2512543002/1
4 years, 1 month ago (2016-11-17 19:08:42 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_ubsan on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_ubsan/builds/6943)
4 years, 1 month ago (2016-11-17 19:12:52 UTC) #8
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/2512543002/20001
4 years, 1 month ago (2016-11-17 23:00:20 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_ubsan_vptr on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_ubsan_vptr/builds/7414)
4 years, 1 month ago (2016-11-17 23:04:27 UTC) #13
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/2512543002/40001
4 years, 1 month ago (2016-11-17 23:46:27 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-18 00:16:19 UTC) #18
commit-bot: I haz the power
4 years, 1 month ago (2016-11-18 00:16:31 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7b9feeeaad18a436d19f6c5172c5ad8468362814
Cr-Commit-Position: refs/heads/master@{#15143}

Powered by Google App Engine
This is Rietveld 408576698