OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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_CALL_FLEXFEC_RECEIVE_STREAM_H_ | 11 #ifndef WEBRTC_CALL_FLEXFEC_RECEIVE_STREAM_H_ |
12 #define WEBRTC_CALL_FLEXFEC_RECEIVE_STREAM_H_ | 12 #define WEBRTC_CALL_FLEXFEC_RECEIVE_STREAM_H_ |
13 | 13 |
14 #include <stdint.h> | 14 #include <stdint.h> |
15 | 15 |
16 #include <string> | 16 #include <string> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
19 #include "webrtc/api/call/transport.h" | 19 #include "webrtc/api/call/transport.h" |
| 20 #include "webrtc/api/rtpparameters.h" |
20 #include "webrtc/call/rtp_packet_sink_interface.h" | 21 #include "webrtc/call/rtp_packet_sink_interface.h" |
21 #include "webrtc/config.h" | 22 #include "webrtc/common_types.h" |
22 | 23 |
23 namespace webrtc { | 24 namespace webrtc { |
24 | 25 |
25 class FlexfecReceiveStream : public RtpPacketSinkInterface { | 26 class FlexfecReceiveStream : public RtpPacketSinkInterface { |
26 public: | 27 public: |
27 ~FlexfecReceiveStream() override = default; | 28 ~FlexfecReceiveStream() override = default; |
28 | 29 |
29 struct Stats { | 30 struct Stats { |
30 std::string ToString(int64_t time_ms) const; | 31 std::string ToString(int64_t time_ms) const; |
31 | 32 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 }; | 78 }; |
78 | 79 |
79 virtual Stats GetStats() const = 0; | 80 virtual Stats GetStats() const = 0; |
80 | 81 |
81 virtual const Config& GetConfig() const = 0; | 82 virtual const Config& GetConfig() const = 0; |
82 }; | 83 }; |
83 | 84 |
84 } // namespace webrtc | 85 } // namespace webrtc |
85 | 86 |
86 #endif // WEBRTC_CALL_FLEXFEC_RECEIVE_STREAM_H_ | 87 #endif // WEBRTC_CALL_FLEXFEC_RECEIVE_STREAM_H_ |
OLD | NEW |