OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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 16 matching lines...) Expand all Loading... |
27 bool(rtc::PlatformFile log_file, int64_t max_size_bytes)); | 27 bool(rtc::PlatformFile log_file, int64_t max_size_bytes)); |
28 | 28 |
29 MOCK_METHOD0(StopLogging, void()); | 29 MOCK_METHOD0(StopLogging, void()); |
30 | 30 |
31 MOCK_METHOD1(LogVideoReceiveStreamConfig, | 31 MOCK_METHOD1(LogVideoReceiveStreamConfig, |
32 void(const webrtc::VideoReceiveStream::Config& config)); | 32 void(const webrtc::VideoReceiveStream::Config& config)); |
33 | 33 |
34 MOCK_METHOD1(LogVideoSendStreamConfig, | 34 MOCK_METHOD1(LogVideoSendStreamConfig, |
35 void(const webrtc::VideoSendStream::Config& config)); | 35 void(const webrtc::VideoSendStream::Config& config)); |
36 | 36 |
| 37 MOCK_METHOD1(LogAudioReceiveStreamConfig, |
| 38 void(const webrtc::AudioReceiveStream::Config& config)); |
| 39 |
| 40 MOCK_METHOD1(LogAudioSendStreamConfig, |
| 41 void(const webrtc::AudioSendStream::Config& config)); |
| 42 |
37 MOCK_METHOD4(LogRtpHeader, | 43 MOCK_METHOD4(LogRtpHeader, |
38 void(PacketDirection direction, | 44 void(PacketDirection direction, |
39 MediaType media_type, | 45 MediaType media_type, |
40 const uint8_t* header, | 46 const uint8_t* header, |
41 size_t packet_length)); | 47 size_t packet_length)); |
42 | 48 |
43 MOCK_METHOD4(LogRtcpPacket, | 49 MOCK_METHOD4(LogRtcpPacket, |
44 void(PacketDirection direction, | 50 void(PacketDirection direction, |
45 MediaType media_type, | 51 MediaType media_type, |
46 const uint8_t* packet, | 52 const uint8_t* packet, |
47 size_t length)); | 53 size_t length)); |
48 | 54 |
49 MOCK_METHOD1(LogAudioPlayout, void(uint32_t ssrc)); | 55 MOCK_METHOD1(LogAudioPlayout, void(uint32_t ssrc)); |
50 | 56 |
51 MOCK_METHOD3(LogBwePacketLossEvent, | 57 MOCK_METHOD3(LogBwePacketLossEvent, |
52 void(int32_t bitrate, | 58 void(int32_t bitrate, |
53 uint8_t fraction_loss, | 59 uint8_t fraction_loss, |
54 int32_t total_packets)); | 60 int32_t total_packets)); |
55 }; | 61 }; |
56 | 62 |
57 } // namespace webrtc | 63 } // namespace webrtc |
58 | 64 |
59 #endif // WEBRTC_CALL_MOCK_MOCK_RTC_EVENT_LOG_H_ | 65 #endif // WEBRTC_CALL_MOCK_MOCK_RTC_EVENT_LOG_H_ |
OLD | NEW |