OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 |
11 #ifndef WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_H_ | 11 #ifndef WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_H_ |
12 #define WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_H_ | 12 #define WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_H_ |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 #include <string> | 15 #include <string> |
16 | 16 |
17 #include "webrtc/base/platform_file.h" | 17 #include "webrtc/base/platform_file.h" |
18 #include "webrtc/call/audio_receive_stream.h" | 18 #include "webrtc/call/audio_receive_stream.h" |
19 #include "webrtc/call/audio_send_stream.h" | 19 #include "webrtc/call/audio_send_stream.h" |
20 #include "webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h" | |
21 #include "webrtc/video_receive_stream.h" | 20 #include "webrtc/video_receive_stream.h" |
22 #include "webrtc/video_send_stream.h" | 21 #include "webrtc/video_send_stream.h" |
23 | 22 |
24 namespace webrtc { | 23 namespace webrtc { |
25 | 24 |
26 // Forward declaration of storage class that is automatically generated from | 25 // Forward declaration of storage class that is automatically generated from |
27 // the protobuf file. | 26 // the protobuf file. |
28 namespace rtclog { | 27 namespace rtclog { |
29 class EventStream; | 28 class EventStream; |
30 } // namespace rtclog | 29 } // namespace rtclog |
31 | 30 |
32 class Clock; | 31 class Clock; |
33 class RtcEventLogImpl; | 32 class RtcEventLogImpl; |
34 struct AudioEncoderRuntimeConfig; | 33 struct AudioEncoderRuntimeConfig; |
35 | 34 |
36 enum class MediaType; | 35 enum class MediaType; |
| 36 enum class BandwidthUsage; |
37 | 37 |
38 enum PacketDirection { kIncomingPacket = 0, kOutgoingPacket }; | 38 enum PacketDirection { kIncomingPacket = 0, kOutgoingPacket }; |
39 enum ProbeFailureReason { | 39 enum ProbeFailureReason { |
40 kInvalidSendReceiveInterval, | 40 kInvalidSendReceiveInterval, |
41 kInvalidSendReceiveRatio, | 41 kInvalidSendReceiveRatio, |
42 kTimeout | 42 kTimeout |
43 }; | 43 }; |
44 | 44 |
45 class RtcEventLog { | 45 class RtcEventLog { |
46 public: | 46 public: |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 int min_probes, | 205 int min_probes, |
206 int min_bytes) override{}; | 206 int min_bytes) override{}; |
207 void LogProbeResultSuccess(int id, int bitrate_bps) override{}; | 207 void LogProbeResultSuccess(int id, int bitrate_bps) override{}; |
208 void LogProbeResultFailure(int id, | 208 void LogProbeResultFailure(int id, |
209 ProbeFailureReason failure_reason) override{}; | 209 ProbeFailureReason failure_reason) override{}; |
210 }; | 210 }; |
211 | 211 |
212 } // namespace webrtc | 212 } // namespace webrtc |
213 | 213 |
214 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_H_ | 214 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_H_ |
OLD | NEW |