| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 bool REMB() const; | 125 bool REMB() const; |
| 126 | 126 |
| 127 void SetREMBStatus(bool enable); | 127 void SetREMBStatus(bool enable); |
| 128 | 128 |
| 129 void SetREMBData(uint32_t bitrate, const std::vector<uint32_t>& ssrcs); | 129 void SetREMBData(uint32_t bitrate, const std::vector<uint32_t>& ssrcs); |
| 130 | 130 |
| 131 bool TMMBR() const; | 131 bool TMMBR() const; |
| 132 | 132 |
| 133 void SetTMMBRStatus(bool enable); | 133 void SetTMMBRStatus(bool enable); |
| 134 | 134 |
| 135 void SetMaxPayloadLength(size_t max_payload_length); |
| 136 |
| 135 int32_t SetTMMBN(const TMMBRSet* boundingSet); | 137 int32_t SetTMMBN(const TMMBRSet* boundingSet); |
| 136 | 138 |
| 137 int32_t SetApplicationSpecificData(uint8_t subType, | 139 int32_t SetApplicationSpecificData(uint8_t subType, |
| 138 uint32_t name, | 140 uint32_t name, |
| 139 const uint8_t* data, | 141 const uint8_t* data, |
| 140 uint16_t length); | 142 uint16_t length); |
| 141 int32_t SetRTCPVoIPMetrics(const RTCPVoIPMetric* VoIPMetric); | 143 int32_t SetRTCPVoIPMetrics(const RTCPVoIPMetric* VoIPMetric); |
| 142 | 144 |
| 143 void SendRtcpXrReceiverReferenceTime(bool enable); | 145 void SendRtcpXrReceiverReferenceTime(bool enable); |
| 144 | 146 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 // Full intra request | 235 // Full intra request |
| 234 uint8_t sequence_number_fir_ GUARDED_BY(critical_section_rtcp_sender_); | 236 uint8_t sequence_number_fir_ GUARDED_BY(critical_section_rtcp_sender_); |
| 235 | 237 |
| 236 // REMB | 238 // REMB |
| 237 uint32_t remb_bitrate_ GUARDED_BY(critical_section_rtcp_sender_); | 239 uint32_t remb_bitrate_ GUARDED_BY(critical_section_rtcp_sender_); |
| 238 std::vector<uint32_t> remb_ssrcs_ GUARDED_BY(critical_section_rtcp_sender_); | 240 std::vector<uint32_t> remb_ssrcs_ GUARDED_BY(critical_section_rtcp_sender_); |
| 239 | 241 |
| 240 TMMBRHelp tmmbr_help_ GUARDED_BY(critical_section_rtcp_sender_); | 242 TMMBRHelp tmmbr_help_ GUARDED_BY(critical_section_rtcp_sender_); |
| 241 uint32_t tmmbr_send_ GUARDED_BY(critical_section_rtcp_sender_); | 243 uint32_t tmmbr_send_ GUARDED_BY(critical_section_rtcp_sender_); |
| 242 uint32_t packet_oh_send_ GUARDED_BY(critical_section_rtcp_sender_); | 244 uint32_t packet_oh_send_ GUARDED_BY(critical_section_rtcp_sender_); |
| 245 size_t max_payload_length_; |
| 243 | 246 |
| 244 // APP | 247 // APP |
| 245 uint8_t app_sub_type_ GUARDED_BY(critical_section_rtcp_sender_); | 248 uint8_t app_sub_type_ GUARDED_BY(critical_section_rtcp_sender_); |
| 246 uint32_t app_name_ GUARDED_BY(critical_section_rtcp_sender_); | 249 uint32_t app_name_ GUARDED_BY(critical_section_rtcp_sender_); |
| 247 std::unique_ptr<uint8_t[]> app_data_ | 250 std::unique_ptr<uint8_t[]> app_data_ |
| 248 GUARDED_BY(critical_section_rtcp_sender_); | 251 GUARDED_BY(critical_section_rtcp_sender_); |
| 249 uint16_t app_length_ GUARDED_BY(critical_section_rtcp_sender_); | 252 uint16_t app_length_ GUARDED_BY(critical_section_rtcp_sender_); |
| 250 | 253 |
| 251 // True if sending of XR Receiver reference time report is enabled. | 254 // True if sending of XR Receiver reference time report is enabled. |
| 252 bool xr_send_receiver_reference_time_enabled_ | 255 bool xr_send_receiver_reference_time_enabled_ |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 | 287 |
| 285 typedef std::unique_ptr<rtcp::RtcpPacket> (RTCPSender::*BuilderFunc)( | 288 typedef std::unique_ptr<rtcp::RtcpPacket> (RTCPSender::*BuilderFunc)( |
| 286 const RtcpContext&); | 289 const RtcpContext&); |
| 287 std::map<RTCPPacketType, BuilderFunc> builders_; | 290 std::map<RTCPPacketType, BuilderFunc> builders_; |
| 288 | 291 |
| 289 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTCPSender); | 292 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTCPSender); |
| 290 }; | 293 }; |
| 291 } // namespace webrtc | 294 } // namespace webrtc |
| 292 | 295 |
| 293 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_SENDER_H_ | 296 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_SENDER_H_ |
| OLD | NEW |