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

Issue 2785713002: Allow RtpPacket::SetPayloadSize to increase payload size (Closed)

Created:
3 years, 8 months ago by danilchap
Modified:
3 years, 8 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhuangzesen_agora.io, stefan-webrtc, mflodman, minyue-webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Allow RtpPacket::SetPayloadSize to increase payload size Make SetPayloadSize return buffer to write to so that it can replace AllocatePayload function. BUG=None Review-Url: https://codereview.webrtc.org/2785713002 Cr-Commit-Position: refs/heads/master@{#17450} Committed: https://chromium.googlesource.com/external/webrtc/+/07a01b3357b220558310e85d460298bb6f5516b9

Patch Set 1 #

Total comments: 5

Patch Set 2 : Tweaked comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -13 lines) Patch
M webrtc/modules/rtp_rtcp/source/rtp_packet.h View 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_packet.cc View 1 1 chunk +7 lines, -10 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_packet_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (11 generated)
danilchap
Inspired by Minyue (https://codereview.webrtc.org/2766323006/#msg13)
3 years, 8 months ago (2017-03-29 12:23:54 UTC) #3
minyue-webrtc
lgtm % comment https://codereview.webrtc.org/2785713002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_packet.h File webrtc/modules/rtp_rtcp/source/rtp_packet.h (right): https://codereview.webrtc.org/2785713002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_packet.h#newcode100 webrtc/modules/rtp_rtcp/source/rtp_packet.h:100: // Same as SetPayloadSize but doesn't ...
3 years, 8 months ago (2017-03-29 12:26:12 UTC) #5
danilchap
https://codereview.webrtc.org/2785713002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_packet.h File webrtc/modules/rtp_rtcp/source/rtp_packet.h (right): https://codereview.webrtc.org/2785713002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_packet.h#newcode100 webrtc/modules/rtp_rtcp/source/rtp_packet.h:100: // Same as SetPayloadSize but doesn't guarantee to keep ...
3 years, 8 months ago (2017-03-29 12:38:38 UTC) #6
nisse-webrtc
https://codereview.webrtc.org/2785713002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_packet.cc File webrtc/modules/rtp_rtcp/source/rtp_packet.cc (right): https://codereview.webrtc.org/2785713002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_packet.cc#newcode278 webrtc/modules/rtp_rtcp/source/rtp_packet.cc:278: // reallocation and memcpy. Setting size to just headers ...
3 years, 8 months ago (2017-03-29 12:47:07 UTC) #7
nisse-webrtc
On 2017/03/29 12:38:38, danilchap wrote: > AllocatePayload become not very usefull function because of this ...
3 years, 8 months ago (2017-03-29 12:49:18 UTC) #8
danilchap
https://codereview.webrtc.org/2785713002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_packet.cc File webrtc/modules/rtp_rtcp/source/rtp_packet.cc (right): https://codereview.webrtc.org/2785713002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_packet.cc#newcode278 webrtc/modules/rtp_rtcp/source/rtp_packet.cc:278: // reallocation and memcpy. Setting size to just headers ...
3 years, 8 months ago (2017-03-29 12:51:56 UTC) #9
danilchap
On 2017/03/29 12:49:18, nisse-webrtc wrote: > On 2017/03/29 12:38:38, danilchap wrote: > > AllocatePayload become ...
3 years, 8 months ago (2017-03-29 13:00:04 UTC) #10
nisse-webrtc
https://codereview.webrtc.org/2785713002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_packet.cc File webrtc/modules/rtp_rtcp/source/rtp_packet.cc (right): https://codereview.webrtc.org/2785713002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_packet.cc#newcode278 webrtc/modules/rtp_rtcp/source/rtp_packet.cc:278: // reallocation and memcpy. Setting size to just headers ...
3 years, 8 months ago (2017-03-29 13:00:39 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/2785713002/20001
3 years, 8 months ago (2017-03-29 13:06:11 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_arm64_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_arm64_dbg/builds/4)
3 years, 8 months ago (2017-03-29 13:16:41 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/2785713002/20001
3 years, 8 months ago (2017-03-29 14:09:34 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_arm64_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_arm64_dbg/builds/11) linux_arm64_rel on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 8 months ago (2017-03-29 14:14:45 UTC) #20
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/2785713002/20001
3 years, 8 months ago (2017-03-29 14:29:00 UTC) #22
commit-bot: I haz the power
3 years, 8 months ago (2017-03-29 14:33:17 UTC) #25
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/external/webrtc/+/07a01b3357b220558310e85d4...

Powered by Google App Engine
This is Rietveld 408576698