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

Side by Side Diff: webrtc/video_receive_stream.h

Issue 2712683002: Add |protected_by_flexfec| flag to VideoReceiveStream::Config. (Closed)
Patch Set: Created 3 years, 10 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) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 // See NackConfig for description. 141 // See NackConfig for description.
142 NackConfig nack; 142 NackConfig nack;
143 143
144 // See UlpfecConfig for description. 144 // See UlpfecConfig for description.
145 UlpfecConfig ulpfec; 145 UlpfecConfig ulpfec;
146 146
147 // SSRC for retransmissions. 147 // SSRC for retransmissions.
148 uint32_t rtx_ssrc = 0; 148 uint32_t rtx_ssrc = 0;
149 149
150 // Set if the stream is protected using flexfec.
brandtr 2017/02/23 11:58:32 Nit: FlexFEC.
151 bool protected_by_flexfec = false;
152
150 // Map from video payload type (apt) -> RTX payload type (pt). 153 // Map from video payload type (apt) -> RTX payload type (pt).
151 // For RTX to be enabled, both an SSRC and this mapping are needed. 154 // For RTX to be enabled, both an SSRC and this mapping are needed.
152 std::map<int, int> rtx_payload_types; 155 std::map<int, int> rtx_payload_types;
153 156
154 // RTP header extensions used for the received stream. 157 // RTP header extensions used for the received stream.
155 std::vector<RtpExtension> extensions; 158 std::vector<RtpExtension> extensions;
156 } rtp; 159 } rtp;
157 160
158 // Transport for outgoing packets (RTCP). 161 // Transport for outgoing packets (RTCP).
159 Transport* rtcp_send_transport = nullptr; 162 Transport* rtcp_send_transport = nullptr;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 EnableEncodedFrameRecording(rtc::kInvalidPlatformFileValue, 0); 209 EnableEncodedFrameRecording(rtc::kInvalidPlatformFileValue, 0);
207 } 210 }
208 211
209 protected: 212 protected:
210 virtual ~VideoReceiveStream() {} 213 virtual ~VideoReceiveStream() {}
211 }; 214 };
212 215
213 } // namespace webrtc 216 } // namespace webrtc
214 217
215 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ 218 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_
OLDNEW
« webrtc/media/engine/webrtcvideoengine2.cc ('K') | « webrtc/video/video_receive_stream.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698