LeviLamina
Loading...
Searching...
No Matches
RtpPacketizer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/VideoCodecType.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace webrtc { class RtpPacketToSend; }
11namespace webrtc { struct RTPVideoHeader; }
12// clang-format on
13
14namespace webrtc {
15
17public:
18 // RtpPacketizer inner types declare
19 // clang-format off
20 struct PayloadSizeLimits;
21 // clang-format on
22
23 // RtpPacketizer inner types define
25 public:
26 // member variables
27 // NOLINTBEGIN
32 // NOLINTEND
33
34 public:
35 // prevent constructor by default
36 PayloadSizeLimits& operator=(PayloadSizeLimits const&);
39 };
40
41public:
42 // virtual functions
43 // NOLINTBEGIN
44 // vIndex: 0
45 virtual ~RtpPacketizer() = default;
46
47 // vIndex: 1
48 virtual uint64 NumPackets() const = 0;
49
50 // vIndex: 2
51 virtual bool NextPacket(::webrtc::RtpPacketToSend*) = 0;
52 // NOLINTEND
53
54public:
55 // static functions
56 // NOLINTBEGIN
57 MCNAPI static ::std::unique_ptr<::webrtc::RtpPacketizer> Create(
58 ::std::optional<::webrtc::VideoCodecType> type,
61 ::webrtc::RTPVideoHeader const& rtp_video_header
62 );
63
64 MCNAPI static ::std::vector<int>
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71
72 // NOLINTEND
73};
74
75} // namespace webrtc
Definition _HeaderOutputPredefine.h:260
Definition RtpPacketToSend.h:16
Definition RtpPacketizer.h:16
static MCAPI ::std::vector< int > SplitAboutEqually(int payload_len, ::webrtc::RtpPacketizer::PayloadSizeLimits const &limits)
static MCAPI ::std::unique_ptr<::webrtc::RtpPacketizer > Create(::std::optional<::webrtc::VideoCodecType > type, ::rtc::ArrayView< uchar const > payload, ::webrtc::RtpPacketizer::PayloadSizeLimits limits, ::webrtc::RTPVideoHeader const &rtp_video_header)
Definition Alias.h:14
Definition RTPVideoHeader.h:12
Definition RtpPacketizer.h:24