RDK Documentation (Open Sourced RDK Components)
AudioTrackInfo Struct Reference

Structure for audio track information Holds information about an audio track in playlist. More...

#include <main_aamp.h>

Collaboration diagram for AudioTrackInfo:
Collaboration graph

Public Member Functions

 AudioTrackInfo (std::string idx, std::string lang, std::string rend, std::string trackName, std::string codecStr, std::string cha, int ch)
 
 AudioTrackInfo (std::string idx, std::string lang, std::string rend, std::string trackName, std::string codecStr, int pk, std::string conType, std::string mixType)
 
 AudioTrackInfo (std::string idx, std::string lang, std::string rend, std::string trackName, std::string codecStr, long bw, std::string typ, bool available)
 
 AudioTrackInfo (std::string idx, std::string lang, std::string rend, std::string trackName, std::string codecStr, long bw, int channel)
 
 AudioTrackInfo (std::string idx, std::string lang, std::string rend, std::string trackName, std::string codecStr, long bw, int channel, bool muxed, bool available)
 
 AudioTrackInfo (std::string idx, std::string lang, std::string rend, std::string trackName, std::string codecStr, long bw, std::string typ, bool muxed, std::string lab, std::string type, bool available)
 
 AudioTrackInfo (std::string idx, std::string lang, std::string rend, std::string trackName, std::string codecStr, long bw, std::string typ, bool muxed, std::string lab, std::string type, Accessibility accessbility, bool available)
 
bool operator== (const AudioTrackInfo &track) const
 
bool operator< (const AudioTrackInfo &track) const
 
bool operator> (const AudioTrackInfo &track) const
 

Data Fields

std::string index
 
std::string language
 
std::string rendition
 
std::string name
 
std::string codec
 
std::string characteristics
 
std::string label
 
int channels
 
long bandwidth
 
int primaryKey
 
std::string contentType
 
std::string mixType
 
std::string accessibilityType
 
bool isMuxed
 
Accessibility accessibilityItem
 
std::string mType
 
bool isAvailable
 

yes

Structure for audio track information Holds information about an audio track in playlist.

Definition at line 178 of file main_aamp.h.

Field Documentation

◆ index

std::string AudioTrackInfo::index

Index of track

Definition at line 180 of file main_aamp.h.

◆ language

std::string AudioTrackInfo::language

Language of track

Definition at line 181 of file main_aamp.h.

◆ rendition

std::string AudioTrackInfo::rendition

role for DASH, group-id for HLS

Definition at line 182 of file main_aamp.h.

◆ name

std::string AudioTrackInfo::name

Name of track info

Definition at line 183 of file main_aamp.h.

◆ codec

std::string AudioTrackInfo::codec

Codec of Audio track

Definition at line 184 of file main_aamp.h.

◆ characteristics

std::string AudioTrackInfo::characteristics

Charesterics field of audio track

Definition at line 185 of file main_aamp.h.

◆ label

std::string AudioTrackInfo::label

label of audio track info

Definition at line 186 of file main_aamp.h.

◆ channels

int AudioTrackInfo::channels

number channels of track

Definition at line 187 of file main_aamp.h.

◆ bandwidth

long AudioTrackInfo::bandwidth

Bandwidth value of track

Definition at line 188 of file main_aamp.h.

◆ primaryKey

int AudioTrackInfo::primaryKey

used for ATSC to store key , this should not be exposed to app

Definition at line 189 of file main_aamp.h.

◆ contentType

std::string AudioTrackInfo::contentType

used for ATSC to propogate content type

Definition at line 190 of file main_aamp.h.

◆ mixType

std::string AudioTrackInfo::mixType

used for ATSC to propogate mix type

Definition at line 191 of file main_aamp.h.

◆ accessibilityType

std::string AudioTrackInfo::accessibilityType

value of Accessibility

Definition at line 192 of file main_aamp.h.

◆ isMuxed

bool AudioTrackInfo::isMuxed

Flag to indicated muxed audio track ; this is used by AC4 tracks

Definition at line 193 of file main_aamp.h.

◆ accessibilityItem

Accessibility AudioTrackInfo::accessibilityItem

Field to store Accessibility Node

Definition at line 194 of file main_aamp.h.

◆ mType

std::string AudioTrackInfo::mType

Type field of track, to be populated by player

Definition at line 195 of file main_aamp.h.


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