Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(319)

Side by Side Diff: webrtc/call/flexfec_receive_stream.h

Issue 2974453002: Protected streams report RTP messages directly to the FlexFec streams (Closed)
Patch Set: Appease lint. Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/call/flexfec_receive_stream_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/call/rtp_packet_sink_interface.h"
20 #include "webrtc/config.h" 21 #include "webrtc/config.h"
21 22
22 namespace webrtc { 23 namespace webrtc {
23 24
24 class FlexfecReceiveStream { 25 class FlexfecReceiveStream : public RtpPacketSinkInterface {
25 public: 26 public:
26 virtual ~FlexfecReceiveStream() = default; 27 ~FlexfecReceiveStream() override = default;
27 28
28 struct Stats { 29 struct Stats {
29 std::string ToString(int64_t time_ms) const; 30 std::string ToString(int64_t time_ms) const;
30 31
31 // TODO(brandtr): Add appropriate stats here. 32 // TODO(brandtr): Add appropriate stats here.
32 int flexfec_bitrate_bps; 33 int flexfec_bitrate_bps;
33 }; 34 };
34 35
35 struct Config { 36 struct Config {
36 explicit Config(Transport* rtcp_send_transport) 37 explicit Config(Transport* rtcp_send_transport)
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 virtual void Stop() = 0; 84 virtual void Stop() = 0;
84 85
85 virtual Stats GetStats() const = 0; 86 virtual Stats GetStats() const = 0;
86 87
87 virtual const Config& GetConfig() const = 0; 88 virtual const Config& GetConfig() const = 0;
88 }; 89 };
89 90
90 } // namespace webrtc 91 } // namespace webrtc
91 92
92 #endif // WEBRTC_CALL_FLEXFEC_RECEIVE_STREAM_H_ 93 #endif // WEBRTC_CALL_FLEXFEC_RECEIVE_STREAM_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/call/flexfec_receive_stream_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698