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

Issue 1578323002: Add rtppacketuil.h/cc (Closed)

Created:
4 years, 11 months ago by Sergey Ulanov
Modified:
4 years, 11 months ago
Reviewers:
pthatcher1
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add ApplyPacketOptions() When libjingle is compied with ENABLE_EXTERNAL_AUTH the sending socket needs to update RTP header in order for the outgoing packet to be valid. The corresponding code was in chromium in content/browser/renderer_host/p2p/socket_host.cc and it was impossible to reuse it anywhere else. This CL moves this code to talk/media/base/rtputils.h/cc, so it can be used outside of chrome. BUG=crbug.com/547158 R=pthatcher@webrtc.org Committed: https://crrev.com/dc305db0598b81fb01fc7891a5e29c422593ff4a Cr-Commit-Position: refs/heads/master@{#11261}

Patch Set 1 #

Total comments: 16

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+805 lines, -19 lines) Patch
M talk/libjingle.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M talk/libjingle_tests.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M talk/media/base/rtputils.h View 1 2 3 2 chunks +23 lines, -0 lines 0 comments Download
M talk/media/base/rtputils.cc View 1 2 3 4 5 3 chunks +278 lines, -0 lines 0 comments Download
M talk/media/base/rtputils_unittest.cc View 1 2 4 chunks +206 lines, -10 lines 0 comments Download
A + talk/media/base/turnutils.h View 1 2 chunks +14 lines, -9 lines 0 comments Download
A talk/media/base/turnutils.cc View 1 1 chunk +144 lines, -0 lines 0 comments Download
A talk/media/base/turnutils_unittest.cc View 1 1 chunk +137 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (15 generated)
Sergey Ulanov
4 years, 11 months ago (2016-01-12 19:15:30 UTC) #3
Sergey Ulanov
Please note that this is the same code that existed in chromium before. There are ...
4 years, 11 months ago (2016-01-12 19:17:07 UTC) #4
pthatcher1
I know this code is exactly the same, but it doesn't quite fit, since there's ...
4 years, 11 months ago (2016-01-13 23:21:33 UTC) #5
Sergey Ulanov
https://codereview.chromium.org/1578323002/diff/1/webrtc/p2p/base/rtppacketutil.cc File webrtc/p2p/base/rtppacketutil.cc (right): https://codereview.chromium.org/1578323002/diff/1/webrtc/p2p/base/rtppacketutil.cc#newcode26 webrtc/p2p/base/rtppacketutil.cc:26: const size_t kMinRtpHeaderLength = 12; On 2016/01/13 23:21:33, pthatcher1 ...
4 years, 11 months ago (2016-01-14 06:02:21 UTC) #7
pthatcher1
lgtm, with nits https://codereview.chromium.org/1578323002/diff/80001/talk/media/base/rtputils.cc File talk/media/base/rtputils.cc (right): https://codereview.chromium.org/1578323002/diff/80001/talk/media/base/rtputils.cc#newcode31 talk/media/base/rtputils.cc:31: #include "webrtc/base/asyncpacketsocket.h" Dependency on a socket ...
4 years, 11 months ago (2016-01-14 19:34:03 UTC) #9
Sergey Ulanov
https://codereview.chromium.org/1578323002/diff/80001/talk/media/base/rtputils.cc File talk/media/base/rtputils.cc (right): https://codereview.chromium.org/1578323002/diff/80001/talk/media/base/rtputils.cc#newcode31 talk/media/base/rtputils.cc:31: #include "webrtc/base/asyncpacketsocket.h" On 2016/01/14 19:34:02, pthatcher1 wrote: > Dependency ...
4 years, 11 months ago (2016-01-14 20:13:10 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1578323002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1578323002/100001
4 years, 11 months ago (2016-01-14 20:13:11 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win_x64_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_x64_rel/builds/11871)
4 years, 11 months ago (2016-01-14 20:26:27 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1578323002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1578323002/120001
4 years, 11 months ago (2016-01-14 20:36:15 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/10320)
4 years, 11 months ago (2016-01-14 20:43:38 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1578323002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1578323002/140001
4 years, 11 months ago (2016-01-14 21:51:59 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) linux_baremetal on ...
4 years, 11 months ago (2016-01-14 23:52:22 UTC) #25
Sergey Ulanov
Committed patchset #6 (id:140001) manually as dc305db0598b81fb01fc7891a5e29c422593ff4a (presubmit successful).
4 years, 11 months ago (2016-01-15 01:15:11 UTC) #28
commit-bot: I haz the power
4 years, 11 months ago (2016-01-15 01:15:11 UTC) #29
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/dc305db0598b81fb01fc7891a5e29c422593ff4a
Cr-Commit-Position: refs/heads/master@{#11261}

Powered by Google App Engine
This is Rietveld 408576698