DescriptionReland: 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. #
Messages
Total messages: 17 (8 generated)
|