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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 int32_t(int8_t& payloadType)); | 218 int32_t(int8_t& payloadType)); |
219 MOCK_METHOD2(SetRTPAudioLevelIndicationStatus, | 219 MOCK_METHOD2(SetRTPAudioLevelIndicationStatus, |
220 int32_t(const bool enable, const uint8_t ID)); | 220 int32_t(const bool enable, const uint8_t ID)); |
221 MOCK_CONST_METHOD2(GetRTPAudioLevelIndicationStatus, | 221 MOCK_CONST_METHOD2(GetRTPAudioLevelIndicationStatus, |
222 int32_t(bool& enable, uint8_t& ID)); | 222 int32_t(bool& enable, uint8_t& ID)); |
223 MOCK_METHOD1(SetAudioLevel, | 223 MOCK_METHOD1(SetAudioLevel, |
224 int32_t(const uint8_t level_dBov)); | 224 int32_t(const uint8_t level_dBov)); |
225 MOCK_METHOD1(SetTargetSendBitrate, | 225 MOCK_METHOD1(SetTargetSendBitrate, |
226 void(uint32_t bitrate_bps)); | 226 void(uint32_t bitrate_bps)); |
227 MOCK_METHOD3(SetGenericFECStatus, | 227 MOCK_METHOD3(SetGenericFECStatus, |
228 int32_t(const bool enable, | 228 void(const bool enable, |
229 const uint8_t payloadTypeRED, | 229 const uint8_t payload_type_red, |
230 const uint8_t payloadTypeFEC)); | 230 const uint8_t payload_type_fec)); |
231 MOCK_METHOD3(GenericFECStatus, | 231 MOCK_METHOD3(GenericFECStatus, |
232 int32_t(bool& enable, uint8_t& payloadTypeRED, uint8_t& payloadTypeFEC)); | 232 void(bool& enable, |
| 233 uint8_t& payloadTypeRED, |
| 234 uint8_t& payloadTypeFEC)); |
233 MOCK_METHOD2(SetFecParameters, | 235 MOCK_METHOD2(SetFecParameters, |
234 int32_t(const FecProtectionParams* delta_params, | 236 int32_t(const FecProtectionParams* delta_params, |
235 const FecProtectionParams* key_params)); | 237 const FecProtectionParams* key_params)); |
236 MOCK_METHOD1(SetKeyFrameRequestMethod, | 238 MOCK_METHOD1(SetKeyFrameRequestMethod, |
237 int32_t(const KeyFrameRequestMethod method)); | 239 int32_t(const KeyFrameRequestMethod method)); |
238 MOCK_METHOD0(RequestKeyFrame, | 240 MOCK_METHOD0(RequestKeyFrame, |
239 int32_t()); | 241 int32_t()); |
240 MOCK_CONST_METHOD3(Version, | 242 MOCK_CONST_METHOD3(Version, |
241 int32_t(char* version, uint32_t& remaining_buffer_in_bytes, uint32_t& posi
tion)); | 243 int32_t(char* version, uint32_t& remaining_buffer_in_bytes, uint32_t& posi
tion)); |
242 MOCK_METHOD0(TimeUntilNextProcess, | 244 MOCK_METHOD0(TimeUntilNextProcess, |
243 int64_t()); | 245 int64_t()); |
244 MOCK_METHOD0(Process, | 246 MOCK_METHOD0(Process, |
245 int32_t()); | 247 int32_t()); |
246 MOCK_METHOD1(RegisterSendFrameCountObserver, | 248 MOCK_METHOD1(RegisterSendFrameCountObserver, |
247 void(FrameCountObserver*)); | 249 void(FrameCountObserver*)); |
248 MOCK_CONST_METHOD0(GetSendFrameCountObserver, | 250 MOCK_CONST_METHOD0(GetSendFrameCountObserver, |
249 FrameCountObserver*(void)); | 251 FrameCountObserver*(void)); |
250 MOCK_METHOD1(RegisterSendChannelRtpStatisticsCallback, | 252 MOCK_METHOD1(RegisterSendChannelRtpStatisticsCallback, |
251 void(StreamDataCountersCallback*)); | 253 void(StreamDataCountersCallback*)); |
252 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, | 254 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, |
253 StreamDataCountersCallback*(void)); | 255 StreamDataCountersCallback*(void)); |
254 // Members. | 256 // Members. |
255 unsigned int remote_ssrc_; | 257 unsigned int remote_ssrc_; |
256 }; | 258 }; |
257 | 259 |
258 } // namespace webrtc | 260 } // namespace webrtc |
259 | 261 |
260 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ | 262 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ |
OLD | NEW |