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

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

Issue 2652893004: Enable audio streams to send padding. (Closed)
Patch Set: Only use padding if BWE extensions. Created 3 years, 10 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 MOCK_CONST_METHOD0(MaxRtpPacketSize, size_t()); 59 MOCK_CONST_METHOD0(MaxRtpPacketSize, size_t());
60 MOCK_METHOD1(RegisterSendPayload, int32_t(const CodecInst& voice_codec)); 60 MOCK_METHOD1(RegisterSendPayload, int32_t(const CodecInst& voice_codec));
61 MOCK_METHOD1(RegisterSendPayload, int32_t(const VideoCodec& video_codec)); 61 MOCK_METHOD1(RegisterSendPayload, int32_t(const VideoCodec& video_codec));
62 MOCK_METHOD2(RegisterVideoSendPayload, 62 MOCK_METHOD2(RegisterVideoSendPayload,
63 void(int payload_type, const char* payload_name)); 63 void(int payload_type, const char* payload_name));
64 MOCK_METHOD1(DeRegisterSendPayload, int32_t(int8_t payload_type)); 64 MOCK_METHOD1(DeRegisterSendPayload, int32_t(int8_t payload_type));
65 MOCK_METHOD2(RegisterSendRtpHeaderExtension, 65 MOCK_METHOD2(RegisterSendRtpHeaderExtension,
66 int32_t(RTPExtensionType type, uint8_t id)); 66 int32_t(RTPExtensionType type, uint8_t id));
67 MOCK_METHOD1(DeregisterSendRtpHeaderExtension, 67 MOCK_METHOD1(DeregisterSendRtpHeaderExtension,
68 int32_t(RTPExtensionType type)); 68 int32_t(RTPExtensionType type));
69 MOCK_CONST_METHOD0(HasBweExtensions, bool());
69 MOCK_CONST_METHOD0(StartTimestamp, uint32_t()); 70 MOCK_CONST_METHOD0(StartTimestamp, uint32_t());
70 MOCK_METHOD1(SetStartTimestamp, void(uint32_t timestamp)); 71 MOCK_METHOD1(SetStartTimestamp, void(uint32_t timestamp));
71 MOCK_CONST_METHOD0(SequenceNumber, uint16_t()); 72 MOCK_CONST_METHOD0(SequenceNumber, uint16_t());
72 MOCK_METHOD1(SetSequenceNumber, void(uint16_t seq)); 73 MOCK_METHOD1(SetSequenceNumber, void(uint16_t seq));
73 MOCK_METHOD1(SetRtpState, void(const RtpState& rtp_state)); 74 MOCK_METHOD1(SetRtpState, void(const RtpState& rtp_state));
74 MOCK_METHOD1(SetRtxState, void(const RtpState& rtp_state)); 75 MOCK_METHOD1(SetRtxState, void(const RtpState& rtp_state));
75 MOCK_CONST_METHOD0(GetRtpState, RtpState()); 76 MOCK_CONST_METHOD0(GetRtpState, RtpState());
76 MOCK_CONST_METHOD0(GetRtxState, RtpState()); 77 MOCK_CONST_METHOD0(GetRtxState, RtpState());
77 MOCK_CONST_METHOD0(SSRC, uint32_t()); 78 MOCK_CONST_METHOD0(SSRC, uint32_t());
78 MOCK_METHOD1(SetSSRC, void(uint32_t ssrc)); 79 MOCK_METHOD1(SetSSRC, void(uint32_t ssrc));
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, 204 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback,
204 StreamDataCountersCallback*(void)); 205 StreamDataCountersCallback*(void));
205 MOCK_METHOD1(SetVideoBitrateAllocation, void(const BitrateAllocation&)); 206 MOCK_METHOD1(SetVideoBitrateAllocation, void(const BitrateAllocation&));
206 // Members. 207 // Members.
207 unsigned int remote_ssrc_; 208 unsigned int remote_ssrc_;
208 }; 209 };
209 210
210 } // namespace webrtc 211 } // namespace webrtc
211 212
212 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ 213 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/include/rtp_rtcp.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698