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

Issue 2714813004: Create the SrtpTransportInterface. (Closed)

Created:
3 years, 10 months ago by Zhi Huang
Modified:
3 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, yujie_mao (webrtc), tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, the sun
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Create the SrtpTransportInterface. Create the SrtpTransportInterface, a subclass of RtpTransportInterface, which allows the user to set the send and receive keys. The functionalities are implemented inside the RtpTransportAdapters on top of BaseChannel. BUG=webrtc:7013 Review-Url: https://codereview.webrtc.org/2714813004 Cr-Commit-Position: refs/heads/master@{#17023} Committed: https://chromium.googlesource.com/external/webrtc/+/d3501adf17fda4ad270faee89b6fe4f4a496b147

Patch Set 1 #

Total comments: 22

Patch Set 2 : Respond the comments. #

Patch Set 3 : Merge and modified the tests. #

Total comments: 51

Patch Set 4 : Modification based on comments. Mostly nits and unit tests. #

Total comments: 3

Patch Set 5 : Renaming and fix the EXPECT_EQ #

Patch Set 6 : Fix the build. #

Total comments: 8

Patch Set 7 : Use rtc::Optional for SRTP send and receive keys. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+760 lines, -120 lines) Patch
M webrtc/api/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/api/ortc/ortcfactoryinterface.h View 1 2 3 4 5 6 2 chunks +9 lines, -0 lines 0 comments Download
M webrtc/api/ortc/ortcrtpsenderinterface.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
A webrtc/api/ortc/srtptransportinterface.h View 1 2 3 4 5 6 1 chunk +48 lines, -0 lines 0 comments Download
M webrtc/api/rtpparameters.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/ortc/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/ortc/ortcfactory.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M webrtc/ortc/ortcfactory.cc View 1 2 4 chunks +48 lines, -3 lines 0 comments Download
M webrtc/ortc/ortcfactory_integrationtest.cc View 1 2 3 4 5 9 chunks +264 lines, -98 lines 0 comments Download
M webrtc/ortc/ortcfactory_unittest.cc View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
M webrtc/ortc/ortcrtpreceiver_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/ortc/ortcrtpsender_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/ortc/rtpparametersconversion.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/ortc/rtptransportadapter.h View 1 2 3 4 5 6 7 chunks +31 lines, -5 lines 0 comments Download
M webrtc/ortc/rtptransportadapter.cc View 1 2 3 4 5 6 4 chunks +87 lines, -3 lines 0 comments Download
M webrtc/ortc/rtptransportcontrolleradapter.h View 1 2 3 3 chunks +18 lines, -5 lines 0 comments Download
M webrtc/ortc/rtptransportcontrolleradapter.cc View 1 2 3 4 5 6 7 chunks +57 lines, -1 line 0 comments Download
A webrtc/ortc/srtptransport_unittest.cc View 1 2 3 4 1 chunk +167 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (31 generated)
Taylor Brandstetter
Did you plan to also add an "srtptransport_unittests"? https://codereview.webrtc.org/2714813004/diff/40001/webrtc/api/ortc/srtptransportinterface.h File webrtc/api/ortc/srtptransportinterface.h (right): https://codereview.webrtc.org/2714813004/diff/40001/webrtc/api/ortc/srtptransportinterface.h#newcode20 webrtc/api/ortc/srtptransportinterface.h:20: // ...
3 years, 9 months ago (2017-02-24 18:57:58 UTC) #4
Zhi Huang
Please take a look. Thanks. https://codereview.webrtc.org/2714813004/diff/40001/webrtc/api/ortc/srtptransportinterface.h File webrtc/api/ortc/srtptransportinterface.h (right): https://codereview.webrtc.org/2714813004/diff/40001/webrtc/api/ortc/srtptransportinterface.h#newcode20 webrtc/api/ortc/srtptransportinterface.h:20: // The subclass of ...
3 years, 9 months ago (2017-02-27 05:16:00 UTC) #9
Taylor Brandstetter
FYI, the big ORTC CL has landed, so it should be possible to merge with ...
3 years, 9 months ago (2017-02-27 21:48:51 UTC) #10
Zhi Huang
Please take another look. Thanks.
3 years, 9 months ago (2017-03-01 02:17:12 UTC) #13
Zhi Huang
Please take another look. Thanks.
3 years, 9 months ago (2017-03-01 02:17:13 UTC) #14
Taylor Brandstetter
Good job with this CL; I think all I have are nits and minor comments ...
3 years, 9 months ago (2017-03-01 19:18:09 UTC) #15
Zhi Huang
Please take a look. Thanks. https://codereview.webrtc.org/2714813004/diff/200001/webrtc/api/ortc/srtptransportinterface.h File webrtc/api/ortc/srtptransportinterface.h (right): https://codereview.webrtc.org/2714813004/diff/200001/webrtc/api/ortc/srtptransportinterface.h#newcode23 webrtc/api/ortc/srtptransportinterface.h:23: // After applying the ...
3 years, 9 months ago (2017-03-02 23:35:40 UTC) #17
Taylor Brandstetter
lgtm with a couple remaining nits https://codereview.webrtc.org/2714813004/diff/200001/webrtc/ortc/ortcfactory_integrationtest.cc File webrtc/ortc/ortcfactory_integrationtest.cc (right): https://codereview.webrtc.org/2714813004/diff/200001/webrtc/ortc/ortcfactory_integrationtest.cc#newcode472 webrtc/ortc/ortcfactory_integrationtest.cc:472: TEST_F(OrtcFactoryIntegrationTest, FullTwoWayAudioVideoRtpSendersAndReceivers) { ...
3 years, 9 months ago (2017-03-02 23:51:10 UTC) #18
pthatcher1
Mainly nits. But I do think the use of rtc::optional would be good. Nice CL. ...
3 years, 9 months ago (2017-03-03 06:28:38 UTC) #31
Zhi Huang
https://codereview.webrtc.org/2714813004/diff/280001/webrtc/api/ortc/ortcfactoryinterface.h File webrtc/api/ortc/ortcfactoryinterface.h (right): https://codereview.webrtc.org/2714813004/diff/280001/webrtc/api/ortc/ortcfactoryinterface.h#newcode130 webrtc/api/ortc/ortcfactoryinterface.h:130: // Creates a SrtpTransport which is an RTP transport ...
3 years, 9 months ago (2017-03-03 22:34:47 UTC) #37
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/2714813004/320001
3 years, 9 months ago (2017-03-03 22:36:56 UTC) #40
commit-bot: I haz the power
3 years, 9 months ago (2017-03-03 22:39:12 UTC) #43
Message was sent while issue was closed.
Committed patchset #7 (id:320001) as
https://chromium.googlesource.com/external/webrtc/+/d3501adf17fda4ad270faee89...

Powered by Google App Engine
This is Rietveld 408576698