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

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

public class AmrSpecificBox
extends Box

The AMRSpecificBox fields for AMR and AMR-WB shall be as defined in table 6.6. The AMRSpecificBox for the AMRSampleEntry Box shall always be included if the 3GP file contains AMR or AMR-WB media.

Table 6.6: The AMRSpecificBox fields for AMRSampleEntry

Look at 6.7 section of 3GPP TS 26.244 Transparent end-to-end packet switched streaming service (PSS); 3GPP file format (3GP)

http://www.3gpp.org/ftp/Specs/html-info/26244.htm

Author:
amit bhayani

Field Summary
 
Fields inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box
bytetoTypeMap
 
Constructor Summary
AmrSpecificBox(long size, java.lang.String type)
           
 
Method Summary
 int getDecoderVersion()
           
 int getFramesPerSample()
           
 int getModeChangePeriod()
           
 int getModeSet()
           
 java.lang.String getVendor()
           
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

AmrSpecificBox

public AmrSpecificBox(long size,
                      java.lang.String type)
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.

getVendor

public java.lang.String getVendor()

getDecoderVersion

public int getDecoderVersion()

getModeSet

public int getModeSet()

getModeChangePeriod

public int getModeChangePeriod()

getFramesPerSample

public int getFramesPerSample()


Copyright © 2010. All Rights Reserved.