org.mobicents.media.server.impl.resource.mediaplayer.mpeg
Class DataReferenceBox
java.lang.Object
org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box
org.mobicents.media.server.impl.resource.mediaplayer.mpeg.FullBox
org.mobicents.media.server.impl.resource.mediaplayer.mpeg.DataReferenceBox
public class DataReferenceBox
- extends FullBox
8.7.2.1 Definition
- Box Types: �?url �?, �?urn �?, �?dref’
- Container: Data Information Box (�?dinf’)
- Mandatory: Yes
- Quantity: Exactly one
The data reference object contains a table of data references (normally URLs) that declare the location(s) of the
media data used within the presentation. The data reference index in the sample description ties entries in this
table to the samples in the track. A track may be split over several sources in this way.
If the flag is set indicating that the data is in the same file as this box, then no string (not even an empty one)
shall be supplied in the entry field.
The DataEntryBox within the DataReferenceBox shall be either a DataEntryUrnBox or a DataEntryUrlBox.
- Author:
- kulikov, amit bhayani
| Fields inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box |
bytetoTypeMap |
|
Method Summary |
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 |
DataReferenceBox
public DataReferenceBox(long size)
load
protected int load(java.io.DataInputStream fin)
throws java.io.IOException
- Description copied from class:
Box
- Loads Box from stream.
- Overrides:
load in class FullBox
- 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.
Copyright © 2010. All Rights Reserved.