libpromeki 1.0.0-alpha
PROfessional MEdia toolKIt
 
Loading...
Searching...
No Matches
rtppacketbatch.h
Go to the documentation of this file.
1
8#pragma once
9
10
11#include <promeki/config.h>
12#if PROMEKI_ENABLE_NETWORK
13#include <cstdint>
14#include <promeki/framenumber.h>
15#include <promeki/namespace.h>
16#include <promeki/rtppacket.h>
17#include <promeki/timestamp.h>
18
19PROMEKI_NAMESPACE_BEGIN
20
67struct RtpPacketBatch {
72 RtpPacket::List packets;
73
83 FrameNumber frameIndex;
84
91 uint32_t clockRate = 0;
92
99 bool markerOnLast = true;
100
110 uint64_t rateCapBps = 0;
111
118 TimeStamp enqueuedAt;
119};
120
121PROMEKI_NAMESPACE_END
122
123#endif // PROMEKI_ENABLE_NETWORK