OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |