LeviLamina
Loading...
Searching...
No Matches
AimdRateControl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace webrtc { class DataRate; }
8namespace webrtc { class FieldTrialsView; }
9namespace webrtc { class TimeDelta; }
10namespace webrtc { class Timestamp; }
11namespace webrtc { struct NetworkStateEstimate; }
12namespace webrtc { struct RateControlInput; }
13// clang-format on
14
15namespace webrtc {
16
18public:
19 // prevent constructor by default
21
22public:
23 // member functions
24 // NOLINTBEGIN
26
28
30
32
33 MCNAPI ::webrtc::DataRate ClampBitrate(::webrtc::DataRate) const;
34
35 MCNAPI ::webrtc::TimeDelta GetExpectedBandwidthPeriod() const;
36
38
40
41 MCNAPI ::webrtc::DataRate LatestEstimate() const;
42
43 MCNAPI ::webrtc::DataRate
45
47
49
51
52 MCNAPI void SetNetworkStateEstimate(::std::optional<::webrtc::NetworkStateEstimate> const&);
53
55
57
59
60 MCNAPI ::webrtc::DataRate Update(::webrtc::RateControlInput const&, ::webrtc::Timestamp);
61
62 MCNAPI bool ValidEstimate() const;
63
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70 MCNAPI void* $ctor(::webrtc::FieldTrialsView const&, bool);
71 // NOLINTEND
72
73public:
74 // destructor thunk
75 // NOLINTBEGIN
76 MCNAPI void $dtor();
77 // NOLINTEND
78};
79
80} // namespace webrtc
Definition DataRate.h:10
Definition FieldTrialsView.h:7
Definition TimeDelta.h:10
Definition Timestamp.h:10
Definition AimdRateControl.h:17
MCAPI void SetStartBitrate(::webrtc::DataRate)
MCAPI bool ValidEstimate() const
MCAPI AimdRateControl(::webrtc::FieldTrialsView const &, bool)
MCAPI::webrtc::DataRate Update(::webrtc::RateControlInput const &, ::webrtc::Timestamp)
MCAPI void SetNetworkStateEstimate(::std::optional<::webrtc::NetworkStateEstimate > const &)
MCAPI::webrtc::TimeDelta GetExpectedBandwidthPeriod() const
MCAPI void SetRtt(::webrtc::TimeDelta)
MCAPI void ChangeState(::webrtc::RateControlInput const &, ::webrtc::Timestamp)
MCAPI::webrtc::DataRate AdditiveRateIncrease(::webrtc::Timestamp, ::webrtc::Timestamp) const
MCAPI void ChangeBitrate(::webrtc::RateControlInput const &, ::webrtc::Timestamp)
MCAPI::webrtc::DataRate LatestEstimate() const
MCAPI double GetNearMaxIncreaseRateBpsPerSecond() const
MCAPI void SetMinBitrate(::webrtc::DataRate)
MCAPI void * $ctor(::webrtc::FieldTrialsView const &, bool)
MCAPI bool InitialTimeToReduceFurther(::webrtc::Timestamp) const
MCAPI void SetEstimate(::webrtc::DataRate, ::webrtc::Timestamp)
MCAPI::webrtc::DataRate MultiplicativeRateIncrease(::webrtc::Timestamp, ::webrtc::Timestamp, ::webrtc::DataRate) const
MCAPI::webrtc::DataRate ClampBitrate(::webrtc::DataRate) const
MCAPI bool TimeToReduceFurther(::webrtc::Timestamp, ::webrtc::DataRate) const
MCAPI void SetInApplicationLimitedRegion(bool)
Definition RateControlInput.h:15