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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 void(int payload_type, const char* payload_name)); | 78 void(int payload_type, const char* payload_name)); |
79 MOCK_METHOD1(DeRegisterSendPayload, | 79 MOCK_METHOD1(DeRegisterSendPayload, |
80 int32_t(const int8_t payloadType)); | 80 int32_t(const int8_t payloadType)); |
81 MOCK_METHOD2(RegisterSendRtpHeaderExtension, | 81 MOCK_METHOD2(RegisterSendRtpHeaderExtension, |
82 int32_t(const RTPExtensionType type, const uint8_t id)); | 82 int32_t(const RTPExtensionType type, const uint8_t id)); |
83 MOCK_METHOD1(DeregisterSendRtpHeaderExtension, | 83 MOCK_METHOD1(DeregisterSendRtpHeaderExtension, |
84 int32_t(const RTPExtensionType type)); | 84 int32_t(const RTPExtensionType type)); |
85 MOCK_CONST_METHOD0(StartTimestamp, | 85 MOCK_CONST_METHOD0(StartTimestamp, |
86 uint32_t()); | 86 uint32_t()); |
87 MOCK_METHOD1(SetStartTimestamp, void(const uint32_t timestamp)); | 87 MOCK_METHOD1(SetStartTimestamp, void(const uint32_t timestamp)); |
88 MOCK_CONST_METHOD0(SequenceNumber, | 88 MOCK_CONST_METHOD0(SequenceNumber, uint16_t()); |
89 uint16_t()); | |
90 MOCK_METHOD1(SetSequenceNumber, void(const uint16_t seq)); | 89 MOCK_METHOD1(SetSequenceNumber, void(const uint16_t seq)); |
91 MOCK_METHOD2(SetRtpStateForSsrc, | 90 MOCK_METHOD1(SetRtpState, void(const RtpState& rtp_state)); |
92 bool(uint32_t ssrc, const RtpState& rtp_state)); | 91 MOCK_METHOD1(SetRtxState, void(const RtpState& rtp_state)); |
93 MOCK_METHOD2(GetRtpStateForSsrc, bool(uint32_t ssrc, RtpState* rtp_state)); | 92 MOCK_CONST_METHOD0(GetRtpState, RtpState()); |
| 93 MOCK_CONST_METHOD0(GetRtxState, RtpState()); |
94 MOCK_CONST_METHOD0(SSRC, | 94 MOCK_CONST_METHOD0(SSRC, |
95 uint32_t()); | 95 uint32_t()); |
96 MOCK_METHOD1(SetSSRC, | 96 MOCK_METHOD1(SetSSRC, |
97 void(const uint32_t ssrc)); | 97 void(const uint32_t ssrc)); |
98 MOCK_CONST_METHOD1(CSRCs, | 98 MOCK_CONST_METHOD1(CSRCs, |
99 int32_t(uint32_t arrOfCSRC[kRtpCsrcSize])); | 99 int32_t(uint32_t arrOfCSRC[kRtpCsrcSize])); |
100 MOCK_METHOD1(SetCsrcs, void(const std::vector<uint32_t>& csrcs)); | 100 MOCK_METHOD1(SetCsrcs, void(const std::vector<uint32_t>& csrcs)); |
101 MOCK_METHOD1(SetCSRCStatus, | 101 MOCK_METHOD1(SetCSRCStatus, |
102 int32_t(const bool include)); | 102 int32_t(const bool include)); |
103 MOCK_METHOD1(SetRtxSendStatus, void(int modes)); | 103 MOCK_METHOD1(SetRtxSendStatus, void(int modes)); |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 void(StreamDataCountersCallback*)); | 259 void(StreamDataCountersCallback*)); |
260 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, | 260 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, |
261 StreamDataCountersCallback*(void)); | 261 StreamDataCountersCallback*(void)); |
262 // Members. | 262 // Members. |
263 unsigned int remote_ssrc_; | 263 unsigned int remote_ssrc_; |
264 }; | 264 }; |
265 | 265 |
266 } // namespace webrtc | 266 } // namespace webrtc |
267 | 267 |
268 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ | 268 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ |
OLD | NEW |