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

Side by Side Diff: webrtc/call/mock/mock_rtc_event_log.h

Issue 2353543003: Added logging for audio send/receive stream configs. (Closed)
Patch Set: Added code for parsing the audio send/receive configs. Created 4 years, 3 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) 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 17 matching lines...) Expand all
28 bool(rtc::PlatformFile log_file, int64_t max_size_bytes)); 28 bool(rtc::PlatformFile log_file, int64_t max_size_bytes));
29 29
30 MOCK_METHOD0(StopLogging, void()); 30 MOCK_METHOD0(StopLogging, void());
31 31
32 MOCK_METHOD1(LogVideoReceiveStreamConfig, 32 MOCK_METHOD1(LogVideoReceiveStreamConfig,
33 void(const webrtc::VideoReceiveStream::Config& config)); 33 void(const webrtc::VideoReceiveStream::Config& config));
34 34
35 MOCK_METHOD1(LogVideoSendStreamConfig, 35 MOCK_METHOD1(LogVideoSendStreamConfig,
36 void(const webrtc::VideoSendStream::Config& config)); 36 void(const webrtc::VideoSendStream::Config& config));
37 37
38 MOCK_METHOD1(LogAudioReceiveStreamConfig,
39 void(const webrtc::AudioReceiveStream::Config& config));
40
41 MOCK_METHOD1(LogAudioSendStreamConfig,
42 void(const webrtc::AudioSendStream::Config& config));
43
38 MOCK_METHOD4(LogRtpHeader, 44 MOCK_METHOD4(LogRtpHeader,
39 void(PacketDirection direction, 45 void(PacketDirection direction,
40 MediaType media_type, 46 MediaType media_type,
41 const uint8_t* header, 47 const uint8_t* header,
42 size_t packet_length)); 48 size_t packet_length));
43 49
44 MOCK_METHOD4(LogRtcpPacket, 50 MOCK_METHOD4(LogRtcpPacket,
45 void(PacketDirection direction, 51 void(PacketDirection direction,
46 MediaType media_type, 52 MediaType media_type,
47 const uint8_t* packet, 53 const uint8_t* packet,
48 size_t length)); 54 size_t length));
49 55
50 MOCK_METHOD1(LogAudioPlayout, void(uint32_t ssrc)); 56 MOCK_METHOD1(LogAudioPlayout, void(uint32_t ssrc));
51 57
52 MOCK_METHOD3(LogBwePacketLossEvent, 58 MOCK_METHOD3(LogBwePacketLossEvent,
53 void(int32_t bitrate, 59 void(int32_t bitrate,
54 uint8_t fraction_loss, 60 uint8_t fraction_loss,
55 int32_t total_packets)); 61 int32_t total_packets));
56 }; 62 };
57 63
58 } // namespace webrtc 64 } // namespace webrtc
59 65
60 #endif // WEBRTC_CALL_MOCK_MOCK_RTC_EVENT_LOG_H_ 66 #endif // WEBRTC_CALL_MOCK_MOCK_RTC_EVENT_LOG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698