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

Issue 2926083002: Only create H264 frames if there are no gaps in the packet sequence number. (Closed)

Created:
3 years, 6 months ago by philipel
Modified:
3 years, 6 months ago
Reviewers:
terelius, 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/heads/master
Project:
webrtc
Visibility:
Public.

Description

Only create H264 frames if there are no gaps in the packet sequence number. In the case of H264 we can't know which packet that is the fist packet of a frame. In order to avoid creating incomplete frames we keep track of which packets that we haven't received, and if there is a gap in the packet sequence number leading up to this frame then a frame wont be created. BUG=chromium:716558 Review-Url: https://codereview.webrtc.org/2926083002 Cr-Commit-Position: refs/heads/master@{#18559} Committed: https://chromium.googlesource.com/external/webrtc/+/2c9f9f2bc9dbbb6f8abeb92615b42ce0ddfccb39

Patch Set 1 #

Total comments: 9

Patch Set 2 : Feedback #

Total comments: 4

Patch Set 3 : Feedback #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -46 lines) Patch
M webrtc/modules/video_coding/packet_buffer.h View 1 2 3 4 chunks +9 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/packet_buffer.cc View 1 2 3 9 chunks +78 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/video_packet_buffer_unittest.cc View 6 chunks +71 lines, -43 lines 0 comments Download
M webrtc/video/rtp_video_stream_receiver.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
philipel
3 years, 6 months ago (2017-06-07 11:22:45 UTC) #2
stefan-webrtc
https://codereview.webrtc.org/2926083002/diff/1/webrtc/modules/video_coding/packet_buffer.cc File webrtc/modules/video_coding/packet_buffer.cc (right): https://codereview.webrtc.org/2926083002/diff/1/webrtc/modules/video_coding/packet_buffer.cc#newcode216 webrtc/modules/video_coding/packet_buffer.cc:216: if (sequence_buffer_[index].seq_num != seq_num) Not sure I follow this. ...
3 years, 6 months ago (2017-06-07 11:39:17 UTC) #3
philipel
https://codereview.webrtc.org/2926083002/diff/1/webrtc/modules/video_coding/packet_buffer.cc File webrtc/modules/video_coding/packet_buffer.cc (right): https://codereview.webrtc.org/2926083002/diff/1/webrtc/modules/video_coding/packet_buffer.cc#newcode216 webrtc/modules/video_coding/packet_buffer.cc:216: if (sequence_buffer_[index].seq_num != seq_num) On 2017/06/07 11:39:16, stefan-webrtc wrote: ...
3 years, 6 months ago (2017-06-07 14:04:35 UTC) #5
philipel
ping
3 years, 6 months ago (2017-06-12 08:54:53 UTC) #6
philipel
ping
3 years, 6 months ago (2017-06-12 08:54:53 UTC) #7
stefan-webrtc
https://codereview.webrtc.org/2926083002/diff/1/webrtc/modules/video_coding/packet_buffer.cc File webrtc/modules/video_coding/packet_buffer.cc (right): https://codereview.webrtc.org/2926083002/diff/1/webrtc/modules/video_coding/packet_buffer.cc#newcode312 webrtc/modules/video_coding/packet_buffer.cc:312: // the last keyframe to be considered received. On ...
3 years, 6 months ago (2017-06-12 08:56:21 UTC) #8
stefan-webrtc
lgtm
3 years, 6 months ago (2017-06-12 08:57:13 UTC) #9
philipel
https://codereview.webrtc.org/2926083002/diff/20001/webrtc/modules/video_coding/packet_buffer.cc File webrtc/modules/video_coding/packet_buffer.cc (right): https://codereview.webrtc.org/2926083002/diff/20001/webrtc/modules/video_coding/packet_buffer.cc#newcode395 webrtc/modules/video_coding/packet_buffer.cc:395: // Guard agains inserting a large amount of missing ...
3 years, 6 months ago (2017-06-12 10:47:49 UTC) #10
terelius
lgtm
3 years, 6 months ago (2017-06-12 11:50:55 UTC) #11
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/2926083002/40001
3 years, 6 months ago (2017-06-12 12:09:34 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: ios32_sim_ios9_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_ios9_dbg/builds/5082) ios64_sim_ios10_dbg on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 6 months ago (2017-06-12 12:11:03 UTC) #16
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/2926083002/60001
3 years, 6 months ago (2017-06-13 09:16:56 UTC) #19
commit-bot: I haz the power
3 years, 6 months ago (2017-06-13 09:47:33 UTC) #22
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/external/webrtc/+/2c9f9f2bc9dbbb6f8abeb9261...

Powered by Google App Engine
This is Rietveld 408576698