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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
200 void SetREMBData(uint32_t bitrate, | 200 void SetREMBData(uint32_t bitrate, |
201 const std::vector<uint32_t>& ssrcs) override; | 201 const std::vector<uint32_t>& ssrcs) override; |
202 | 202 |
203 // (TMMBR) Temporary Max Media Bit Rate. | 203 // (TMMBR) Temporary Max Media Bit Rate. |
204 bool TMMBR() const override; | 204 bool TMMBR() const override; |
205 | 205 |
206 void SetTMMBRStatus(bool enable) override; | 206 void SetTMMBRStatus(bool enable) override; |
207 | 207 |
208 void SetTmmbn(std::vector<rtcp::TmmbItem> bounding_set) override; | 208 void SetTmmbn(std::vector<rtcp::TmmbItem> bounding_set) override; |
209 | 209 |
210 uint16_t MaxPayloadLength() const override; | 210 size_t MaxPayloadSize() const override; |
211 | 211 |
212 uint16_t MaxDataPayloadLength() const override; | 212 size_t MaxRtpPacketSize() const override; |
213 | 213 |
214 int32_t SetMaxTransferUnit(uint16_t size) override; | 214 void SetMaxRtpPacketSize(size_t size) override; |
stefan-webrtc
2016/12/20 13:05:01
max_packet_size to align with rtp_rtcp.h
nisse-webrtc
2016/12/20 13:38:13
Done.
| |
215 | |
216 // TODO(michaelt): deprecate the function. | |
217 int32_t SetTransportOverhead(bool tcp, | |
218 bool ipv6, | |
219 uint8_t authentication_overhead = 0) override; | |
220 | |
221 void SetTransportOverhead(int transport_overhead_per_packet) override; | |
222 | 215 |
223 // (NACK) Negative acknowledgment part. | 216 // (NACK) Negative acknowledgment part. |
224 | 217 |
225 int SelectiveRetransmissions() const override; | 218 int SelectiveRetransmissions() const override; |
226 | 219 |
227 int SetSelectiveRetransmissions(uint8_t settings) override; | 220 int SetSelectiveRetransmissions(uint8_t settings) override; |
228 | 221 |
229 // Send a Negative acknowledgment packet. | 222 // Send a Negative acknowledgment packet. |
230 // TODO(philipel): Deprecate SendNACK and use SendNack instead. | 223 // TODO(philipel): Deprecate SendNACK and use SendNack instead. |
231 int32_t SendNACK(const uint16_t* nack_list, uint16_t size) override; | 224 int32_t SendNACK(const uint16_t* nack_list, uint16_t size) override; |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
358 PacketLossStats receive_loss_stats_; | 351 PacketLossStats receive_loss_stats_; |
359 | 352 |
360 // The processed RTT from RtcpRttStats. | 353 // The processed RTT from RtcpRttStats. |
361 rtc::CriticalSection critical_section_rtt_; | 354 rtc::CriticalSection critical_section_rtt_; |
362 int64_t rtt_ms_; | 355 int64_t rtt_ms_; |
363 }; | 356 }; |
364 | 357 |
365 } // namespace webrtc | 358 } // namespace webrtc |
366 | 359 |
367 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ | 360 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ |
OLD | NEW |