LeviLamina
Loading...
Searching...
No Matches
PrioritizedPacketQueue.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/absl/InlinedVector.h"
7#include "mc/external/webrtc/RtpPacketMediaType.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace webrtc { class DataSize; }
12namespace webrtc { class RtpPacketToSend; }
13namespace webrtc { class TimeDelta; }
14namespace webrtc { class Timestamp; }
15namespace webrtc { struct PacketQueueTTL; }
16// clang-format on
17
18namespace webrtc {
19
21public:
22 // PrioritizedPacketQueue inner types declare
23 // clang-format off
24 class QueuedPacket;
25 class StreamQueue;
26 // clang-format on
27
28 // PrioritizedPacketQueue inner types define
30 public:
31 // member functions
32 // NOLINTBEGIN
33 MCNAPI ::webrtc::DataSize PacketSize() const;
34
35 MCNAPI ~QueuedPacket();
36 // NOLINTEND
37
38 public:
39 // destructor thunk
40 // NOLINTBEGIN
41 MCNAPI void $dtor();
42 // NOLINTEND
43 };
44
46 public:
47 // prevent constructor by default
49
50 public:
51 // member functions
52 // NOLINTBEGIN
53 MCNAPI ::std::array<::std::deque<::webrtc::PrioritizedPacketQueue::QueuedPacket>, 5> DequeueAll();
54
55 MCNAPI ::webrtc::PrioritizedPacketQueue::QueuedPacket DequeuePacket(int);
56
58
59 MCNAPI bool HasPacketsAtPrio(int) const;
60
61 MCNAPI bool IsEmpty() const;
62
63 MCNAPI ::webrtc::Timestamp LastEnqueueTime() const;
64
65 MCNAPI ::webrtc::Timestamp LeadingPacketEnqueueTime(int) const;
66
68 // NOLINTEND
69
70 public:
71 // constructor thunks
72 // NOLINTBEGIN
74 // NOLINTEND
75 };
76
77public:
78 // prevent constructor by default
80
81public:
82 // member functions
83 // NOLINTBEGIN
84 MCNAPI ::webrtc::TimeDelta AverageQueueTime() const;
85
87
88 MCNAPI bool Empty() const;
89
90 MCNAPI bool HasKeyframePackets(uint) const;
91
92 MCNAPI ::webrtc::Timestamp LeadingPacketEnqueueTime(::webrtc::RtpPacketMediaType) const;
93
94 MCNAPI ::webrtc::Timestamp LeadingPacketEnqueueTimeForRetransmission() const;
95
97
98 MCNAPI ::webrtc::Timestamp OldestEnqueueTime() const;
99
100 MCNAPI ::std::unique_ptr<::webrtc::RtpPacketToSend> Pop();
101
103
105
106 MCNAPI void Push(::webrtc::Timestamp, ::std::unique_ptr<::webrtc::RtpPacketToSend>);
107
108 MCNAPI void RemovePacketsForSsrc(uint);
109
111
112 MCNAPI int SizeInPackets() const;
113
114 MCNAPI ::webrtc::DataSize SizeInPayloadBytes() const;
115
117
119 // NOLINTEND
120
121public:
122 // static functions
123 // NOLINTBEGIN
124 MCNAPI static ::absl::InlinedVector<::webrtc::TimeDelta, 5, ::std::allocator<::webrtc::TimeDelta>>
126 // NOLINTEND
127
128public:
129 // constructor thunks
130 // NOLINTBEGIN
132 // NOLINTEND
133
134public:
135 // destructor thunk
136 // NOLINTBEGIN
137 MCNAPI void $dtor();
138 // NOLINTEND
139};
140
141} // namespace webrtc
Definition PrioritizedPacketQueue.h:29
MCAPI::webrtc::DataSize PacketSize() const
Definition PrioritizedPacketQueue.h:45
MCAPI ::std::array<::std::deque<::webrtc::PrioritizedPacketQueue::QueuedPacket >, 5 > DequeueAll()
MCAPI::webrtc::Timestamp LeadingPacketEnqueueTime(int) const
MCAPI StreamQueue(::webrtc::Timestamp)
MCAPI void * $ctor(::webrtc::Timestamp)
MCAPI::webrtc::Timestamp LastEnqueueTime() const
MCAPI bool EnqueuePacket(::webrtc::PrioritizedPacketQueue::QueuedPacket, int)
MCAPI::webrtc::PrioritizedPacketQueue::QueuedPacket DequeuePacket(int)
Definition Timestamp.h:10
Definition PacketQueueTTL.h:7
Definition PrioritizedPacketQueue.h:20
MCAPI::webrtc::DataSize SizeInPayloadBytes() const
MCAPI void PurgeOldPacketsAtPriorityLevel(int, ::webrtc::Timestamp)
MCAPI void UpdateAverageQueueTime(::webrtc::Timestamp)
MCAPI::webrtc::Timestamp LeadingPacketEnqueueTime(::webrtc::RtpPacketMediaType) const
MCAPI void Push(::webrtc::Timestamp, ::std::unique_ptr<::webrtc::RtpPacketToSend >)
MCAPI void SetPauseState(bool, ::webrtc::Timestamp)
MCAPI int SizeInPackets() const
MCAPI::webrtc::Timestamp OldestEnqueueTime() const
MCAPI void DequeuePacketInternal(::webrtc::PrioritizedPacketQueue::QueuedPacket &)
MCAPI::webrtc::Timestamp LeadingPacketEnqueueTimeForRetransmission() const
MCAPI void * $ctor(::webrtc::Timestamp, bool, ::webrtc::PacketQueueTTL)
MCAPI bool HasKeyframePackets(uint) const
MCAPI void RemovePacketsForSsrc(uint)
static MCAPI ::absl::InlinedVector<::webrtc::TimeDelta, 5, ::std::allocator<::webrtc::TimeDelta > > ToTtlPerPrio(::webrtc::PacketQueueTTL)
MCAPI PrioritizedPacketQueue(::webrtc::Timestamp, bool, ::webrtc::PacketQueueTTL)
MCAPI ::std::unique_ptr<::webrtc::RtpPacketToSend > Pop()
MCAPI::webrtc::TimeDelta AverageQueueTime() const