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

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

Issue 2675173003: Adding "adapter" ORTC objects on top of ChannelManager/BaseChannel/etc. (Closed)
Patch Set: Add memcheck suppression for end-to-end tests. Created 3 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 | « webrtc/pc/mediacontroller.h ('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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 } 85 }
86 86
87 bool operator!=(const RtpTransceiverDirection& o) const { 87 bool operator!=(const RtpTransceiverDirection& o) const {
88 return !(*this == o); 88 return !(*this == o);
89 } 89 }
90 90
91 static RtpTransceiverDirection FromMediaContentDirection( 91 static RtpTransceiverDirection FromMediaContentDirection(
92 MediaContentDirection md); 92 MediaContentDirection md);
93 93
94 MediaContentDirection ToMediaContentDirection() const; 94 MediaContentDirection ToMediaContentDirection() const;
95
96 RtpTransceiverDirection Reversed() const {
97 return RtpTransceiverDirection(recv, send);
98 }
95 }; 99 };
96 100
97 RtpTransceiverDirection 101 RtpTransceiverDirection
98 NegotiateRtpTransceiverDirection(RtpTransceiverDirection offer, 102 NegotiateRtpTransceiverDirection(RtpTransceiverDirection offer,
99 RtpTransceiverDirection wants); 103 RtpTransceiverDirection wants);
100 104
101 struct MediaSessionOptions { 105 struct MediaSessionOptions {
102 MediaSessionOptions() 106 MediaSessionOptions()
103 : recv_audio(true), 107 : recv_audio(true),
104 recv_video(false), 108 recv_video(false),
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 void GetSupportedVideoCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, 615 void GetSupportedVideoCryptoSuiteNames(const rtc::CryptoOptions& crypto_options,
612 std::vector<std::string>* crypto_suite_names); 616 std::vector<std::string>* crypto_suite_names);
613 void GetSupportedDataCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, 617 void GetSupportedDataCryptoSuiteNames(const rtc::CryptoOptions& crypto_options,
614 std::vector<std::string>* crypto_suite_names); 618 std::vector<std::string>* crypto_suite_names);
615 void GetDefaultSrtpCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, 619 void GetDefaultSrtpCryptoSuiteNames(const rtc::CryptoOptions& crypto_options,
616 std::vector<std::string>* crypto_suite_names); 620 std::vector<std::string>* crypto_suite_names);
617 621
618 } // namespace cricket 622 } // namespace cricket
619 623
620 #endif // WEBRTC_PC_MEDIASESSION_H_ 624 #endif // WEBRTC_PC_MEDIASESSION_H_
OLDNEW
« no previous file with comments | « webrtc/pc/mediacontroller.h ('k') | webrtc/pc/mediasession.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698