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(SetGenericFECStatus, | 189 MOCK_METHOD3(SetUlpfecConfig, |
190 void(bool enable, | 190 void(bool ulpfec_enabled, |
191 uint8_t payload_type_red, | 191 int red_payload_type, |
192 uint8_t payload_type_fec)); | 192 int fec_payload_type)); |
193 MOCK_METHOD3(GenericFECStatus, | 193 MOCK_METHOD3(UlpfecConfig, |
danilchap
2016/10/26 14:18:08
can remove this too
brandtr
2016/10/27 09:47:42
Thanks for finding this! Done.
| |
194 void(bool* enable, | 194 void(bool* ulpfec_enabled, |
195 uint8_t* payload_type_red, | 195 int* red_payload_type, |
196 uint8_t* payload_type_fec)); | 196 int* fec_payload_type)); |
197 MOCK_METHOD2(SetFecParameters, | 197 MOCK_METHOD2(SetFecParameters, |
198 int32_t(const FecProtectionParams* delta_params, | 198 int32_t(const FecProtectionParams* delta_params, |
199 const FecProtectionParams* key_params)); | 199 const FecProtectionParams* key_params)); |
200 MOCK_METHOD1(SetKeyFrameRequestMethod, int32_t(KeyFrameRequestMethod method)); | 200 MOCK_METHOD1(SetKeyFrameRequestMethod, int32_t(KeyFrameRequestMethod method)); |
201 MOCK_METHOD0(RequestKeyFrame, int32_t()); | 201 MOCK_METHOD0(RequestKeyFrame, int32_t()); |
202 MOCK_METHOD0(TimeUntilNextProcess, int64_t()); | 202 MOCK_METHOD0(TimeUntilNextProcess, int64_t()); |
203 MOCK_METHOD0(Process, void()); | 203 MOCK_METHOD0(Process, void()); |
204 MOCK_METHOD1(RegisterSendFrameCountObserver, void(FrameCountObserver*)); | 204 MOCK_METHOD1(RegisterSendFrameCountObserver, void(FrameCountObserver*)); |
205 MOCK_CONST_METHOD0(GetSendFrameCountObserver, FrameCountObserver*(void)); | 205 MOCK_CONST_METHOD0(GetSendFrameCountObserver, FrameCountObserver*(void)); |
206 MOCK_METHOD1(RegisterSendChannelRtpStatisticsCallback, | 206 MOCK_METHOD1(RegisterSendChannelRtpStatisticsCallback, |
207 void(StreamDataCountersCallback*)); | 207 void(StreamDataCountersCallback*)); |
208 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, | 208 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, |
209 StreamDataCountersCallback*(void)); | 209 StreamDataCountersCallback*(void)); |
210 // Members. | 210 // Members. |
211 unsigned int remote_ssrc_; | 211 unsigned int remote_ssrc_; |
212 }; | 212 }; |
213 | 213 |
214 } // namespace webrtc | 214 } // namespace webrtc |
215 | 215 |
216 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ | 216 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ |
OLD | NEW |