LeviLamina
Loading...
Searching...
No Matches
BitrateEstimator.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 DataSize; }
9namespace webrtc { class FieldTrialsView; }
10namespace webrtc { class Timestamp; }
11// clang-format on
12
13namespace webrtc {
14
16public:
17 // member variables
18 // NOLINTBEGIN
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
36 BitrateEstimator& operator=(BitrateEstimator const&);
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 // vIndex: 0
44 virtual ~BitrateEstimator();
45
46 // vIndex: 1
47 virtual void Update(::webrtc::Timestamp at_time, ::webrtc::DataSize amount, bool in_alr);
48
49 // vIndex: 2
50 virtual ::std::optional<::webrtc::DataRate> bitrate() const;
51
52 // vIndex: 3
53 virtual void ExpectFastRateChange();
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCNAPI explicit BitrateEstimator(::webrtc::FieldTrialsView const* key_value_config);
60
61 MCNAPI ::std::optional<::webrtc::DataRate> PeekRate() const;
62
63 MCNAPI float UpdateWindow(int64 now_ms, int bytes, int rate_window_ms, bool* is_small_sample);
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69 MCNAPI void* $ctor(::webrtc::FieldTrialsView const* key_value_config);
70 // NOLINTEND
71
72public:
73 // destructor thunk
74 // NOLINTBEGIN
75 MCNAPI void $dtor();
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCNAPI void $Update(::webrtc::Timestamp at_time, ::webrtc::DataSize amount, bool in_alr);
82
83 MCNAPI ::std::optional<::webrtc::DataRate> $bitrate() const;
84
85 MCNAPI void $ExpectFastRateChange();
86 // NOLINTEND
87
88public:
89 // vftables
90 // NOLINTBEGIN
91 MCNAPI static void** $vftable();
92 // NOLINTEND
93};
94
95} // namespace webrtc
Definition BitrateEstimator.h:15
MCAPI void $Update(::webrtc::Timestamp at_time, ::webrtc::DataSize amount, bool in_alr)
MCAPI ::std::optional<::webrtc::DataRate > PeekRate() const
MCAPI float UpdateWindow(int64 now_ms, int bytes, int rate_window_ms, bool *is_small_sample)
MCAPI BitrateEstimator(::webrtc::FieldTrialsView const *key_value_config)
static MCAPI void ** $vftable()
MCAPI void $ExpectFastRateChange()
MCAPI void * $ctor(::webrtc::FieldTrialsView const *key_value_config)
MCAPI ::std::optional<::webrtc::DataRate > $bitrate() const
Definition DataSize.h:10
Definition FieldTrialsView.h:7
Definition Timestamp.h:10
Definition Alias.h:14