org.mobicents.media.server.impl.resource.mediaplayer.mpeg
Class HandlerReferenceBox
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.HandlerReferenceBox
public class HandlerReferenceBox
- extends FullBox
This box within a Media Box declares the process by which the media-data in
the track is presented, and thus, the nature of the media in a track.
For example, a video track would be handled by a video handler.
This box when present within a Meta Box, declares the structure or format of
the meta box contents. There is a general handler for metadata streams
of any type; the specific format is identified by the sample entry, as for
video or audio, for example. If they are in text, then a MIME format is
supplied to document their format; if in XML, each sample is a complete
XML document, and the namespace of the XML is also supplied.
Box Type: hdlr
Container: Media Box (mdia) or Meta Box (meta)
Mandatory: Yes
Quantity: Exactly one
- Author:
- kulikov
| Fields inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box |
bytetoTypeMap |
|
Method Summary |
java.lang.String |
getHandlerType()
|
java.lang.String |
getName()
|
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 |
HandlerReferenceBox
public HandlerReferenceBox(long size)
getHandlerType
public java.lang.String getHandlerType()
getName
public java.lang.String getName()
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.