LeviLamina
Loading...
Searching...
No Matches
RtpVideoSenderInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/ArrayView.h"
7#include "mc/external/webrtc/EncodedImageCallback.h"
8#include "mc/external/webrtc/FecControllerOverride.h"
9#include "mc/external/webrtc/RtpSequenceNumberMap.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace webrtc { class VideoBitrateAllocation; }
14namespace webrtc { struct BitrateAllocationUpdate; }
15namespace webrtc { struct RtpPayloadState; }
16namespace webrtc { struct RtpState; }
17namespace webrtc { struct VideoLayersAllocation; }
18// clang-format on
19
20namespace webrtc {
21
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual void SetSending(bool enabled) = 0;
27
28 virtual bool IsActive() = 0;
29
30 virtual void OnNetworkAvailability(bool network_available) = 0;
31
32 virtual ::std::map<uint, ::webrtc::RtpState> GetRtpStates() const = 0;
33
34 virtual ::std::map<uint, ::webrtc::RtpPayloadState> GetRtpPayloadStates() const = 0;
35
36 virtual void DeliverRtcp(::webrtc::ArrayView<uchar const> packet) = 0;
37
38 virtual void OnBitrateAllocationUpdated(::webrtc::VideoBitrateAllocation const& bitrate) = 0;
39
40 virtual void OnVideoLayersAllocationUpdated(::webrtc::VideoLayersAllocation const& allocation) = 0;
41
42 virtual void OnBitrateUpdated(::webrtc::BitrateAllocationUpdate update, int framerate) = 0;
43
44 virtual void OnTransportOverheadChanged(uint64 transport_overhead_bytes_per_packet) = 0;
45
46 virtual uint GetPayloadBitrateBps() const = 0;
47
48 virtual uint GetProtectionBitrateBps() const = 0;
49
50 virtual void SetEncodingData(uint64 width, uint64 height, uint64 num_temporal_layers) = 0;
51
52 virtual void SetCsrcs(::webrtc::ArrayView<uint const> csrcs) = 0;
53
54 virtual ::std::vector<::webrtc::RtpSequenceNumberMap::Info>
55 GetSentRtpPacketInfos(uint ssrc, ::webrtc::ArrayView<ushort const> sequence_numbers) const = 0;
56
57 virtual void SetFecAllowed(bool fec_allowed) = 0;
58
59 virtual ~RtpVideoSenderInterface() /*override*/ = default;
60 // NOLINTEND
61
62public:
63 // destructor thunk
64 // NOLINTBEGIN
65 MCNAPI void $dtor();
66 // NOLINTEND
67};
68
69} // namespace webrtc
Definition ArrayView.h:8
Definition EncodedImageCallback.h:13
Definition FecControllerOverride.h:7
Definition RtpVideoSenderInterface.h:22
Definition VideoBitrateAllocation.h:7
Definition BitrateAllocationUpdate.h:7
Definition RtpPayloadState.h:7
Definition RtpState.h:7
Definition VideoLayersAllocation.h:7