LeviLamina
Loading...
Searching...
No Matches
RtpPacketPacer.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 TimeDelta; }
10namespace webrtc { class Timestamp; }
11namespace webrtc { struct ProbeClusterConfig; }
12// clang-format on
13
14namespace webrtc {
15
17public:
18 // virtual functions
19 // NOLINTBEGIN
20 virtual ~RtpPacketPacer() = default;
21
22 virtual void CreateProbeClusters(::std::vector<::webrtc::ProbeClusterConfig>) = 0;
23
24 virtual void Pause() = 0;
25
26 virtual void Resume() = 0;
27
28 virtual void SetCongested(bool) = 0;
29
30 virtual void SetPacingRates(::webrtc::DataRate, ::webrtc::DataRate) = 0;
31
32 virtual ::webrtc::TimeDelta OldestPacketWaitTime() const = 0;
33
34 virtual ::webrtc::DataSize QueueSizeData() const = 0;
35
36 virtual ::std::optional<::webrtc::Timestamp> FirstSentPacketTime() const = 0;
37
38 virtual ::webrtc::TimeDelta ExpectedQueueTime() const = 0;
39
40 virtual void SetQueueTimeLimit(::webrtc::TimeDelta) = 0;
41
42 virtual void SetAccountForAudioPackets(bool) = 0;
43
44 virtual void SetIncludeOverhead() = 0;
45
46 virtual void SetTransportOverhead(::webrtc::DataSize) = 0;
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52
53 // NOLINTEND
54};
55
56} // namespace webrtc
Definition DataRate.h:10
Definition DataSize.h:10
Definition RtpPacketPacer.h:16
Definition TimeDelta.h:10
Definition Timestamp.h:15
Definition ProbeClusterConfig.h:7