LeviLamina
Loading...
Searching...
No Matches
LossBasedBandwidthEstimation.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 PacketResult; }
12// clang-format on
13
14namespace webrtc {
15
17public:
18 // member variables
19 // NOLINTBEGIN
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCNAPI void Initialize(::webrtc::DataRate bitrate);
42
43 MCNAPI explicit LossBasedBandwidthEstimation(::webrtc::FieldTrialsView const* key_value_config);
44
45 MCNAPI ::webrtc::DataRate Update(
46 ::webrtc::Timestamp at_time,
47 ::webrtc::DataRate min_bitrate,
48 ::webrtc::DataRate wanted_bitrate,
49 ::webrtc::TimeDelta last_round_trip_time
50 );
51
52 MCNAPI void UpdateAcknowledgedBitrate(::webrtc::DataRate acknowledged_bitrate, ::webrtc::Timestamp at_time);
53
54 MCNAPI void
55 UpdateLossStatistics(::std::vector<::webrtc::PacketResult> const& packet_results, ::webrtc::Timestamp at_time);
56
57 MCNAPI ::webrtc::DataRate decreased_bitrate() const;
58
59 MCNAPI double loss_decrease_threshold() const;
60
61 MCNAPI double loss_increase_threshold() const;
62
63 MCNAPI double loss_reset_threshold() const;
64
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCNAPI void* $ctor(::webrtc::FieldTrialsView const* key_value_config);
72 // NOLINTEND
73
74public:
75 // destructor thunk
76 // NOLINTBEGIN
77 MCNAPI void $dtor();
78 // NOLINTEND
79};
80
81} // namespace webrtc
Definition DataRate.h:10
Definition FieldTrialsView.h:7
Definition LossBasedBandwidthEstimation.h:16
MCAPI double loss_increase_threshold() const
MCAPI LossBasedBandwidthEstimation(::webrtc::FieldTrialsView const *key_value_config)
MCAPI void * $ctor(::webrtc::FieldTrialsView const *key_value_config)
MCAPI::webrtc::DataRate decreased_bitrate() const
MCAPI double loss_reset_threshold() const
MCAPI void Initialize(::webrtc::DataRate bitrate)
MCAPI void UpdateLossStatistics(::std::vector<::webrtc::PacketResult > const &packet_results, ::webrtc::Timestamp at_time)
MCAPI double loss_decrease_threshold() const
MCAPI void UpdateAcknowledgedBitrate(::webrtc::DataRate acknowledged_bitrate, ::webrtc::Timestamp at_time)
MCAPI::webrtc::DataRate Update(::webrtc::Timestamp at_time, ::webrtc::DataRate min_bitrate, ::webrtc::DataRate wanted_bitrate, ::webrtc::TimeDelta last_round_trip_time)
Definition TimeDelta.h:10
Definition Timestamp.h:10
Definition Alias.h:14