|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box
org.mobicents.media.server.impl.resource.mediaplayer.mpeg.MediaDataBox
public class MediaDataBox
8.1.1.1 Definition
This box contains the media data. In video tracks, this box would contain video frames. A presentation may contain
zero or more Media Data Boxes. The actual media data follows the type field; its structure is described by the
metadata (see particularly the SampleTableBox, subclause 8.5, and the item location box, subclause 8.11.3).
In large presentations, it may be desirable to have more data in this box than a 32-bit size would permit. In this case, the large variant of the size field, above in subclause 6.2, is used.
There may be any number of these boxes in the file (including zero, if all the media data is in other files). The metadata refers to media data by its absolute offset within the file (see subclause 8.7.5, the Chunk Offset Box); so Media Data Box headers and free space may easily be skipped, and files without any box structure may also be referenced and used.
| Field Summary |
|---|
| Fields inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box |
|---|
bytetoTypeMap |
| Constructor Summary | |
|---|---|
MediaDataBox(long size)
|
|
| 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 |
| Constructor Detail |
|---|
public MediaDataBox(long size)
| Method Detail |
|---|
protected int load(java.io.DataInputStream fin)
throws java.io.IOException
Box
load in class Boxfin - the stream to load box from
java.io.IOException - if some I/O error occured.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||