Track Reference Box provides a reference from the containing track * to another track in the presentation. These references are typed. A {@link * ISO14496_Box_HINT hint} reference links from the containing hint track to the * media data that it hints. A content description reference {@link * ISO14496_Box_CDSC cdsc} links a descriptive or metadata track to the content * which it describes. * * Exactly one Track Reference Box can be contained within the {@link * ISO14496_Box_TRAK Track Box}. * * If this box is not present, the track is not referencing any other track in * any way. The reference array is sized to fill the reference type box. * * @package php-reader * @subpackage ISO 14496 * @author Sven Vollbehr * @copyright Copyright (c) 2008 The PHP Reader Project Workgroup * @license http://code.google.com/p/php-reader/wiki/License New BSD License * @version $Rev: 92 $ */ final class ISO14496_Box_TREF extends ISO14496_Box { /** * Constructs the class with given parameters and reads box related data from * the ISO Base Media file. * * @param Reader $reader The reader object. */ public function __construct($reader = null, &$options = array()) { parent::__construct($reader, $options); $this->setContainer(true); if ($reader === null) return; $this->constructBoxes(); } }