LeviLamina
Loading...
Searching...
No Matches
DelayBasedBwe.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 NetworkStatePredictor; }
10namespace webrtc { class RtcEventLog; }
11namespace webrtc { class TimeDelta; }
12namespace webrtc { class Timestamp; }
13namespace webrtc { struct NetworkStateEstimate; }
14namespace webrtc { struct PacketResult; }
15namespace webrtc { struct TransportPacketsFeedback; }
16// clang-format on
17
18namespace webrtc {
19
21public:
22 // DelayBasedBwe inner types declare
23 // clang-format off
24 struct Result;
25 // clang-format on
26
27 // DelayBasedBwe inner types define
28 struct Result {
29 public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI Result();
33 // NOLINTEND
34
35 public:
36 // constructor thunks
37 // NOLINTBEGIN
38 MCAPI void* $ctor();
39 // NOLINTEND
40 };
41
42public:
43 // member functions
44 // NOLINTBEGIN
46
47 MCAPI ::webrtc::TimeDelta GetExpectedBwePeriod() const;
48
49 MCAPI void IncomingPacketFeedback(::webrtc::PacketResult const&, ::webrtc::Timestamp);
50
51 MCAPI ::webrtc::DelayBasedBwe::Result IncomingPacketFeedbackVector(
53 ::std::optional<::webrtc::DataRate>,
54 ::std::optional<::webrtc::DataRate>,
55 ::std::optional<::webrtc::NetworkStateEstimate>,
56 bool
57 );
58
59 MCAPI ::webrtc::DelayBasedBwe::Result MaybeUpdateEstimate(
60 ::std::optional<::webrtc::DataRate>,
61 ::std::optional<::webrtc::DataRate>,
62 ::std::optional<::webrtc::NetworkStateEstimate>,
63 bool,
64 bool,
66 );
67
68 MCAPI void OnRttUpdate(::webrtc::TimeDelta);
69
70 MCAPI void SetMinBitrate(::webrtc::DataRate);
71
72 MCAPI void SetStartBitrate(::webrtc::DataRate);
73
74 MCAPI bool UpdateEstimate(::webrtc::Timestamp, ::std::optional<::webrtc::DataRate>, ::webrtc::DataRate*);
75 // NOLINTEND
76
77public:
78 // constructor thunks
79 // NOLINTBEGIN
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCAPI static void** $vftable();
87 // NOLINTEND
88};
89
90} // namespace webrtc
Definition DataRate.h:10
Definition DelayBasedBwe.h:20
Definition FieldTrialsView.h:7
Definition NetworkStatePredictor.h:10
Definition RtcEventLog.h:13
Definition TimeDelta.h:10
Definition Timestamp.h:10
Definition DelayBasedBwe.h:28
Definition PacketResult.h:7
Definition TransportPacketsFeedback.h:12