OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 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 #ifndef WEBRTC_MEDIA_BASE_CODEC_H_ | 11 #ifndef WEBRTC_MEDIA_BASE_CODEC_H_ |
12 #define WEBRTC_MEDIA_BASE_CODEC_H_ | 12 #define WEBRTC_MEDIA_BASE_CODEC_H_ |
13 | 13 |
14 #include <map> | 14 #include <map> |
15 #include <set> | 15 #include <set> |
16 #include <string> | 16 #include <string> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
19 #include "webrtc/media/base/constants.h" | 19 #include "webrtc/media/base/mediaconstants.h" |
20 | 20 |
21 namespace cricket { | 21 namespace cricket { |
22 | 22 |
23 typedef std::map<std::string, std::string> CodecParameterMap; | 23 typedef std::map<std::string, std::string> CodecParameterMap; |
24 | 24 |
25 extern const int kMaxPayloadId; | 25 extern const int kMaxPayloadId; |
26 | 26 |
27 class FeedbackParam { | 27 class FeedbackParam { |
28 public: | 28 public: |
29 FeedbackParam(const std::string& id, const std::string& param) | 29 FeedbackParam(const std::string& id, const std::string& param) |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 } | 218 } |
219 | 219 |
220 bool CodecNamesEq(const std::string& name1, const std::string& name2); | 220 bool CodecNamesEq(const std::string& name1, const std::string& name2); |
221 bool HasNack(const Codec& codec); | 221 bool HasNack(const Codec& codec); |
222 bool HasRemb(const Codec& codec); | 222 bool HasRemb(const Codec& codec); |
223 bool HasTransportCc(const Codec& codec); | 223 bool HasTransportCc(const Codec& codec); |
224 | 224 |
225 } // namespace cricket | 225 } // namespace cricket |
226 | 226 |
227 #endif // WEBRTC_MEDIA_BASE_CODEC_H_ | 227 #endif // WEBRTC_MEDIA_BASE_CODEC_H_ |
OLD | NEW |