RTC Toolkit
1.0.0
|
This class combines the packets of a sample. More...
#include <packetCombiner.hpp>
Public Member Functions | |
PacketCombiner (std::function< void(const CombinedFrames &)> callback) | |
This creates a new Packet combiner. More... | |
void | AddSample (const PacketData &data) |
This function is called to add a new packet to be combined with the others. More... | |
This class combines the packets of a sample.
|
explicit |
This creates a new Packet combiner.
The function that is provided is called whenever a sample is complete
void PacketCombiner::AddSample | ( | const PacketData & | data | ) |
This function is called to add a new packet to be combined with the others.
data | the packet to be included when combining the packets |