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

Issue 2109893002: Reland: Remove global list of SRTP sessions. (Closed)

Created:
4 years, 5 months ago by joachim
Modified:
4 years, 5 months ago
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

Reland: Remove global list of SRTP sessions. Instead save a reference to the SrtpSession inside the srtp_ctx_t. The original CL was https://codereview.webrtc.org/1416093010 and should be good to reland now that internal projects are using a more recent version of libsrtp. BUG=webrtc:5133 R=mattdr@webrtc.org, pthatcher@webrtc.org Committed: https://crrev.com/37bb54eb2079bacc5003eda1b5b69126a9e3e516 Cr-Commit-Position: refs/heads/master@{#13318}

Patch Set 1 #

Patch Set 2 : Replace NULL with nullptr, ASSERT with RTC_CHECK. #

Total comments: 2

Patch Set 3 : Use libsrtp API to get/set userdata. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -39 lines) Patch
M webrtc/pc/srtpfilter.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/pc/srtpfilter.cc View 1 2 19 chunks +33 lines, -37 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
joachim
Thanks for the quick update of your dependencies! Ptal
4 years, 5 months ago (2016-06-28 22:51:02 UTC) #3
mattdr-at-webrtc.org
https://codereview.webrtc.org/2109893002/diff/20001/webrtc/pc/srtpfilter.cc File webrtc/pc/srtpfilter.cc (right): https://codereview.webrtc.org/2109893002/diff/20001/webrtc/pc/srtpfilter.cc#newcode486 webrtc/pc/srtpfilter.cc:486: session_->user_data = nullptr; Might it be more appropriate to ...
4 years, 5 months ago (2016-06-28 23:01:39 UTC) #5
joachim
https://codereview.webrtc.org/2109893002/diff/20001/webrtc/pc/srtpfilter.cc File webrtc/pc/srtpfilter.cc (right): https://codereview.webrtc.org/2109893002/diff/20001/webrtc/pc/srtpfilter.cc#newcode486 webrtc/pc/srtpfilter.cc:486: session_->user_data = nullptr; On 2016/06/28 23:01:39, mattdr1 wrote: > ...
4 years, 5 months ago (2016-06-28 23:09:01 UTC) #6
mattdr-at-webrtc.org
lgtm
4 years, 5 months ago (2016-06-28 23:10:48 UTC) #7
joachim
+pthatcher for owner review
4 years, 5 months ago (2016-06-28 23:11:59 UTC) #9
pthatcher1
lgtm
4 years, 5 months ago (2016-06-29 00:01:21 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/2109893002/40001
4 years, 5 months ago (2016-06-29 07:18:53 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/14577)
4 years, 5 months ago (2016-06-29 07:40:50 UTC) #14
joachim
4 years, 5 months ago (2016-06-29 08:41:23 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
37bb54eb2079bacc5003eda1b5b69126a9e3e516 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698