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

Issue 2996823002: Reland of quest keyframes more frequently on stream start/decoding error. (Closed)

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

Description

Reland of quest keyframes more frequently on stream start/decoding error. (patchset #1 id:1 of https://codereview.chromium.org/2994043002/ ) Reason for revert: Create fix CL. Original issue's description: > Revert of Request keyframes more frequently on stream start/decoding error. (patchset #1 id:1 of https://codereview.webrtc.org/2993793002/ ) > > Reason for revert: > Broke downstream test that was waiting for 5 keyframes to be received within 10 seconds. Maybe the issue is that "stats_callback_->OnCompleteFrame(frame->num_references == 0, ..." was changed to "frame->is_keyframe()"? > > Original issue's description: > > Request keyframes more frequently on stream start/decoding error. > > > > In this CL: > > - Added FrameObject::is_keyframe() convinience function. > > - Moved logic to request keyframes on decoding error from VideoReceived to > > VideoReceiveStream. > > - Added keyframe_required as a parameter to FrameBuffer::NextFrame. > > > > BUG=webrtc:8074 > > > > Review-Url: https://codereview.webrtc.org/2993793002 > > Cr-Commit-Position: refs/heads/master@{#19280} > > Committed: https://chromium.googlesource.com/external/webrtc/+/26b48043581735eed6e36b95fae6f5b1bcf8cfb5 > > TBR=terelius@webrtc.org,stefan@webrtc.org,noahric@chromium.org,philipel@webrtc.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=webrtc:8074 > > Review-Url: https://codereview.webrtc.org/2994043002 > Cr-Commit-Position: refs/heads/master@{#19295} > Committed: https://chromium.googlesource.com/external/webrtc/+/77a983185f57628cd5955bd2c0a1bf71c30439bb TBR=terelius@webrtc.org,stefan@webrtc.org,noahric@chromium.org,deadbeef@webrtc.org # Skipping CQ checks because original CL landed less than 1 days ago. BUG=webrtc:8074 Review-Url: https://codereview.webrtc.org/2996823002 Cr-Commit-Position: refs/heads/master@{#19324} Committed: https://chromium.googlesource.com/external/webrtc/+/628ac5964e32e66083a6ab14dceac6cb2cabe345

Patch Set 1 #

Patch Set 2 : Fix #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -31 lines) Patch
M webrtc/modules/video_coding/frame_buffer2.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/frame_buffer2.cc View 1 4 chunks +8 lines, -3 lines 0 comments Download
M webrtc/modules/video_coding/frame_buffer2_unittest.cc View 1 2 chunks +16 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/frame_object.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/video_receiver.cc View 1 1 chunk +1 line, -18 lines 2 comments Download
M webrtc/video/video_receive_stream.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/video/video_receive_stream.cc View 1 3 chunks +18 lines, -7 lines 1 comment Download

Messages

Total messages: 21 (13 generated)
philipel
Created Reland of quest keyframes more frequently on stream start/decoding error.
3 years, 4 months ago (2017-08-10 08:36:35 UTC) #1
philipel
Stefan, PTAL
3 years, 4 months ago (2017-08-11 08:41:28 UTC) #2
stefan-webrtc
Remember to file a bug about fixing this downstream. :( lgtm https://codereview.webrtc.org/2996823002/diff/170001/webrtc/video/video_receive_stream.cc File webrtc/video/video_receive_stream.cc (right): ...
3 years, 4 months ago (2017-08-11 09:28:00 UTC) #10
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/2996823002/170001
3 years, 4 months ago (2017-08-11 10:38:42 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:170001) as https://chromium.googlesource.com/external/webrtc/+/628ac5964e32e66083a6ab14dceac6cb2cabe345
3 years, 4 months ago (2017-08-11 10:41:51 UTC) #17
tkchin_webrtc
https://codereview.webrtc.org/2996823002/diff/170001/webrtc/modules/video_coding/video_receiver.cc File webrtc/modules/video_coding/video_receiver.cc (left): https://codereview.webrtc.org/2996823002/diff/170001/webrtc/modules/video_coding/video_receiver.cc#oldcode326 webrtc/modules/video_coding/video_receiver.cc:326: // Check for failed decoding, run frame type request ...
3 years, 4 months ago (2017-08-17 17:12:38 UTC) #19
tkchin_webrtc
A revert of this CL (patchset #2 id:170001) has been created in https://codereview.webrtc.org/2995153002/ by tkchin@webrtc.org. ...
3 years, 4 months ago (2017-08-17 17:14:35 UTC) #20
philipel
3 years, 4 months ago (2017-08-18 08:38:20 UTC) #21
Message was sent while issue was closed.
https://codereview.webrtc.org/2996823002/diff/170001/webrtc/modules/video_cod...
File webrtc/modules/video_coding/video_receiver.cc (left):

https://codereview.webrtc.org/2996823002/diff/170001/webrtc/modules/video_cod...
webrtc/modules/video_coding/video_receiver.cc:326: // Check for failed decoding,
run frame type request callback if needed.
On 2017/08/17 17:12:38, tkchin_webrtc wrote:
> Removing the check for failed decoding causes an issue with the iOS h264
decoder
> when it comes back alive from the background where it takes a long time to
> receive a keyframe.

This piece of logic was moved to the VideoReceviveStream::Decode function, it
should work just the same.

Powered by Google App Engine
This is Rietveld 408576698