org.mobicents.media.server.impl.resource.mediaplayer.mpeg
Class TrackBox
java.lang.Object
org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box
org.mobicents.media.server.impl.resource.mediaplayer.mpeg.TrackBox
public class TrackBox
- extends Box
8.3.1.1 Definition
- Box Type: �?trak’
- Container:
MovieBox (�?moov’)
- Mandatory: Yes
- Quantity: One or more
This is a container box for a single track of a presentation. A presentation consists of one or more tracks. Each
track is independent of the other tracks in the presentation and carries its own temporal and spatial information.
Each track will contain its associated Media Box.
Tracks are used for two purposes: (a) to contain media data (media tracks) and (b) to contain packetization
information for streaming protocols (hint tracks).
There shall be at least one media track within an ISO file, and all the media tracks that contributed to the hint
tracks shall remain in the file, even if the media data within them is not referenced by the hint tracks; after
deleting all hint tracks, the entire un-hinted presentation shall remain.
- Author:
- kulikov, amit bhayani
| Fields inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box |
bytetoTypeMap |
| 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 |
TrackBox
public TrackBox(long size)
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.
getTrackHeaderBox
public TrackHeaderBox getTrackHeaderBox()
getEditBox
public EditBox getEditBox()
getMediaBox
public MediaBox getMediaBox()
getTrackReferenceBox
public TrackReferenceBox getTrackReferenceBox()
getUserDataBox
public UserDataBox getUserDataBox()
Copyright © 2010. All Rights Reserved.