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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 MOCK_METHOD1(RemoveMixedCNAME, int32_t(uint32_t ssrc)); | 137 MOCK_METHOD1(RemoveMixedCNAME, int32_t(uint32_t ssrc)); |
138 MOCK_CONST_METHOD5(RTT, | 138 MOCK_CONST_METHOD5(RTT, |
139 int32_t(uint32_t remote_ssrc, | 139 int32_t(uint32_t remote_ssrc, |
140 int64_t* rtt, | 140 int64_t* rtt, |
141 int64_t* avg_rtt, | 141 int64_t* avg_rtt, |
142 int64_t* min_rtt, | 142 int64_t* min_rtt, |
143 int64_t* max_rtt)); | 143 int64_t* max_rtt)); |
144 MOCK_METHOD1(SendRTCP, int32_t(RTCPPacketType packet_type)); | 144 MOCK_METHOD1(SendRTCP, int32_t(RTCPPacketType packet_type)); |
145 MOCK_METHOD1(SendCompoundRTCP, | 145 MOCK_METHOD1(SendCompoundRTCP, |
146 int32_t(const std::set<RTCPPacketType>& packet_types)); | 146 int32_t(const std::set<RTCPPacketType>& packet_types)); |
147 MOCK_METHOD1(SendRTCPReferencePictureSelection, int32_t(uint64_t picture_id)); | |
148 MOCK_METHOD1(SendRTCPSliceLossIndication, int32_t(uint8_t picture_id)); | |
149 MOCK_CONST_METHOD2(DataCountersRTP, | 147 MOCK_CONST_METHOD2(DataCountersRTP, |
150 int32_t(size_t* bytes_sent, uint32_t* packets_sent)); | 148 int32_t(size_t* bytes_sent, uint32_t* packets_sent)); |
151 MOCK_CONST_METHOD2(GetSendStreamDataCounters, | 149 MOCK_CONST_METHOD2(GetSendStreamDataCounters, |
152 void(StreamDataCounters*, StreamDataCounters*)); | 150 void(StreamDataCounters*, StreamDataCounters*)); |
153 MOCK_CONST_METHOD3(GetRtpPacketLossStats, | 151 MOCK_CONST_METHOD3(GetRtpPacketLossStats, |
154 void(bool, uint32_t, struct RtpPacketLossStats*)); | 152 void(bool, uint32_t, struct RtpPacketLossStats*)); |
155 MOCK_METHOD1(RemoteRTCPStat, int32_t(RTCPSenderInfo* sender_info)); | 153 MOCK_METHOD1(RemoteRTCPStat, int32_t(RTCPSenderInfo* sender_info)); |
156 MOCK_CONST_METHOD1(RemoteRTCPStat, | 154 MOCK_CONST_METHOD1(RemoteRTCPStat, |
157 int32_t(std::vector<RTCPReportBlock>* receive_blocks)); | 155 int32_t(std::vector<RTCPReportBlock>* receive_blocks)); |
158 MOCK_METHOD4(SetRTCPApplicationSpecificData, | 156 MOCK_METHOD4(SetRTCPApplicationSpecificData, |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, | 203 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, |
206 StreamDataCountersCallback*(void)); | 204 StreamDataCountersCallback*(void)); |
207 MOCK_METHOD1(SetVideoBitrateAllocation, void(const BitrateAllocation&)); | 205 MOCK_METHOD1(SetVideoBitrateAllocation, void(const BitrateAllocation&)); |
208 // Members. | 206 // Members. |
209 unsigned int remote_ssrc_; | 207 unsigned int remote_ssrc_; |
210 }; | 208 }; |
211 | 209 |
212 } // namespace webrtc | 210 } // namespace webrtc |
213 | 211 |
214 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ | 212 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ |
OLD | NEW |