FileDocCategorySizeDatePackage
MediaBox.javaAPI Docmp4parser 1.0-RC-171675Wed Dec 19 20:10:38 GMT 2012com.coremedia.iso.boxes

MediaBox

public class MediaBox extends com.googlecode.mp4parser.AbstractContainerBox
The media declaration container contains all the objects that declare information about the media data within a track.

Fields Summary
public static final String
TYPE
Constructors Summary
public MediaBox()


      
        super(TYPE);
    
Methods Summary
public HandlerBoxgetHandlerBox()

        for (Box box : boxes) {
            if (box instanceof HandlerBox) {
                return (HandlerBox) box;
            }
        }
        return null;
    
public MediaHeaderBoxgetMediaHeaderBox()

        for (Box box : boxes) {
            if (box instanceof MediaHeaderBox) {
                return (MediaHeaderBox) box;
            }
        }
        return null;
    
public MediaInformationBoxgetMediaInformationBox()

        for (Box box : boxes) {
            if (box instanceof MediaInformationBox) {
                return (MediaInformationBox) box;
            }
        }
        return null;