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 14 matching lines...) Loading... |
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/compound_packet.h" | 27 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/compound_packet.h" |
28 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.h" | 28 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.h" |
29 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/fir.h" | 29 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/fir.h" |
30 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h" | 30 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h" |
31 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.h" | 31 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.h" |
32 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h" | 32 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h" |
33 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/remb.h" | 33 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/remb.h" |
34 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/rpsi.h" | 34 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/rpsi.h" |
| 35 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.h" |
35 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sli.h" | 36 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sli.h" |
36 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn.h" | 37 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn.h" |
37 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.h" | 38 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.h" |
38 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" | 39 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" |
39 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h" | 40 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h" |
40 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" | 41 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
41 | 42 |
42 namespace webrtc { | 43 namespace webrtc { |
43 | 44 |
44 using RTCPUtility::RTCPCnameInformation; | 45 using RTCPUtility::RTCPCnameInformation; |
(...skipping 1012 matching lines...) Loading... |
1057 Transport* const transport_; | 1058 Transport* const transport_; |
1058 bool send_failure_; | 1059 bool send_failure_; |
1059 } sender(transport_); | 1060 } sender(transport_); |
1060 | 1061 |
1061 uint8_t buffer[IP_PACKET_SIZE]; | 1062 uint8_t buffer[IP_PACKET_SIZE]; |
1062 return packet.BuildExternalBuffer(buffer, IP_PACKET_SIZE, &sender) && | 1063 return packet.BuildExternalBuffer(buffer, IP_PACKET_SIZE, &sender) && |
1063 !sender.send_failure_; | 1064 !sender.send_failure_; |
1064 } | 1065 } |
1065 | 1066 |
1066 } // namespace webrtc | 1067 } // namespace webrtc |
OLD | NEW |