Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Side by Side Diff: webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h

Issue 2089773002: Add EncodedImageCallback::OnEncodedImage(). (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: update SendOutgoingData() Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 bool()); 115 bool());
116 MOCK_CONST_METHOD4(BitrateSent, 116 MOCK_CONST_METHOD4(BitrateSent,
117 void(uint32_t* totalRate, 117 void(uint32_t* totalRate,
118 uint32_t* videoRate, 118 uint32_t* videoRate,
119 uint32_t* fecRate, 119 uint32_t* fecRate,
120 uint32_t* nackRate)); 120 uint32_t* nackRate));
121 MOCK_METHOD1(RegisterVideoBitrateObserver, void(BitrateStatisticsObserver*)); 121 MOCK_METHOD1(RegisterVideoBitrateObserver, void(BitrateStatisticsObserver*));
122 MOCK_CONST_METHOD0(GetVideoBitrateObserver, BitrateStatisticsObserver*(void)); 122 MOCK_CONST_METHOD0(GetVideoBitrateObserver, BitrateStatisticsObserver*(void));
123 MOCK_CONST_METHOD1(EstimatedReceiveBandwidth, 123 MOCK_CONST_METHOD1(EstimatedReceiveBandwidth,
124 int(uint32_t* available_bandwidth)); 124 int(uint32_t* available_bandwidth));
125 MOCK_METHOD8(SendOutgoingData, 125 MOCK_METHOD9(SendOutgoingData,
126 int32_t(const FrameType frameType, 126 int32_t(const FrameType frameType,
127 const int8_t payloadType, 127 const int8_t payloadType,
128 const uint32_t timeStamp, 128 const uint32_t timeStamp,
129 int64_t capture_time_ms, 129 int64_t capture_time_ms,
130 const uint8_t* payloadData, 130 const uint8_t* payloadData,
131 const size_t payloadSize, 131 const size_t payloadSize,
132 const RTPFragmentationHeader* fragmentation, 132 const RTPFragmentationHeader* fragmentation,
133 const RTPVideoHeader* rtpVideoHdr)); 133 const RTPVideoHeader* rtpVideoHdr,
134 uint32_t* frame_id_out));
134 MOCK_METHOD5(TimeToSendPacket, 135 MOCK_METHOD5(TimeToSendPacket,
135 bool(uint32_t ssrc, 136 bool(uint32_t ssrc,
136 uint16_t sequence_number, 137 uint16_t sequence_number,
137 int64_t capture_time_ms, 138 int64_t capture_time_ms,
138 bool retransmission, 139 bool retransmission,
139 int probe_cluster_id)); 140 int probe_cluster_id));
140 MOCK_METHOD2(TimeToSendPadding, size_t(size_t bytes, int probe_cluster_id)); 141 MOCK_METHOD2(TimeToSendPadding, size_t(size_t bytes, int probe_cluster_id));
141 MOCK_METHOD2(RegisterRtcpObservers, 142 MOCK_METHOD2(RegisterRtcpObservers,
142 void(RtcpIntraFrameObserver* intraFrameCallback, 143 void(RtcpIntraFrameObserver* intraFrameCallback,
143 RtcpBandwidthObserver* bandwidthCallback)); 144 RtcpBandwidthObserver* bandwidthCallback));
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 void(StreamDataCountersCallback*)); 257 void(StreamDataCountersCallback*));
257 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, 258 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback,
258 StreamDataCountersCallback*(void)); 259 StreamDataCountersCallback*(void));
259 // Members. 260 // Members.
260 unsigned int remote_ssrc_; 261 unsigned int remote_ssrc_;
261 }; 262 };
262 263
263 } // namespace webrtc 264 } // namespace webrtc
264 265
265 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ 266 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698