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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 int(uint32_t* available_bandwidth)); | 124 int(uint32_t* available_bandwidth)); |
125 MOCK_METHOD8(SendOutgoingData, | 125 MOCK_METHOD8(SendOutgoingData, |
126 int32_t(const FrameType frameType, | 126 int32_t(const FrameType frameType, |
127 const int8_t payloadType, | 127 const int8_t payloadType, |
128 const uint32_t timeStamp, | 128 const uint32_t timeStamp, |
129 int64_t capture_time_ms, | 129 int64_t capture_time_ms, |
130 const uint8_t* payloadData, | 130 const uint8_t* payloadData, |
131 const size_t payloadSize, | 131 const size_t payloadSize, |
132 const RTPFragmentationHeader* fragmentation, | 132 const RTPFragmentationHeader* fragmentation, |
133 const RTPVideoHeader* rtpVideoHdr)); | 133 const RTPVideoHeader* rtpVideoHdr)); |
134 MOCK_METHOD5(TimeToSendPacket, | 134 MOCK_METHOD4(TimeToSendPacket, |
135 bool(uint32_t ssrc, | 135 bool(uint32_t ssrc, uint16_t sequence_number, int64_t capture_time_ms, |
136 uint16_t sequence_number, | 136 bool retransmission)); |
137 int64_t capture_time_ms, | 137 MOCK_METHOD1(TimeToSendPadding, |
138 bool retransmission, | 138 size_t(size_t bytes)); |
139 int probe_cluster_id)); | |
140 MOCK_METHOD2(TimeToSendPadding, size_t(size_t bytes, int probe_cluster_id)); | |
141 MOCK_METHOD2(RegisterRtcpObservers, | 139 MOCK_METHOD2(RegisterRtcpObservers, |
142 void(RtcpIntraFrameObserver* intraFrameCallback, | 140 void(RtcpIntraFrameObserver* intraFrameCallback, |
143 RtcpBandwidthObserver* bandwidthCallback)); | 141 RtcpBandwidthObserver* bandwidthCallback)); |
144 MOCK_CONST_METHOD0(RTCP, RtcpMode()); | 142 MOCK_CONST_METHOD0(RTCP, RtcpMode()); |
145 MOCK_METHOD1(SetRTCPStatus, void(const RtcpMode method)); | 143 MOCK_METHOD1(SetRTCPStatus, void(const RtcpMode method)); |
146 MOCK_METHOD1(SetCNAME, | 144 MOCK_METHOD1(SetCNAME, |
147 int32_t(const char cName[RTCP_CNAME_SIZE])); | 145 int32_t(const char cName[RTCP_CNAME_SIZE])); |
148 MOCK_CONST_METHOD2(RemoteCNAME, | 146 MOCK_CONST_METHOD2(RemoteCNAME, |
149 int32_t(const uint32_t remoteSSRC, | 147 int32_t(const uint32_t remoteSSRC, |
150 char cName[RTCP_CNAME_SIZE])); | 148 char cName[RTCP_CNAME_SIZE])); |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 void(StreamDataCountersCallback*)); | 255 void(StreamDataCountersCallback*)); |
258 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, | 256 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, |
259 StreamDataCountersCallback*(void)); | 257 StreamDataCountersCallback*(void)); |
260 // Members. | 258 // Members. |
261 unsigned int remote_ssrc_; | 259 unsigned int remote_ssrc_; |
262 }; | 260 }; |
263 | 261 |
264 } // namespace webrtc | 262 } // namespace webrtc |
265 | 263 |
266 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ | 264 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ |
OLD | NEW |