OLD | NEW |
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 |
11 // Types and classes used in media session descriptions. | 11 // Types and classes used in media session descriptions. |
12 | 12 |
13 #ifndef WEBRTC_PC_MEDIASESSION_H_ | 13 #ifndef WEBRTC_PC_MEDIASESSION_H_ |
14 #define WEBRTC_PC_MEDIASESSION_H_ | 14 #define WEBRTC_PC_MEDIASESSION_H_ |
15 | 15 |
16 #include <algorithm> | 16 #include <algorithm> |
17 #include <map> | 17 #include <map> |
18 #include <string> | 18 #include <string> |
19 #include <vector> | 19 #include <vector> |
20 | 20 |
21 #include "webrtc/media/base/codec.h" | 21 #include "webrtc/media/base/codec.h" |
22 #include "webrtc/media/base/cryptoparams.h" | 22 #include "webrtc/media/base/cryptoparams.h" |
23 #include "webrtc/media/base/mediachannel.h" | 23 #include "webrtc/media/base/mediachannel.h" |
24 #include "webrtc/media/base/mediaconstants.h" | 24 #include "webrtc/media/base/mediaconstants.h" |
25 #include "webrtc/media/base/mediaengine.h" // For DataChannelType | 25 #include "webrtc/media/base/mediaengine.h" // For DataChannelType |
26 #include "webrtc/media/base/streamparams.h" | 26 #include "webrtc/media/base/streamparams.h" |
27 #include "webrtc/p2p/base/sessiondescription.h" | 27 #include "webrtc/p2p/base/sessiondescription.h" |
28 #include "webrtc/p2p/base/transport.h" | 28 #include "webrtc/p2p/base/jseptransport.h" |
29 #include "webrtc/p2p/base/transportdescriptionfactory.h" | 29 #include "webrtc/p2p/base/transportdescriptionfactory.h" |
30 | 30 |
31 namespace cricket { | 31 namespace cricket { |
32 | 32 |
33 class ChannelManager; | 33 class ChannelManager; |
34 typedef std::vector<AudioCodec> AudioCodecs; | 34 typedef std::vector<AudioCodec> AudioCodecs; |
35 typedef std::vector<VideoCodec> VideoCodecs; | 35 typedef std::vector<VideoCodec> VideoCodecs; |
36 typedef std::vector<DataCodec> DataCodecs; | 36 typedef std::vector<DataCodec> DataCodecs; |
37 typedef std::vector<CryptoParams> CryptoParamsVec; | 37 typedef std::vector<CryptoParams> CryptoParamsVec; |
38 typedef std::vector<webrtc::RtpExtension> RtpHeaderExtensions; | 38 typedef std::vector<webrtc::RtpExtension> RtpHeaderExtensions; |
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
609 void GetSupportedVideoCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, | 609 void GetSupportedVideoCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, |
610 std::vector<std::string>* crypto_suite_names); | 610 std::vector<std::string>* crypto_suite_names); |
611 void GetSupportedDataCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, | 611 void GetSupportedDataCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, |
612 std::vector<std::string>* crypto_suite_names); | 612 std::vector<std::string>* crypto_suite_names); |
613 void GetDefaultSrtpCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, | 613 void GetDefaultSrtpCryptoSuiteNames(const rtc::CryptoOptions& crypto_options, |
614 std::vector<std::string>* crypto_suite_names); | 614 std::vector<std::string>* crypto_suite_names); |
615 | 615 |
616 } // namespace cricket | 616 } // namespace cricket |
617 | 617 |
618 #endif // WEBRTC_PC_MEDIASESSION_H_ | 618 #endif // WEBRTC_PC_MEDIASESSION_H_ |
OLD | NEW |