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

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

public class MovieBox
extends Box

8.2.1.1 Definition

The metadata for a presentation is stored in the single Movie Box which occurs at the top-level of a file. Normally this box is close to the beginning or end of the file, though this is not required.

Author:
kulikov, amit bhayani

Field Summary
 
Fields inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box
bytetoTypeMap
 
Constructor Summary
MovieBox(long size)
           
 
Method Summary
 MovieHeaderBox getMovieHeaderBox()
           
 java.util.List<TrackBox> getTrackBoxes()
           
protected  int load(java.io.DataInputStream in)
          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

MovieBox

public MovieBox(long size)
Method Detail

load

protected int load(java.io.DataInputStream in)
            throws java.io.IOException
Description copied from class: Box
Loads Box from stream.

Specified by:
load in class Box
Parameters:
in - the stream to load box from
Returns:
the number of bytes readed from stream; *
Throws:
java.io.IOException - if some I/O error occured.

getMovieHeaderBox

public MovieHeaderBox getMovieHeaderBox()

getTrackBoxes

public java.util.List<TrackBox> getTrackBoxes()


Copyright © 2010. All Rights Reserved.