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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 MOCK_METHOD1(SendFeedbackPacket, bool(const rtcp::TransportFeedback& packet)); | 179 MOCK_METHOD1(SendFeedbackPacket, bool(const rtcp::TransportFeedback& packet)); |
180 MOCK_METHOD1(SetAudioPacketSize, int32_t(uint16_t packet_size_samples)); | 180 MOCK_METHOD1(SetAudioPacketSize, int32_t(uint16_t packet_size_samples)); |
181 MOCK_METHOD3(SendTelephoneEventOutband, | 181 MOCK_METHOD3(SendTelephoneEventOutband, |
182 int32_t(uint8_t key, uint16_t time_ms, uint8_t level)); | 182 int32_t(uint8_t key, uint16_t time_ms, uint8_t level)); |
183 MOCK_METHOD1(SetSendREDPayloadType, int32_t(int8_t payload_type)); | 183 MOCK_METHOD1(SetSendREDPayloadType, int32_t(int8_t payload_type)); |
184 MOCK_CONST_METHOD1(SendREDPayloadType, int32_t(int8_t* payload_type)); | 184 MOCK_CONST_METHOD1(SendREDPayloadType, int32_t(int8_t* payload_type)); |
185 MOCK_METHOD2(SetRTPAudioLevelIndicationStatus, | 185 MOCK_METHOD2(SetRTPAudioLevelIndicationStatus, |
186 int32_t(bool enable, uint8_t id)); | 186 int32_t(bool enable, uint8_t id)); |
187 MOCK_METHOD1(SetAudioLevel, int32_t(uint8_t level_dbov)); | 187 MOCK_METHOD1(SetAudioLevel, int32_t(uint8_t level_dbov)); |
188 MOCK_METHOD1(SetTargetSendBitrate, void(uint32_t bitrate_bps)); | 188 MOCK_METHOD1(SetTargetSendBitrate, void(uint32_t bitrate_bps)); |
189 MOCK_METHOD3(SetUlpfecConfig, | 189 MOCK_METHOD2(SetUlpfecConfig, |
190 void(bool ulpfec_enabled, | 190 void(int red_payload_type, int fec_payload_type)); |
191 int red_payload_type, | |
192 int fec_payload_type)); | |
193 MOCK_METHOD2(SetFecParameters, | 191 MOCK_METHOD2(SetFecParameters, |
194 int32_t(const FecProtectionParams* delta_params, | 192 int32_t(const FecProtectionParams* delta_params, |
195 const FecProtectionParams* key_params)); | 193 const FecProtectionParams* key_params)); |
196 MOCK_METHOD1(SetKeyFrameRequestMethod, int32_t(KeyFrameRequestMethod method)); | 194 MOCK_METHOD1(SetKeyFrameRequestMethod, int32_t(KeyFrameRequestMethod method)); |
197 MOCK_METHOD0(RequestKeyFrame, int32_t()); | 195 MOCK_METHOD0(RequestKeyFrame, int32_t()); |
198 MOCK_METHOD0(TimeUntilNextProcess, int64_t()); | 196 MOCK_METHOD0(TimeUntilNextProcess, int64_t()); |
199 MOCK_METHOD0(Process, void()); | 197 MOCK_METHOD0(Process, void()); |
200 MOCK_METHOD1(RegisterSendFrameCountObserver, void(FrameCountObserver*)); | 198 MOCK_METHOD1(RegisterSendFrameCountObserver, void(FrameCountObserver*)); |
201 MOCK_CONST_METHOD0(GetSendFrameCountObserver, FrameCountObserver*(void)); | 199 MOCK_CONST_METHOD0(GetSendFrameCountObserver, FrameCountObserver*(void)); |
202 MOCK_METHOD1(RegisterSendChannelRtpStatisticsCallback, | 200 MOCK_METHOD1(RegisterSendChannelRtpStatisticsCallback, |
203 void(StreamDataCountersCallback*)); | 201 void(StreamDataCountersCallback*)); |
204 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, | 202 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, |
205 StreamDataCountersCallback*(void)); | 203 StreamDataCountersCallback*(void)); |
206 // Members. | 204 // Members. |
207 unsigned int remote_ssrc_; | 205 unsigned int remote_ssrc_; |
208 }; | 206 }; |
209 | 207 |
210 } // namespace webrtc | 208 } // namespace webrtc |
211 | 209 |
212 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ | 210 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ |
OLD | NEW |