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

Side by Side Diff: talk/session/media/srtpfilter.h

Issue 1587193006: Move talk/media to webrtc/media (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased to b647aca12a884a13c1728118586245399b55fa3d (#11493) Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « talk/session/media/rtcpmuxfilter_unittest.cc ('k') | talk/session/media/srtpfilter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2009 Google Inc. 3 * Copyright 2009 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 15 matching lines...) Expand all
26 */ 26 */
27 27
28 #ifndef TALK_SESSION_MEDIA_SRTPFILTER_H_ 28 #ifndef TALK_SESSION_MEDIA_SRTPFILTER_H_
29 #define TALK_SESSION_MEDIA_SRTPFILTER_H_ 29 #define TALK_SESSION_MEDIA_SRTPFILTER_H_
30 30
31 #include <list> 31 #include <list>
32 #include <map> 32 #include <map>
33 #include <string> 33 #include <string>
34 #include <vector> 34 #include <vector>
35 35
36 #include "talk/media/base/cryptoparams.h"
37 #include "webrtc/p2p/base/sessiondescription.h"
38 #include "webrtc/base/basictypes.h" 36 #include "webrtc/base/basictypes.h"
39 #include "webrtc/base/criticalsection.h" 37 #include "webrtc/base/criticalsection.h"
40 #include "webrtc/base/scoped_ptr.h" 38 #include "webrtc/base/scoped_ptr.h"
41 #include "webrtc/base/sigslotrepeater.h" 39 #include "webrtc/base/sigslotrepeater.h"
42 #include "webrtc/base/sslstreamadapter.h" 40 #include "webrtc/base/sslstreamadapter.h"
41 #include "webrtc/media/base/cryptoparams.h"
42 #include "webrtc/p2p/base/sessiondescription.h"
43 43
44 // Forward declaration to avoid pulling in libsrtp headers here 44 // Forward declaration to avoid pulling in libsrtp headers here
45 struct srtp_event_data_t; 45 struct srtp_event_data_t;
46 struct srtp_ctx_t; 46 struct srtp_ctx_t;
47 struct srtp_policy_t; 47 struct srtp_policy_t;
48 48
49 namespace cricket { 49 namespace cricket {
50 50
51 // Key is 128 bits and salt is 112 bits == 30 bytes. B64 bloat => 40 bytes. 51 // Key is 128 bits and salt is 112 bits == 30 bytes. B64 bloat => 40 bytes.
52 extern const int SRTP_MASTER_KEY_BASE64_LEN; 52 extern const int SRTP_MASTER_KEY_BASE64_LEN;
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 std::map<FailureKey, FailureStat> failures_; 321 std::map<FailureKey, FailureStat> failures_;
322 // Threshold in ms to silent the signaling errors. 322 // Threshold in ms to silent the signaling errors.
323 uint32_t signal_silent_time_; 323 uint32_t signal_silent_time_;
324 324
325 RTC_DISALLOW_COPY_AND_ASSIGN(SrtpStat); 325 RTC_DISALLOW_COPY_AND_ASSIGN(SrtpStat);
326 }; 326 };
327 327
328 } // namespace cricket 328 } // namespace cricket
329 329
330 #endif // TALK_SESSION_MEDIA_SRTPFILTER_H_ 330 #endif // TALK_SESSION_MEDIA_SRTPFILTER_H_
OLDNEW
« no previous file with comments | « talk/session/media/rtcpmuxfilter_unittest.cc ('k') | talk/session/media/srtpfilter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698