RDK Documentation (Open Sourced RDK Components)
WebVttDataPacket Class Reference
Inheritance diagram for WebVttDataPacket:
Inheritance graph
Collaboration diagram for WebVttDataPacket:
Collaboration graph

Public Member Functions

 WebVttDataPacket (std::uint32_t channelId, std::uint32_t counter, std::int64_t timeOffsetMs, std::vector< std::uint8_t > &&dataBuffer)
 
- Public Member Functions inherited from Packet
 Packet (std::uint32_t counter)
 
const uint32_t getType ()
 
const std::vector< uint8_t > & getBytes ()
 
const std::uint32_t getCounter ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Packet
static std::string getTypeString (uint32_t type)
 
- Protected Types inherited from Packet
enum  PacketType : std::uint32_t
 
- Protected Member Functions inherited from Packet
std::vector< uint8_t > & getBuffer ()
 
void append32 (std::uint32_t value)
 
void append64 (std::int64_t value)
 
void appendType (PacketType type)
 
- Protected Attributes inherited from Packet
std::vector< uint8_t > m_buffer
 
std::uint32_t m_counter
 

yes

Definition at line 54 of file WebVttPacket.hpp.

Constructor & Destructor Documentation

◆ WebVttDataPacket()

WebVttDataPacket::WebVttDataPacket ( std::uint32_t  channelId,
std::uint32_t  counter,
std::int64_t  timeOffsetMs,
std::vector< std::uint8_t > &&  dataBuffer 
)
inline

Constructor.

Parameters
channelIdPacket channelId.
counterPacket counter.
timeOffsetMsData offset if needed
dataBufferPacket data.

Definition at line 70 of file WebVttPacket.hpp.


The documentation for this class was generated from the following file: