OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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_RTPDATAENGINE_H_ | 11 #ifndef WEBRTC_MEDIA_BASE_RTPDATAENGINE_H_ |
12 #define WEBRTC_MEDIA_BASE_RTPDATAENGINE_H_ | 12 #define WEBRTC_MEDIA_BASE_RTPDATAENGINE_H_ |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 #include <string> | 15 #include <string> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "webrtc/base/timing.h" | 18 #include "webrtc/base/timing.h" |
19 #include "webrtc/media/base/constants.h" | |
20 #include "webrtc/media/base/mediachannel.h" | 19 #include "webrtc/media/base/mediachannel.h" |
| 20 #include "webrtc/media/base/mediaconstants.h" |
21 #include "webrtc/media/base/mediaengine.h" | 21 #include "webrtc/media/base/mediaengine.h" |
22 | 22 |
23 namespace cricket { | 23 namespace cricket { |
24 | 24 |
25 struct DataCodec; | 25 struct DataCodec; |
26 | 26 |
27 class RtpDataEngine : public DataEngineInterface { | 27 class RtpDataEngine : public DataEngineInterface { |
28 public: | 28 public: |
29 RtpDataEngine(); | 29 RtpDataEngine(); |
30 | 30 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 std::vector<DataCodec> recv_codecs_; | 116 std::vector<DataCodec> recv_codecs_; |
117 std::vector<StreamParams> send_streams_; | 117 std::vector<StreamParams> send_streams_; |
118 std::vector<StreamParams> recv_streams_; | 118 std::vector<StreamParams> recv_streams_; |
119 std::map<uint32_t, RtpClock*> rtp_clock_by_send_ssrc_; | 119 std::map<uint32_t, RtpClock*> rtp_clock_by_send_ssrc_; |
120 std::unique_ptr<rtc::RateLimiter> send_limiter_; | 120 std::unique_ptr<rtc::RateLimiter> send_limiter_; |
121 }; | 121 }; |
122 | 122 |
123 } // namespace cricket | 123 } // namespace cricket |
124 | 124 |
125 #endif // WEBRTC_MEDIA_BASE_RTPDATAENGINE_H_ | 125 #endif // WEBRTC_MEDIA_BASE_RTPDATAENGINE_H_ |
OLD | NEW |