OLD | NEW |
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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 | 130 |
131 // RTP header extensions to use for this send stream. | 131 // RTP header extensions to use for this send stream. |
132 std::vector<RtpExtension> extensions; | 132 std::vector<RtpExtension> extensions; |
133 | 133 |
134 // See NackConfig for description. | 134 // See NackConfig for description. |
135 NackConfig nack; | 135 NackConfig nack; |
136 | 136 |
137 // See UlpfecConfig for description. | 137 // See UlpfecConfig for description. |
138 UlpfecConfig ulpfec; | 138 UlpfecConfig ulpfec; |
139 | 139 |
| 140 // See FlexfecConfig for description. |
| 141 // TODO(brandtr): Move this config to a new class FlexfecSendStream |
| 142 // when we support multistream protection. |
| 143 FlexfecConfig flexfec; |
| 144 |
140 // Settings for RTP retransmission payload format, see RFC 4588 for | 145 // Settings for RTP retransmission payload format, see RFC 4588 for |
141 // details. | 146 // details. |
142 struct Rtx { | 147 struct Rtx { |
143 std::string ToString() const; | 148 std::string ToString() const; |
144 // SSRCs to use for the RTX streams. | 149 // SSRCs to use for the RTX streams. |
145 std::vector<uint32_t> ssrcs; | 150 std::vector<uint32_t> ssrcs; |
146 | 151 |
147 // Payload type to use for the RTX stream. | 152 // Payload type to use for the RTX stream. |
148 int payload_type = -1; | 153 int payload_type = -1; |
149 } rtx; | 154 } rtx; |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0); | 232 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0); |
228 } | 233 } |
229 | 234 |
230 protected: | 235 protected: |
231 virtual ~VideoSendStream() {} | 236 virtual ~VideoSendStream() {} |
232 }; | 237 }; |
233 | 238 |
234 } // namespace webrtc | 239 } // namespace webrtc |
235 | 240 |
236 #endif // WEBRTC_VIDEO_SEND_STREAM_H_ | 241 #endif // WEBRTC_VIDEO_SEND_STREAM_H_ |
OLD | NEW |