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 TALK_SESSION_MEDIA_MEDIASESSION_H_ | 13 #ifndef TALK_SESSION_MEDIA_MEDIASESSION_H_ |
14 #define TALK_SESSION_MEDIA_MEDIASESSION_H_ | 14 #define TALK_SESSION_MEDIA_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/base/scoped_ptr.h" | 21 #include "webrtc/base/scoped_ptr.h" |
22 #include "webrtc/media/base/codec.h" | 22 #include "webrtc/media/base/codec.h" |
23 #include "webrtc/media/base/constants.h" | |
24 #include "webrtc/media/base/cryptoparams.h" | 23 #include "webrtc/media/base/cryptoparams.h" |
25 #include "webrtc/media/base/mediachannel.h" | 24 #include "webrtc/media/base/mediachannel.h" |
| 25 #include "webrtc/media/base/mediaconstants.h" |
26 #include "webrtc/media/base/mediaengine.h" // For DataChannelType | 26 #include "webrtc/media/base/mediaengine.h" // For DataChannelType |
27 #include "webrtc/media/base/streamparams.h" | 27 #include "webrtc/media/base/streamparams.h" |
28 #include "webrtc/p2p/base/sessiondescription.h" | 28 #include "webrtc/p2p/base/sessiondescription.h" |
29 #include "webrtc/p2p/base/transport.h" | 29 #include "webrtc/p2p/base/transport.h" |
30 #include "webrtc/p2p/base/transportdescriptionfactory.h" | 30 #include "webrtc/p2p/base/transportdescriptionfactory.h" |
31 | 31 |
32 namespace cricket { | 32 namespace cricket { |
33 | 33 |
34 class ChannelManager; | 34 class ChannelManager; |
35 typedef std::vector<AudioCodec> AudioCodecs; | 35 typedef std::vector<AudioCodec> AudioCodecs; |
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
543 void GetSupportedVideoCryptoSuiteNames( | 543 void GetSupportedVideoCryptoSuiteNames( |
544 std::vector<std::string>* crypto_suite_names); | 544 std::vector<std::string>* crypto_suite_names); |
545 void GetSupportedDataCryptoSuiteNames( | 545 void GetSupportedDataCryptoSuiteNames( |
546 std::vector<std::string>* crypto_suite_names); | 546 std::vector<std::string>* crypto_suite_names); |
547 void GetDefaultSrtpCryptoSuiteNames( | 547 void GetDefaultSrtpCryptoSuiteNames( |
548 std::vector<std::string>* crypto_suite_names); | 548 std::vector<std::string>* crypto_suite_names); |
549 | 549 |
550 } // namespace cricket | 550 } // namespace cricket |
551 | 551 |
552 #endif // TALK_SESSION_MEDIA_MEDIASESSION_H_ | 552 #endif // TALK_SESSION_MEDIA_MEDIASESSION_H_ |
OLD | NEW |