Shaka Packager SDK
Public Member Functions | List of all members
shaka::media::DecoderConfigDescriptor Class Reference

#include <es_descriptor.h>

Inheritance diagram for shaka::media::DecoderConfigDescriptor:
shaka::media::BaseDescriptor

Public Member Functions

uint32_t buffer_size_db () const
 
void set_buffer_size_db (uint32_t buffer_size_db)
 
uint32_t max_bitrate () const
 
void set_max_bitrate (uint32_t max_bitrate)
 
uint32_t avg_bitrate () const
 
void set_avg_bitrate (uint32_t avg_bitrate)
 
ObjectType object_type () const
 
void set_object_type (ObjectType object_type)
 
bool IsAAC () const
 
bool IsDTS () const
 
const DecoderSpecificInfoDescriptordecoder_specific_info_descriptor () const
 
DecoderSpecificInfoDescriptormutable_decoder_specific_info_descriptor ()
 
- Public Member Functions inherited from shaka::media::BaseDescriptor
 BaseDescriptor (DescriptorTag tag)
 
bool Parse (const std::vector< uint8_t > &data)
 
bool Read (BitReader *reader)
 
void Write (BufferWriter *writer)
 
size_t ComputeSize ()
 

Additional Inherited Members

- Protected Member Functions inherited from shaka::media::BaseDescriptor
void WriteHeader (BufferWriter *writer)
 Write descriptor header.
 
size_t data_size () const
 

Detailed Description

Implements DecoderConfig descriptor according to ISO 14496-1:2004 7.2.6.6 DecoderConfigDescriptor.

Definition at line 104 of file es_descriptor.h.

Member Function Documentation

◆ IsAAC()

bool shaka::media::DecoderConfigDescriptor::IsAAC ( ) const
inline
Returns
true if the stream is AAC.

Definition at line 123 of file es_descriptor.h.

◆ IsDTS()

bool shaka::media::DecoderConfigDescriptor::IsDTS ( ) const
inline
Returns
true if the stream is DTS.

Definition at line 129 of file es_descriptor.h.


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