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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 MOCK_METHOD4(IncomingAudioNTP, | 48 MOCK_METHOD4(IncomingAudioNTP, |
49 int32_t(uint32_t audio_received_ntp_secs, | 49 int32_t(uint32_t audio_received_ntp_secs, |
50 uint32_t audio_received_ntp_frac, | 50 uint32_t audio_received_ntp_frac, |
51 uint32_t audio_rtcp_arrival_time_secs, | 51 uint32_t audio_rtcp_arrival_time_secs, |
52 uint32_t audio_rtcp_arrival_time_frac)); | 52 uint32_t audio_rtcp_arrival_time_frac)); |
53 MOCK_METHOD0(InitSender, int32_t()); | 53 MOCK_METHOD0(InitSender, int32_t()); |
54 MOCK_METHOD1(RegisterSendTransport, int32_t(Transport* outgoing_transport)); | 54 MOCK_METHOD1(RegisterSendTransport, int32_t(Transport* outgoing_transport)); |
55 MOCK_METHOD1(SetMaxTransferUnit, int32_t(uint16_t size)); | 55 MOCK_METHOD1(SetMaxTransferUnit, int32_t(uint16_t size)); |
56 MOCK_METHOD3(SetTransportOverhead, | 56 MOCK_METHOD3(SetTransportOverhead, |
57 int32_t(bool tcp, bool ipv6, uint8_t authentication_overhead)); | 57 int32_t(bool tcp, bool ipv6, uint8_t authentication_overhead)); |
| 58 MOCK_METHOD1(SetTransportOverhead, void(int transport_overhead_per_packet)); |
58 MOCK_CONST_METHOD0(MaxPayloadLength, uint16_t()); | 59 MOCK_CONST_METHOD0(MaxPayloadLength, uint16_t()); |
59 MOCK_CONST_METHOD0(MaxDataPayloadLength, uint16_t()); | 60 MOCK_CONST_METHOD0(MaxDataPayloadLength, uint16_t()); |
60 MOCK_METHOD1(RegisterSendPayload, int32_t(const CodecInst& voice_codec)); | 61 MOCK_METHOD1(RegisterSendPayload, int32_t(const CodecInst& voice_codec)); |
61 MOCK_METHOD1(RegisterSendPayload, int32_t(const VideoCodec& video_codec)); | 62 MOCK_METHOD1(RegisterSendPayload, int32_t(const VideoCodec& video_codec)); |
62 MOCK_METHOD2(RegisterVideoSendPayload, | 63 MOCK_METHOD2(RegisterVideoSendPayload, |
63 void(int payload_type, const char* payload_name)); | 64 void(int payload_type, const char* payload_name)); |
64 MOCK_METHOD1(DeRegisterSendPayload, int32_t(int8_t payload_type)); | 65 MOCK_METHOD1(DeRegisterSendPayload, int32_t(int8_t payload_type)); |
65 MOCK_METHOD2(RegisterSendRtpHeaderExtension, | 66 MOCK_METHOD2(RegisterSendRtpHeaderExtension, |
66 int32_t(RTPExtensionType type, uint8_t id)); | 67 int32_t(RTPExtensionType type, uint8_t id)); |
67 MOCK_METHOD1(DeregisterSendRtpHeaderExtension, | 68 MOCK_METHOD1(DeregisterSendRtpHeaderExtension, |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 void(StreamDataCountersCallback*)); | 202 void(StreamDataCountersCallback*)); |
202 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, | 203 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, |
203 StreamDataCountersCallback*(void)); | 204 StreamDataCountersCallback*(void)); |
204 // Members. | 205 // Members. |
205 unsigned int remote_ssrc_; | 206 unsigned int remote_ssrc_; |
206 }; | 207 }; |
207 | 208 |
208 } // namespace webrtc | 209 } // namespace webrtc |
209 | 210 |
210 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ | 211 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ |
OLD | NEW |