| 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 10 matching lines...) Expand all Loading... |
| 21 #include "webrtc/base/logging.h" | 21 #include "webrtc/base/logging.h" |
| 22 #include "webrtc/base/trace_event.h" | 22 #include "webrtc/base/trace_event.h" |
| 23 #include "webrtc/common_types.h" | 23 #include "webrtc/common_types.h" |
| 24 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" | 24 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" |
| 25 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/app.h" | 25 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/app.h" |
| 26 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.h" | 26 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.h" |
| 27 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h" | 27 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h" |
| 28 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.h" | 28 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.h" |
| 29 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h" | 29 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h" |
| 30 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn.h" | 30 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn.h" |
| 31 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.h" |
| 31 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" | 32 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" |
| 32 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h" | 33 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h" |
| 33 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" | 34 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
| 34 | 35 |
| 35 namespace webrtc { | 36 namespace webrtc { |
| 36 | 37 |
| 37 using RTCPUtility::RTCPCnameInformation; | 38 using RTCPUtility::RTCPCnameInformation; |
| 38 | 39 |
| 39 NACKStringBuilder::NACKStringBuilder() | 40 NACKStringBuilder::NACKStringBuilder() |
| 40 : stream_(""), count_(0), prevNack_(0), consecutive_(false) {} | 41 : stream_(""), count_(0), prevNack_(0), consecutive_(false) {} |
| (...skipping 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1052 Transport* const transport_; | 1053 Transport* const transport_; |
| 1053 bool send_failure_; | 1054 bool send_failure_; |
| 1054 } sender(transport_); | 1055 } sender(transport_); |
| 1055 | 1056 |
| 1056 uint8_t buffer[IP_PACKET_SIZE]; | 1057 uint8_t buffer[IP_PACKET_SIZE]; |
| 1057 return packet.BuildExternalBuffer(buffer, IP_PACKET_SIZE, &sender) && | 1058 return packet.BuildExternalBuffer(buffer, IP_PACKET_SIZE, &sender) && |
| 1058 !sender.send_failure_; | 1059 !sender.send_failure_; |
| 1059 } | 1060 } |
| 1060 | 1061 |
| 1061 } // namespace webrtc | 1062 } // namespace webrtc |
| OLD | NEW |