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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
42 UlpfecConfig() | 42 UlpfecConfig() |
43 : ulpfec_payload_type(-1), | 43 : ulpfec_payload_type(-1), |
44 red_payload_type(-1), | 44 red_payload_type(-1), |
45 red_rtx_payload_type(-1) {} | 45 red_rtx_payload_type(-1) {} |
46 std::string ToString() const; | 46 std::string ToString() const; |
47 bool operator==(const UlpfecConfig& other) const; | 47 bool operator==(const UlpfecConfig& other) const; |
48 | 48 |
49 // Payload type used for ULPFEC packets. | 49 // Payload type used for ULPFEC packets. |
50 int ulpfec_payload_type; | 50 int ulpfec_payload_type; |
51 | 51 |
52 // TODO(nisse): Unclear to me if the next two values belong here? | |
danilchap
2017/08/29 13:33:06
why this comment belong to the CL?
why this descri
nisse-webrtc
2017/08/29 13:51:36
I can try to rephrase or move. Comment is here bec
nisse-webrtc
2017/08/30 11:49:05
Done.
| |
53 // Currently, red_rtx_payload_type is used mainly only on the send | |
54 // side. On the receive side, configuration of the per-packet | |
55 // processing is done via | |
56 // VideoReceiveStream::Config::Rtp::rtx_payload_types, but that | |
57 // mapping is populated by | |
58 // WebRtcVideoChannel::WebRtcVideoReceiveStream in | |
59 // webrtcvideoengine.cc based on the values in this struct. | |
60 | |
52 // Payload type used for RED packets. | 61 // Payload type used for RED packets. |
53 int red_payload_type; | 62 int red_payload_type; |
54 | 63 |
55 // RTX payload type for RED payload. | 64 // RTX payload type for RED payload. |
56 int red_rtx_payload_type; | 65 int red_rtx_payload_type; |
57 }; | 66 }; |
58 | 67 |
59 // RTP header extension, see RFC 5285. | 68 // RTP header extension, see RFC 5285. |
60 struct RtpExtension { | 69 struct RtpExtension { |
61 RtpExtension() {} | 70 RtpExtension() {} |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
257 | 266 |
258 private: | 267 private: |
259 // Access to the copy constructor is private to force use of the Copy() | 268 // Access to the copy constructor is private to force use of the Copy() |
260 // method for those exceptional cases where we do use it. | 269 // method for those exceptional cases where we do use it. |
261 VideoEncoderConfig(const VideoEncoderConfig&); | 270 VideoEncoderConfig(const VideoEncoderConfig&); |
262 }; | 271 }; |
263 | 272 |
264 } // namespace webrtc | 273 } // namespace webrtc |
265 | 274 |
266 #endif // WEBRTC_CONFIG_H_ | 275 #endif // WEBRTC_CONFIG_H_ |
OLD | NEW |