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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_METHOD2(SetUlpfecConfig, | 189 MOCK_METHOD2(SetUlpfecConfig, |
190 void(int red_payload_type, int fec_payload_type)); | 190 void(int red_payload_type, int fec_payload_type)); |
191 MOCK_METHOD2(SetFecParameters, | 191 MOCK_METHOD2(SetFecParameters, |
192 int32_t(const FecProtectionParams* delta_params, | 192 bool(const FecProtectionParams& delta_params, |
193 const FecProtectionParams* key_params)); | 193 const FecProtectionParams& key_params)); |
194 MOCK_METHOD1(SetKeyFrameRequestMethod, int32_t(KeyFrameRequestMethod method)); | 194 MOCK_METHOD1(SetKeyFrameRequestMethod, int32_t(KeyFrameRequestMethod method)); |
195 MOCK_METHOD0(RequestKeyFrame, int32_t()); | 195 MOCK_METHOD0(RequestKeyFrame, int32_t()); |
196 MOCK_METHOD0(TimeUntilNextProcess, int64_t()); | 196 MOCK_METHOD0(TimeUntilNextProcess, int64_t()); |
197 MOCK_METHOD0(Process, void()); | 197 MOCK_METHOD0(Process, void()); |
198 MOCK_METHOD1(RegisterSendFrameCountObserver, void(FrameCountObserver*)); | 198 MOCK_METHOD1(RegisterSendFrameCountObserver, void(FrameCountObserver*)); |
199 MOCK_CONST_METHOD0(GetSendFrameCountObserver, FrameCountObserver*(void)); | 199 MOCK_CONST_METHOD0(GetSendFrameCountObserver, FrameCountObserver*(void)); |
200 MOCK_METHOD1(RegisterSendChannelRtpStatisticsCallback, | 200 MOCK_METHOD1(RegisterSendChannelRtpStatisticsCallback, |
201 void(StreamDataCountersCallback*)); | 201 void(StreamDataCountersCallback*)); |
202 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, | 202 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, |
203 StreamDataCountersCallback*(void)); | 203 StreamDataCountersCallback*(void)); |
204 // Members. | 204 // Members. |
205 unsigned int remote_ssrc_; | 205 unsigned int remote_ssrc_; |
206 }; | 206 }; |
207 | 207 |
208 } // namespace webrtc | 208 } // namespace webrtc |
209 | 209 |
210 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ | 210 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ |
OLD | NEW |