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

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

Issue 2826263004: Move responsibility for RTP header extensions on video receive. (Closed)
Patch Set: Created 3 years, 8 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
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 // What RTCP mode to use in the reports. 62 // What RTCP mode to use in the reports.
63 RtcpMode rtcp_mode = RtcpMode::kCompound; 63 RtcpMode rtcp_mode = RtcpMode::kCompound;
64 64
65 // Transport for outgoing RTCP packets. 65 // Transport for outgoing RTCP packets.
66 Transport* rtcp_send_transport = nullptr; 66 Transport* rtcp_send_transport = nullptr;
67 67
68 // |transport_cc| is true whenever the send-side BWE RTCP feedback message 68 // |transport_cc| is true whenever the send-side BWE RTCP feedback message
69 // has been negotiated. This is a prerequisite for enabling send-side BWE. 69 // has been negotiated. This is a prerequisite for enabling send-side BWE.
70 bool transport_cc = false; 70 bool transport_cc = false;
71
72 // RTP header extensions that have been negotiated for this track.
73 std::vector<RtpExtension> rtp_header_extensions;
74 }; 71 };
75 72
76 // Starts stream activity. 73 // Starts stream activity.
77 // When a stream is active, it can receive and process packets. 74 // When a stream is active, it can receive and process packets.
78 virtual void Start() = 0; 75 virtual void Start() = 0;
79 // Stops stream activity. 76 // Stops stream activity.
80 // When a stream is stopped, it can't receive nor process packets. 77 // When a stream is stopped, it can't receive nor process packets.
81 virtual void Stop() = 0; 78 virtual void Stop() = 0;
82 79
83 virtual Stats GetStats() const = 0; 80 virtual Stats GetStats() const = 0;
84 81
85 protected: 82 protected:
86 virtual ~FlexfecReceiveStream() = default; 83 virtual ~FlexfecReceiveStream() = default;
87 }; 84 };
88 85
89 } // namespace webrtc 86 } // namespace webrtc
90 87
91 #endif // WEBRTC_CALL_FLEXFEC_RECEIVE_STREAM_H_ 88 #endif // WEBRTC_CALL_FLEXFEC_RECEIVE_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698