You.i Engine
CYIAbstractVideoPlayer::TrackInfo Struct Reference

Detailed Description

Base definition of player TrackInfo. Only to be used for construction of TrackInfo subtypes.

#include <player/YiAbstractVideoPlayer.h>

Inheritance diagram for CYIAbstractVideoPlayer::TrackInfo:

Public Member Functions

 TrackInfo (uint32_t id)
 
 TrackInfo (uint32_t id, const CYIString &name)
 
 TrackInfo (uint32_t id, const CYIString &name, const CYIString &language)
 
virtual ~TrackInfo ()
 

Public Attributes

uint32_t id
 
CYIString name
 
CYIString language
 
CYIOptional< CYIStringrole
 

Constructor & Destructor Documentation

◆ TrackInfo() [1/3]

CYIAbstractVideoPlayer::TrackInfo::TrackInfo ( uint32_t  id)
inline

◆ TrackInfo() [2/3]

CYIAbstractVideoPlayer::TrackInfo::TrackInfo ( uint32_t  id,
const CYIString name 
)
inline

◆ TrackInfo() [3/3]

CYIAbstractVideoPlayer::TrackInfo::TrackInfo ( uint32_t  id,
const CYIString name,
const CYIString language 
)
inline

◆ ~TrackInfo()

virtual CYIAbstractVideoPlayer::TrackInfo::~TrackInfo ( )
inlinevirtual

Member Data Documentation

◆ id

uint32_t CYIAbstractVideoPlayer::TrackInfo::id

Integer ID used for selection of the track.

◆ language

CYIString CYIAbstractVideoPlayer::TrackInfo::language

Language code used by the track. May be an empty string if not available.

◆ name

CYIString CYIAbstractVideoPlayer::TrackInfo::name

Human-readable name of the track. May be an empty string if the metadata is inaccessible.

◆ role

CYIOptional<CYIString> CYIAbstractVideoPlayer::TrackInfo::role

Role of the track. For DASH this comes from the DASH role scheme identified by the URN 'urn:mpeg:dash:role:2011'.


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