Shaka Packager SDK
Public Attributes | List of all members
shaka::ChunkingParams Struct Reference

Chunking (segmentation) related parameters. More...

#include <chunking_params.h>

Public Attributes

double segment_duration_in_seconds = 0
 Segment duration in seconds.
 
double subsegment_duration_in_seconds = 0
 
bool segment_sap_aligned = true
 
bool subsegment_sap_aligned = true
 

Detailed Description

Chunking (segmentation) related parameters.

Definition at line 13 of file chunking_params.h.

Member Data Documentation

◆ segment_sap_aligned

bool shaka::ChunkingParams::segment_sap_aligned = true

Force segments to begin with stream access points. Actual segment duration may not be exactly what is specified by segment_duration.

Definition at line 22 of file chunking_params.h.

◆ subsegment_duration_in_seconds

double shaka::ChunkingParams::subsegment_duration_in_seconds = 0

Subsegment duration in seconds. Should not be larger than the segment duration.

Definition at line 18 of file chunking_params.h.

◆ subsegment_sap_aligned

bool shaka::ChunkingParams::subsegment_sap_aligned = true

Force subsegments to begin with stream access points. Actual subsegment duration may not be exactly what is specified by subsegment_duration. Setting to subsegment_sap_aligned to true but segment_sap_aligned to false is not allowed.

Definition at line 27 of file chunking_params.h.


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