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

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

Issue 2553863003: Parse FlexFEC RTP headers in Call and add integration with BWE. (Closed)
Patch Set: Add basic CongestionController unit test, based on nisse's suggestion. Created 3 years, 12 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 | « webrtc/call/call.cc ('k') | 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
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 RtcpMode rtcp_mode = RtcpMode::kCompound; 52 RtcpMode rtcp_mode = RtcpMode::kCompound;
53 53
54 // Transport for outgoing RTCP packets. 54 // Transport for outgoing RTCP packets.
55 Transport* rtcp_send_transport = nullptr; 55 Transport* rtcp_send_transport = nullptr;
56 56
57 // |transport_cc| is true whenever the send-side BWE RTCP feedback message 57 // |transport_cc| is true whenever the send-side BWE RTCP feedback message
58 // has been negotiated. This is a prerequisite for enabling send-side BWE. 58 // has been negotiated. This is a prerequisite for enabling send-side BWE.
59 bool transport_cc = false; 59 bool transport_cc = false;
60 60
61 // RTP header extensions that have been negotiated for this track. 61 // RTP header extensions that have been negotiated for this track.
62 std::vector<RtpExtension> extensions; 62 std::vector<RtpExtension> rtp_header_extensions;
63 }; 63 };
64 64
65 // Starts stream activity. 65 // Starts stream activity.
66 // When a stream is active, it can receive and process packets. 66 // When a stream is active, it can receive and process packets.
67 virtual void Start() = 0; 67 virtual void Start() = 0;
68 // Stops stream activity. 68 // Stops stream activity.
69 // When a stream is stopped, it can't receive nor process packets. 69 // When a stream is stopped, it can't receive nor process packets.
70 virtual void Stop() = 0; 70 virtual void Stop() = 0;
71 71
72 virtual Stats GetStats() const = 0; 72 virtual Stats GetStats() const = 0;
73 73
74 protected: 74 protected:
75 virtual ~FlexfecReceiveStream() = default; 75 virtual ~FlexfecReceiveStream() = default;
76 }; 76 };
77 77
78 } // namespace webrtc 78 } // namespace webrtc
79 79
80 #endif // WEBRTC_CALL_FLEXFEC_RECEIVE_STREAM_H_ 80 #endif // WEBRTC_CALL_FLEXFEC_RECEIVE_STREAM_H_
OLDNEW
« no previous file with comments | « webrtc/call/call.cc ('k') | webrtc/call/flexfec_receive_stream_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698