LeviLamina
Loading...
Searching...
No Matches
BitrateProber.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace webrtc { class DataSize; }
8namespace webrtc { class FieldTrialsView; }
9namespace webrtc { class Timestamp; }
10namespace webrtc { struct PacedPacketInfo; }
11namespace webrtc { struct ProbeClusterConfig; }
12// clang-format on
13
14namespace webrtc {
15
17public:
18 // BitrateProber inner types declare
19 // clang-format off
20 struct ProbeCluster;
21 // clang-format on
22
23 // BitrateProber inner types define
24 struct ProbeCluster {};
25
26public:
27 // prevent constructor by default
29
30public:
31 // member functions
32 // NOLINTBEGIN
34
35 MCNAPI ::webrtc::Timestamp CalculateNextProbeTime(::webrtc::BitrateProber::ProbeCluster const&) const;
36
38
39 MCNAPI ::std::optional<::webrtc::PacedPacketInfo> CurrentCluster(::webrtc::Timestamp);
40
42
43 MCNAPI ::webrtc::Timestamp NextProbeTime(::webrtc::Timestamp) const;
44
46
48
50
51 MCNAPI ::webrtc::DataSize RecommendedMinProbeSize() const;
52
54
55 MCNAPI void SetEnabled(bool);
56
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCNAPI void* $ctor(::webrtc::FieldTrialsView const&);
64 // NOLINTEND
65
66public:
67 // destructor thunk
68 // NOLINTBEGIN
69 MCNAPI void $dtor();
70 // NOLINTEND
71};
72
73} // namespace webrtc
Definition DataSize.h:10
Definition FieldTrialsView.h:7
Definition Timestamp.h:10
Definition BitrateProber.h:24
Definition BitrateProber.h:16
MCAPI void SetAllowProbeWithoutMediaPacket(bool)
MCAPI void SetEnabled(bool)
MCAPI::webrtc::DataSize RecommendedMinProbeSize() const
MCAPI void OnIncomingPacket(::webrtc::DataSize)
MCAPI bool ReadyToSetActiveState(::webrtc::DataSize) const
MCAPI BitrateProber(::webrtc::FieldTrialsView const &)
MCAPI::webrtc::Timestamp CalculateNextProbeTime(::webrtc::BitrateProber::ProbeCluster const &) const
MCAPI void ProbeSent(::webrtc::Timestamp, ::webrtc::DataSize)
MCAPI::webrtc::Timestamp NextProbeTime(::webrtc::Timestamp) const
MCAPI void MaybeSetActiveState(::webrtc::DataSize)
MCAPI void CreateProbeCluster(::webrtc::ProbeClusterConfig const &)
MCAPI void * $ctor(::webrtc::FieldTrialsView const &)
MCAPI ::std::optional<::webrtc::PacedPacketInfo > CurrentCluster(::webrtc::Timestamp)
Definition ProbeClusterConfig.h:7