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

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

Issue 2815513012: Negotiate the same SRTP crypto suites for every DTLS association formed. (Closed)
Patch Set: 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
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 // These methods are only used for SDES now.
616 void GetSupportedAudioCryptoSuites(const rtc::CryptoOptions& crypto_options, 617 void GetSupportedAudioCryptoSuites(const rtc::CryptoOptions& crypto_options,
617 std::vector<int>* crypto_suites); 618 std::vector<int>* crypto_suites);
618 void GetSupportedVideoCryptoSuites(const rtc::CryptoOptions& crypto_options, 619 void GetSupportedVideoCryptoSuites(const rtc::CryptoOptions& crypto_options,
619 std::vector<int>* crypto_suites); 620 std::vector<int>* crypto_suites);
620 void GetSupportedDataCryptoSuites(const rtc::CryptoOptions& crypto_options, 621 void GetSupportedDataCryptoSuites(const rtc::CryptoOptions& crypto_options,
621 std::vector<int>* crypto_suites); 622 std::vector<int>* crypto_suites);
622 void GetDefaultSrtpCryptoSuites(const rtc::CryptoOptions& crypto_options,
623 std::vector<int>* crypto_suites);
624 void GetSupportedAudioCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, 623 void GetSupportedAudioCryptoSuiteNames(const rtc::CryptoOptions& crypto_options,
625 std::vector<std::string>* crypto_suite_names); 624 std::vector<std::string>* crypto_suite_names);
626 void GetSupportedVideoCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, 625 void GetSupportedVideoCryptoSuiteNames(const rtc::CryptoOptions& crypto_options,
627 std::vector<std::string>* crypto_suite_names); 626 std::vector<std::string>* crypto_suite_names);
628 void GetSupportedDataCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, 627 void GetSupportedDataCryptoSuiteNames(const rtc::CryptoOptions& crypto_options,
629 std::vector<std::string>* crypto_suite_names); 628 std::vector<std::string>* crypto_suite_names);
630 void GetDefaultSrtpCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, 629 void GetDefaultSrtpCryptoSuiteNames(const rtc::CryptoOptions& crypto_options,
631 std::vector<std::string>* crypto_suite_names); 630 std::vector<std::string>* crypto_suite_names);
632 631
633 } // namespace cricket 632 } // namespace cricket
634 633
635 #endif // WEBRTC_PC_MEDIASESSION_H_ 634 #endif // WEBRTC_PC_MEDIASESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698