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 17 matching lines...) Expand all Loading... |
28 struct NackConfig { | 28 struct NackConfig { |
29 NackConfig() : rtp_history_ms(0) {} | 29 NackConfig() : rtp_history_ms(0) {} |
30 std::string ToString() const; | 30 std::string ToString() const; |
31 // Send side: the time RTP packets are stored for retransmissions. | 31 // Send side: the time RTP packets are stored for retransmissions. |
32 // Receive side: the time the receiver is prepared to wait for | 32 // Receive side: the time the receiver is prepared to wait for |
33 // retransmissions. | 33 // retransmissions. |
34 // Set to '0' to disable. | 34 // Set to '0' to disable. |
35 int rtp_history_ms; | 35 int rtp_history_ms; |
36 }; | 36 }; |
37 | 37 |
38 // Settings for forward error correction, see RFC 5109 for details. Set the | 38 // Settings for ULPFEC forward error correction. |
39 // payload types to '-1' to disable. | 39 // Set the payload types to '-1' to disable. |
40 struct FecConfig { | 40 struct UlpfecConfig { |
41 FecConfig() | 41 UlpfecConfig() |
42 : ulpfec_payload_type(-1), | 42 : ulpfec_payload_type(-1), |
43 red_payload_type(-1), | 43 red_payload_type(-1), |
44 red_rtx_payload_type(-1) {} | 44 red_rtx_payload_type(-1) {} |
45 std::string ToString() const; | 45 std::string ToString() const; |
46 // Payload type used for ULPFEC packets. | 46 // Payload type used for ULPFEC packets. |
47 int ulpfec_payload_type; | 47 int ulpfec_payload_type; |
48 | 48 |
49 // Payload type used for RED packets. | 49 // Payload type used for RED packets. |
50 int red_payload_type; | 50 int red_payload_type; |
51 | 51 |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 | 231 |
232 class DecoderSpecificSettings { | 232 class DecoderSpecificSettings { |
233 public: | 233 public: |
234 virtual ~DecoderSpecificSettings() {} | 234 virtual ~DecoderSpecificSettings() {} |
235 rtc::Optional<VideoDecoderH264Settings> h264_extra_settings; | 235 rtc::Optional<VideoDecoderH264Settings> h264_extra_settings; |
236 }; | 236 }; |
237 | 237 |
238 } // namespace webrtc | 238 } // namespace webrtc |
239 | 239 |
240 #endif // WEBRTC_CONFIG_H_ | 240 #endif // WEBRTC_CONFIG_H_ |
OLD | NEW |