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

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

public class MediaBox
extends Box

8.4.1.1 Definition

The media declaration container contains all the objects that declare information about the media data within a track.

Author:
kulikov, amit bhayani

Field Summary
 
Fields inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box
bytetoTypeMap
 
Constructor Summary
MediaBox(long size)
           
 
Method Summary
 HandlerReferenceBox getHandlerReferenceBox()
           
 MediaHeaderBox getMediaHeaderBox()
           
 MediaInformationBox getMediaInformationBox()
           
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

MediaBox

public MediaBox(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.

getMediaHeaderBox

public MediaHeaderBox getMediaHeaderBox()

getHandlerReferenceBox

public HandlerReferenceBox getHandlerReferenceBox()

getMediaInformationBox

public MediaInformationBox getMediaInformationBox()


Copyright © 2010. All Rights Reserved.