org.mobicents.media.server.impl.resource.mediaplayer.mpeg
Class TrackReferenceBox

java.lang.Object
  extended by org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box
      extended by org.mobicents.media.server.impl.resource.mediaplayer.mpeg.TrackReferenceBox

public class TrackReferenceBox
extends Box

8.3.3.1 Definition

This box provides a reference from the containing track to another track in the presentation. These references are typed. A �?hint’ reference links from the containing hint track to the media data that it hints. A content description reference �?cdsc’ links a descriptive or metadata track to the content which it describes.

Exactly one Track Reference Box can be contained within the 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.

Author:
amit bhayani

Field Summary
 
Fields inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box
bytetoTypeMap
 
Constructor Summary
TrackReferenceBox(long size)
           
 
Method Summary
 java.util.List<TrackReferenceTypeBox> getTrackReferenceTypeBoxes()
           
protected  int load(java.io.DataInputStream fin)
          Loads Box from stream.
 
Methods inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box
comparebytes, getSize, getType, read, read16, read24, read32, readFixedPoint1616, readText, readType, readU32, readU64
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrackReferenceBox

public TrackReferenceBox(long size)
Method Detail

load

protected int load(java.io.DataInputStream fin)
            throws java.io.IOException
Description copied from class: Box
Loads Box from stream.

Specified by:
load in class Box
Parameters:
fin - the stream to load box from
Returns:
the number of bytes readed from stream; *
Throws:
java.io.IOException - if some I/O error occured.

getTrackReferenceTypeBoxes

public java.util.List<TrackReferenceTypeBox> getTrackReferenceTypeBoxes()


Copyright © 2010. All Rights Reserved.