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

Side by Side Diff: webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h

Issue 2559953002: Log audio network adapter decisions in event log. (Closed)
Patch Set: Log Ana Created 4 years 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 MediaType media_type, 51 MediaType media_type,
52 const uint8_t* packet, 52 const uint8_t* packet,
53 size_t length)); 53 size_t length));
54 54
55 MOCK_METHOD1(LogAudioPlayout, void(uint32_t ssrc)); 55 MOCK_METHOD1(LogAudioPlayout, void(uint32_t ssrc));
56 56
57 MOCK_METHOD3(LogBwePacketLossEvent, 57 MOCK_METHOD3(LogBwePacketLossEvent,
58 void(int32_t bitrate, 58 void(int32_t bitrate,
59 uint8_t fraction_loss, 59 uint8_t fraction_loss,
60 int32_t total_packets)); 60 int32_t total_packets));
61 MOCK_METHOD6(LogAnaDecisionEvent,
62 void(rtc::Optional<int> bitrate_bps,
63 rtc::Optional<int> frame_length_ms,
64 rtc::Optional<float> uplink_packet_loss_fraction,
65 rtc::Optional<bool> enable_fec,
66 rtc::Optional<bool> enable_dtx,
67 rtc::Optional<size_t> num_channels));
61 }; 68 };
62 69
63 } // namespace webrtc 70 } // namespace webrtc
64 71
65 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_MOCK_MOCK_RTC_EVENT_LOG_H_ 72 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_MOCK_MOCK_RTC_EVENT_LOG_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/logging/rtc_event_log/rtc_event_log.h » ('j') | webrtc/logging/rtc_event_log/rtc_event_log.proto » ('J')

Powered by Google App Engine
This is Rietveld 408576698