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
7
namespace
webrtc {
class
DataSize; }
8
namespace
webrtc {
class
FieldTrialsView; }
9
namespace
webrtc {
class
Timestamp; }
10
namespace
webrtc {
struct
PacedPacketInfo; }
11
namespace
webrtc {
struct
ProbeClusterConfig; }
12
// clang-format on
13
14
namespace
webrtc {
15
16
struct
BitrateProber
{
17
public
:
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
26
public
:
27
// member functions
28
// NOLINTBEGIN
29
MCAPI
explicit
BitrateProber
(
::webrtc::FieldTrialsView
const
&);
30
31
MCAPI ::webrtc::Timestamp CalculateNextProbeTime(
::webrtc::BitrateProber::ProbeCluster
const
&)
const
;
32
33
MCAPI
void
CreateProbeCluster(
::webrtc::ProbeClusterConfig
const
&);
34
35
MCAPI ::std::optional<::webrtc::PacedPacketInfo> CurrentCluster(
::webrtc::Timestamp
);
36
37
MCAPI
void
MaybeSetActiveState(
::webrtc::DataSize
);
38
39
MCAPI ::webrtc::Timestamp NextProbeTime(
::webrtc::Timestamp
)
const
;
40
41
MCAPI
void
OnIncomingPacket(
::webrtc::DataSize
);
42
43
MCAPI
void
ProbeSent(
::webrtc::Timestamp
,
::webrtc::DataSize
);
44
45
MCAPI
bool
ReadyToSetActiveState(
::webrtc::DataSize
)
const
;
46
47
MCAPI ::webrtc::DataSize RecommendedMinProbeSize()
const
;
48
49
MCAPI
void
SetAllowProbeWithoutMediaPacket(
bool
);
50
51
MCAPI
void
SetEnabled(
bool
);
52
53
MCAPI
~BitrateProber
();
54
// NOLINTEND
55
56
public
:
57
// constructor thunks
58
// NOLINTBEGIN
59
MCAPI
void
* $ctor(
::webrtc::FieldTrialsView
const
&);
60
// NOLINTEND
61
62
public
:
63
// destructor thunk
64
// NOLINTBEGIN
65
MCAPI
void
$dtor();
66
// NOLINTEND
67
};
68
69
}
// namespace webrtc
webrtc::DataSize
Definition
DataSize.h:10
webrtc::FieldTrialsView
Definition
FieldTrialsView.h:7
webrtc::Timestamp
Definition
Timestamp.h:10
webrtc::BitrateProber::ProbeCluster
Definition
BitrateProber.h:24
webrtc::BitrateProber
Definition
BitrateProber.h:16
webrtc::ProbeClusterConfig
Definition
ProbeClusterConfig.h:7
src
mc
external
webrtc
BitrateProber.h
Generated on Sat Apr 26 2025 05:55:42 for LeviLamina by
1.12.0