CoreSDK  v1.0.0.b1304
Public Member Functions | Public Attributes | List of all members
r5::common::CodecSample Struct Reference

Helper structure for managing codec data chunks. More...

#include <r5codec_sample.h>

Public Member Functions

 CodecSample (std::unique_ptr< uint8_t[]> buffer_, uint32_t size_, uint32_t ts_)
 Construct a new Codec Sample. More...
 

Public Attributes

uint32_t timestamp = 0
 Timestamp for sample.
 
uint32_t size = 0
 Size of array in bytes.
 
std::unique_ptr< uint8_t[]> buffer = nullptr
 Pointer to sample data array.
 

Detailed Description

Helper structure for managing codec data chunks.

Constructor & Destructor Documentation

◆ CodecSample()

r5::common::CodecSample::CodecSample ( std::unique_ptr< uint8_t[]>  buffer_,
uint32_t  size_,
uint32_t  ts_ 
)
inline

Construct a new Codec Sample.

Parameters
buffer_Pointer to sample data array
size_Size of array in bytes
ts_Timestamp for sample

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