LeviLamina
Loading...
Searching...
No Matches
ProbeController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/BandwidthLimitedCause.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace webrtc { class DataRate; }
11namespace webrtc { class FieldTrialsView; }
12namespace webrtc { class RtcEventLog; }
13namespace webrtc { class Timestamp; }
14namespace webrtc { struct NetworkAvailability; }
15namespace webrtc { struct NetworkStateEstimate; }
16namespace webrtc { struct ProbeClusterConfig; }
17// clang-format on
18
19namespace webrtc {
20
22public:
23 // member functions
24 // NOLINTBEGIN
25 MCAPI void EnablePeriodicAlrProbing(bool);
26
27 MCAPI ::std::vector<::webrtc::ProbeClusterConfig> InitiateExponentialProbing(::webrtc::Timestamp);
28
29 MCAPI ::std::vector<::webrtc::ProbeClusterConfig>
30 InitiateProbing(::webrtc::Timestamp, ::std::vector<::webrtc::DataRate>, bool);
31
32 MCAPI ::std::vector<::webrtc::ProbeClusterConfig>
33 OnMaxTotalAllocatedBitrate(::webrtc::DataRate, ::webrtc::Timestamp);
34
35 MCAPI ::std::vector<::webrtc::ProbeClusterConfig> OnNetworkAvailability(::webrtc::NetworkAvailability);
36
38
39 MCAPI ::std::vector<::webrtc::ProbeClusterConfig> Process(::webrtc::Timestamp);
40
41 MCAPI ::std::vector<::webrtc::ProbeClusterConfig> RequestProbe(::webrtc::Timestamp);
42
43 MCAPI void Reset(::webrtc::Timestamp);
44
45 MCAPI void SetAlrEndedTimeMs(int64);
46
47 MCAPI void SetAlrStartTimeMs(::std::optional<int64>);
48
49 MCAPI ::std::vector<::webrtc::ProbeClusterConfig>
51
52 MCAPI ::std::vector<::webrtc::ProbeClusterConfig>
53 SetEstimatedBitrate(::webrtc::DataRate, ::webrtc::BandwidthLimitedCause, ::webrtc::Timestamp);
54
55 MCAPI void SetNetworkStateEstimate(::webrtc::NetworkStateEstimate);
56
57 MCAPI bool TimeForAlrProbe(::webrtc::Timestamp) const;
58
59 MCAPI bool TimeForNetworkStateProbe(::webrtc::Timestamp) const;
60
61 MCAPI ~ProbeController();
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor(::webrtc::FieldTrialsView const*, ::webrtc::RtcEventLog*);
68 // NOLINTEND
69
70public:
71 // destructor thunk
72 // NOLINTBEGIN
73 MCAPI void $dtor();
74 // NOLINTEND
75};
76
77} // namespace webrtc
Definition DataRate.h:10
Definition FieldTrialsView.h:7
Definition ProbeController.h:21
Definition RtcEventLog.h:13
Definition Timestamp.h:10
Definition NetworkAvailability.h:7
Definition NetworkStateEstimate.h:7