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

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

Issue 2684023002: Remove repeat flag from SendRTCP (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
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/rtcp_sender.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 int32_t AddMixedCNAME(uint32_t SSRC, const char* c_name); 106 int32_t AddMixedCNAME(uint32_t SSRC, const char* c_name);
107 107
108 int32_t RemoveMixedCNAME(uint32_t SSRC); 108 int32_t RemoveMixedCNAME(uint32_t SSRC);
109 109
110 bool TimeToSendRTCPReport(bool sendKeyframeBeforeRTP = false) const; 110 bool TimeToSendRTCPReport(bool sendKeyframeBeforeRTP = false) const;
111 111
112 int32_t SendRTCP(const FeedbackState& feedback_state, 112 int32_t SendRTCP(const FeedbackState& feedback_state,
113 RTCPPacketType packetType, 113 RTCPPacketType packetType,
114 int32_t nackSize = 0, 114 int32_t nackSize = 0,
115 const uint16_t* nackList = 0, 115 const uint16_t* nackList = 0,
116 bool repeat = false,
117 uint64_t pictureID = 0); 116 uint64_t pictureID = 0);
118 117
119 int32_t SendCompoundRTCP(const FeedbackState& feedback_state, 118 int32_t SendCompoundRTCP(const FeedbackState& feedback_state,
120 const std::set<RTCPPacketType>& packetTypes, 119 const std::set<RTCPPacketType>& packetTypes,
121 int32_t nackSize = 0, 120 int32_t nackSize = 0,
122 const uint16_t* nackList = 0, 121 const uint16_t* nackList = 0,
123 bool repeat = false,
124 uint64_t pictureID = 0); 122 uint64_t pictureID = 0);
125 123
126 bool REMB() const; 124 bool REMB() const;
127 125
128 void SetREMBStatus(bool enable); 126 void SetREMBStatus(bool enable);
129 127
130 void SetREMBData(uint32_t bitrate, const std::vector<uint32_t>& ssrcs); 128 void SetREMBData(uint32_t bitrate, const std::vector<uint32_t>& ssrcs);
131 129
132 bool TMMBR() const; 130 bool TMMBR() const;
133 131
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 typedef std::unique_ptr<rtcp::RtcpPacket> (RTCPSender::*BuilderFunc)( 288 typedef std::unique_ptr<rtcp::RtcpPacket> (RTCPSender::*BuilderFunc)(
291 const RtcpContext&); 289 const RtcpContext&);
292 // Map from RTCPPacketType to builder. 290 // Map from RTCPPacketType to builder.
293 std::map<uint32_t, BuilderFunc> builders_; 291 std::map<uint32_t, BuilderFunc> builders_;
294 292
295 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTCPSender); 293 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTCPSender);
296 }; 294 };
297 } // namespace webrtc 295 } // namespace webrtc
298 296
299 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_SENDER_H_ 297 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_SENDER_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/rtcp_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698