LeviLamina
Loading...
Searching...
No Matches
SendSideBandwidthEstimation.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/BandwidthUsage.h"
7#include "mc/external/webrtc/LossBasedState.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace webrtc { class DataRate; }
12namespace webrtc { class FieldTrialsView; }
13namespace webrtc { class RtcEventLog; }
14namespace webrtc { class TimeDelta; }
15namespace webrtc { class Timestamp; }
16namespace webrtc { struct SentPacket; }
17namespace webrtc { struct TransportPacketsFeedback; }
18// clang-format on
19
20namespace webrtc {
21
23public:
24 // prevent constructor by default
26
27public:
28 // member functions
29 // NOLINTBEGIN
31
32 MCNAPI ::webrtc::DataRate GetEstimatedLinkCapacity() const;
33
34 MCNAPI int GetMinBitrate() const;
35
36 MCNAPI ::webrtc::DataRate GetUpperLimit() const;
37
39
40 MCNAPI bool IsRttAboveLimit() const;
41
43
45
47
49
51
53
54 MCNAPI void OnRouteChange();
55
57
58 MCNAPI bool PaceAtLossBasedEstimate() const;
59
61
62 MCNAPI void SetAcknowledgedRate(::std::optional<::webrtc::DataRate>, ::webrtc::Timestamp);
63
64 MCNAPI void
66
68
70
72
74
77 ::webrtc::BandwidthUsage,
78 ::std::optional<::webrtc::DataRate>,
79 bool
80 );
81
83
84 MCNAPI void UpdatePacketsLost(int64, int64, ::webrtc::Timestamp);
85
87
89
91
93
95
96 MCNAPI ::webrtc::LossBasedState loss_based_state() const;
97
98 MCNAPI ::webrtc::DataRate target_rate() const;
99
101 // NOLINTEND
102
103public:
104 // constructor thunks
105 // NOLINTBEGIN
107 // NOLINTEND
108
109public:
110 // destructor thunk
111 // NOLINTBEGIN
112 MCNAPI void $dtor();
113 // NOLINTEND
114};
115
116} // namespace webrtc
Definition DataRate.h:10
Definition FieldTrialsView.h:7
Definition RtcEventLog.h:13
Definition SendSideBandwidthEstimation.h:22
MCAPI void UpdatePacketsLost(int64, int64, ::webrtc::Timestamp)
MCAPI bool PaceAtLossBasedEstimate() const
MCAPI bool LossBasedBandwidthEstimatorV2Enabled() const
MCAPI void UpdateLossBasedEstimator(::webrtc::TransportPacketsFeedback const &, ::webrtc::BandwidthUsage, ::std::optional<::webrtc::DataRate >, bool)
MCAPI void SetSendBitrate(::webrtc::DataRate, ::webrtc::Timestamp)
MCAPI bool IsInStartPhase(::webrtc::Timestamp) const
MCAPI void MaybeLogLowBitrateWarning(::webrtc::DataRate, ::webrtc::Timestamp)
MCAPI void UpdatePropagationRtt(::webrtc::Timestamp, ::webrtc::TimeDelta)
MCAPI void MaybeLogLossBasedEvent(::webrtc::Timestamp)
MCAPI void SetMinMaxBitrate(::webrtc::DataRate, ::webrtc::DataRate)
MCAPI void UpdateTargetBitrate(::webrtc::DataRate, ::webrtc::Timestamp)
MCAPI void OnSentPacket(::webrtc::SentPacket const &)
MCAPI SendSideBandwidthEstimation(::webrtc::FieldTrialsView const *, ::webrtc::RtcEventLog *)
MCAPI void UpdateRtt(::webrtc::TimeDelta, ::webrtc::Timestamp)
MCAPI bool LossBasedBandwidthEstimatorV1Enabled() const
MCAPI void * $ctor(::webrtc::FieldTrialsView const *, ::webrtc::RtcEventLog *)
MCAPI bool LossBasedBandwidthEstimatorV2ReadyForUse() const
MCAPI void UpdateMinHistory(::webrtc::Timestamp)
MCAPI void UpdateReceiverEstimate(::webrtc::Timestamp, ::webrtc::DataRate)
MCAPI void SetBitrates(::std::optional<::webrtc::DataRate >, ::webrtc::DataRate, ::webrtc::DataRate, ::webrtc::Timestamp)
MCAPI::webrtc::DataRate target_rate() const
MCAPI void UpdateDelayBasedEstimate(::webrtc::Timestamp, ::webrtc::DataRate)
MCAPI void SetAcknowledgedRate(::std::optional<::webrtc::DataRate >, ::webrtc::Timestamp)
MCAPI void UpdateUmaStatsPacketsLost(::webrtc::Timestamp, int)
MCAPI bool LossBasedBandwidthEstimatorV1ReadyForUse() const
MCAPI void ApplyTargetLimits(::webrtc::Timestamp)
MCAPI::webrtc::DataRate GetEstimatedLinkCapacity() const
MCAPI::webrtc::LossBasedState loss_based_state() const
MCAPI::webrtc::DataRate GetUpperLimit() const
MCAPI void UpdateEstimate(::webrtc::Timestamp)
Definition TimeDelta.h:10
Definition Timestamp.h:10
Definition SentPacket.h:7
Definition TransportPacketsFeedback.h:12