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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_sender_video.h

Issue 1506863002: Add test which verifies that the RTP header extensions are set correctly for FEC packets. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix type. Created 5 years 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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 RTPSenderInterface& _rtpSender; 103 RTPSenderInterface& _rtpSender;
104 104
105 // Should never be held when calling out of this class. 105 // Should never be held when calling out of this class.
106 const rtc::scoped_ptr<CriticalSectionWrapper> crit_; 106 const rtc::scoped_ptr<CriticalSectionWrapper> crit_;
107 107
108 RtpVideoCodecTypes _videoType; 108 RtpVideoCodecTypes _videoType;
109 uint32_t _maxBitrate; 109 uint32_t _maxBitrate;
110 int32_t _retransmissionSettings GUARDED_BY(crit_); 110 int32_t _retransmissionSettings GUARDED_BY(crit_);
111 111
112 // FEC 112 // FEC
113 ForwardErrorCorrection _fec; 113 ForwardErrorCorrection fec_;
114 bool _fecEnabled GUARDED_BY(crit_); 114 bool fec_enabled_ GUARDED_BY(crit_);
115 int8_t _payloadTypeRED GUARDED_BY(crit_); 115 int8_t red_payload_type_ GUARDED_BY(crit_);
116 int8_t _payloadTypeFEC GUARDED_BY(crit_); 116 int8_t fec_payload_type_ GUARDED_BY(crit_);
117 FecProtectionParams delta_fec_params_ GUARDED_BY(crit_); 117 FecProtectionParams delta_fec_params_ GUARDED_BY(crit_);
118 FecProtectionParams key_fec_params_ GUARDED_BY(crit_); 118 FecProtectionParams key_fec_params_ GUARDED_BY(crit_);
119 ProducerFec producer_fec_ GUARDED_BY(crit_); 119 ProducerFec producer_fec_ GUARDED_BY(crit_);
120 120
121 // Bitrate used for FEC payload, RED headers, RTP headers for FEC packets 121 // Bitrate used for FEC payload, RED headers, RTP headers for FEC packets
122 // and any padding overhead. 122 // and any padding overhead.
123 Bitrate _fecOverheadRate; 123 Bitrate _fecOverheadRate;
124 // Bitrate used for video payload and RTP headers 124 // Bitrate used for video payload and RTP headers
125 Bitrate _videoBitrate; 125 Bitrate _videoBitrate;
126 }; 126 };
127 } // namespace webrtc 127 } // namespace webrtc
128 128
129 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_VIDEO_H_ 129 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_VIDEO_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/forward_error_correction.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698