Shaka Packager SDK
Public Types | Public Member Functions | Public Attributes | List of all members
shaka::media::mp4::TrackHeader Struct Reference
Inheritance diagram for shaka::media::mp4::TrackHeader:
shaka::media::mp4::FullBox shaka::media::mp4::Box

Public Types

enum  TrackHeaderFlags { kTrackEnabled = 0x000001 , kTrackInMovie = 0x000002 , kTrackInPreview = 0x000004 }
 

Public Member Functions

FourCC BoxType () const override
 
- Public Member Functions inherited from shaka::media::mp4::FullBox
uint32_t HeaderSize () const final
 
- Public Member Functions inherited from shaka::media::mp4::Box
bool Parse (BoxReader *reader)
 
void Write (BufferWriter *writer)
 
void WriteHeader (BufferWriter *writer)
 
uint32_t ComputeSize ()
 
uint32_t box_size ()
 

Public Attributes

uint64_t creation_time = 0
 
uint64_t modification_time = 0
 
uint32_t track_id = 0
 
uint64_t duration = 0
 
int16_t layer = 0
 
int16_t alternate_group = 0
 
int16_t volume = -1
 
uint32_t width = 0
 
uint32_t height = 0
 
- Public Attributes inherited from shaka::media::mp4::FullBox
uint8_t version = 0
 
uint32_t flags = 0
 

Additional Inherited Members

- Protected Member Functions inherited from shaka::media::mp4::FullBox
bool ReadWriteHeaderInternal (BoxBuffer *buffer) final
 

Detailed Description

Definition at line 187 of file box_definitions.h.

Member Function Documentation

◆ BoxType()

FourCC shaka::media::mp4::TrackHeader::BoxType ( ) const
overridevirtual
Returns
box type.

Implements shaka::media::mp4::Box.

Definition at line 585 of file box_definitions.cc.


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