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

Side by Side Diff: webrtc/pc/mediasession.h

Issue 2815513012: Negotiate the same SRTP crypto suites for every DTLS association formed. (Closed)
Patch Set: Merge with master Created 3 years, 8 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 | « webrtc/pc/channelmanager.cc ('k') | webrtc/pc/mediasession.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 * Copyright 2004 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2004 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 ContentInfo* GetFirstAudioContent(SessionDescription* sdesc); 606 ContentInfo* GetFirstAudioContent(SessionDescription* sdesc);
607 ContentInfo* GetFirstVideoContent(SessionDescription* sdesc); 607 ContentInfo* GetFirstVideoContent(SessionDescription* sdesc);
608 ContentInfo* GetFirstDataContent(SessionDescription* sdesc); 608 ContentInfo* GetFirstDataContent(SessionDescription* sdesc);
609 AudioContentDescription* GetFirstAudioContentDescription( 609 AudioContentDescription* GetFirstAudioContentDescription(
610 SessionDescription* sdesc); 610 SessionDescription* sdesc);
611 VideoContentDescription* GetFirstVideoContentDescription( 611 VideoContentDescription* GetFirstVideoContentDescription(
612 SessionDescription* sdesc); 612 SessionDescription* sdesc);
613 DataContentDescription* GetFirstDataContentDescription( 613 DataContentDescription* GetFirstDataContentDescription(
614 SessionDescription* sdesc); 614 SessionDescription* sdesc);
615 615
616 void GetSupportedAudioCryptoSuites(const rtc::CryptoOptions& crypto_options, 616 // Helper functions to return crypto suites used for SDES.
617 std::vector<int>* crypto_suites); 617 void GetSupportedAudioSdesCryptoSuites(const rtc::CryptoOptions& crypto_options,
618 void GetSupportedVideoCryptoSuites(const rtc::CryptoOptions& crypto_options, 618 std::vector<int>* crypto_suites);
619 std::vector<int>* crypto_suites); 619 void GetSupportedVideoSdesCryptoSuites(const rtc::CryptoOptions& crypto_options,
620 void GetSupportedDataCryptoSuites(const rtc::CryptoOptions& crypto_options, 620 std::vector<int>* crypto_suites);
621 std::vector<int>* crypto_suites); 621 void GetSupportedDataSdesCryptoSuites(const rtc::CryptoOptions& crypto_options,
622 void GetDefaultSrtpCryptoSuites(const rtc::CryptoOptions& crypto_options, 622 std::vector<int>* crypto_suites);
623 std::vector<int>* crypto_suites); 623 void GetSupportedAudioSdesCryptoSuiteNames(
624 void GetSupportedAudioCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, 624 const rtc::CryptoOptions& crypto_options,
625 std::vector<std::string>* crypto_suite_names); 625 std::vector<std::string>* crypto_suite_names);
626 void GetSupportedVideoCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, 626 void GetSupportedVideoSdesCryptoSuiteNames(
627 const rtc::CryptoOptions& crypto_options,
627 std::vector<std::string>* crypto_suite_names); 628 std::vector<std::string>* crypto_suite_names);
628 void GetSupportedDataCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, 629 void GetSupportedDataSdesCryptoSuiteNames(
629 std::vector<std::string>* crypto_suite_names); 630 const rtc::CryptoOptions& crypto_options,
630 void GetDefaultSrtpCryptoSuiteNames(const rtc::CryptoOptions& crypto_options,
631 std::vector<std::string>* crypto_suite_names); 631 std::vector<std::string>* crypto_suite_names);
632 632
633 } // namespace cricket 633 } // namespace cricket
634 634
635 #endif // WEBRTC_PC_MEDIASESSION_H_ 635 #endif // WEBRTC_PC_MEDIASESSION_H_
OLDNEW
« no previous file with comments | « webrtc/pc/channelmanager.cc ('k') | webrtc/pc/mediasession.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698