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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 MOCK_CONST_METHOD0(SendingMedia, bool()); | 91 MOCK_CONST_METHOD0(SendingMedia, bool()); |
92 MOCK_CONST_METHOD4(BitrateSent, | 92 MOCK_CONST_METHOD4(BitrateSent, |
93 void(uint32_t* total_rate, | 93 void(uint32_t* total_rate, |
94 uint32_t* video_rate, | 94 uint32_t* video_rate, |
95 uint32_t* fec_rate, | 95 uint32_t* fec_rate, |
96 uint32_t* nack_rate)); | 96 uint32_t* nack_rate)); |
97 MOCK_METHOD1(RegisterVideoBitrateObserver, void(BitrateStatisticsObserver*)); | 97 MOCK_METHOD1(RegisterVideoBitrateObserver, void(BitrateStatisticsObserver*)); |
98 MOCK_CONST_METHOD0(GetVideoBitrateObserver, BitrateStatisticsObserver*(void)); | 98 MOCK_CONST_METHOD0(GetVideoBitrateObserver, BitrateStatisticsObserver*(void)); |
99 MOCK_CONST_METHOD1(EstimatedReceiveBandwidth, | 99 MOCK_CONST_METHOD1(EstimatedReceiveBandwidth, |
100 int(uint32_t* available_bandwidth)); | 100 int(uint32_t* available_bandwidth)); |
101 MOCK_METHOD9(SendOutgoingData, | 101 MOCK_METHOD8(SendOutgoingData, |
102 bool(FrameType frame_type, | 102 int32_t(FrameType frame_type, |
103 int8_t payload_type, | 103 int8_t payload_type, |
104 uint32_t timestamp, | 104 uint32_t timestamp, |
105 int64_t capture_time_ms, | 105 int64_t capture_time_ms, |
106 const uint8_t* payload_data, | 106 const uint8_t* payload_data, |
107 size_t payload_size, | 107 size_t payload_size, |
108 const RTPFragmentationHeader* fragmentation, | 108 const RTPFragmentationHeader* fragmentation, |
109 const RTPVideoHeader* rtp_video_header, | 109 const RTPVideoHeader* rtp_video_header)); |
110 uint32_t* frame_id_out)); | |
111 MOCK_METHOD5(TimeToSendPacket, | 110 MOCK_METHOD5(TimeToSendPacket, |
112 bool(uint32_t ssrc, | 111 bool(uint32_t ssrc, |
113 uint16_t sequence_number, | 112 uint16_t sequence_number, |
114 int64_t capture_time_ms, | 113 int64_t capture_time_ms, |
115 bool retransmission, | 114 bool retransmission, |
116 int probe_cluster_id)); | 115 int probe_cluster_id)); |
117 MOCK_METHOD2(TimeToSendPadding, size_t(size_t bytes, int probe_cluster_id)); | 116 MOCK_METHOD2(TimeToSendPadding, size_t(size_t bytes, int probe_cluster_id)); |
118 MOCK_METHOD2(RegisterRtcpObservers, | 117 MOCK_METHOD2(RegisterRtcpObservers, |
119 void(RtcpIntraFrameObserver* intra_frame_callback, | 118 void(RtcpIntraFrameObserver* intra_frame_callback, |
120 RtcpBandwidthObserver* bandwidth_callback)); | 119 RtcpBandwidthObserver* bandwidth_callback)); |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 void(StreamDataCountersCallback*)); | 207 void(StreamDataCountersCallback*)); |
209 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, | 208 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, |
210 StreamDataCountersCallback*(void)); | 209 StreamDataCountersCallback*(void)); |
211 // Members. | 210 // Members. |
212 unsigned int remote_ssrc_; | 211 unsigned int remote_ssrc_; |
213 }; | 212 }; |
214 | 213 |
215 } // namespace webrtc | 214 } // namespace webrtc |
216 | 215 |
217 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ | 216 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ |
OLD | NEW |