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

java.lang.Object
  extended by org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box
      extended by org.mobicents.media.server.impl.resource.mediaplayer.mpeg.SampleEntry
          extended by org.mobicents.media.server.impl.resource.mediaplayer.mpeg.AudioSampleEntry
              extended by org.mobicents.media.server.impl.resource.mediaplayer.mpeg.AMRSampleEntry

public class AMRSampleEntry
extends AudioSampleEntry

Look 3Gpp TS 26.244 section 6.5

Author:
amit bhayani

Field Summary
 
Fields inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.SampleEntry
dataReferenceIndex, reserved
 
Fields inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box
bytetoTypeMap
 
Constructor Summary
AMRSampleEntry(long size)
           
 
Method Summary
 AmrSpecificBox getAmrSpecificBox()
           
protected  int load(java.io.DataInputStream fin)
          Loads Box from stream.
 
Methods inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.AudioSampleEntry
getChannelCount, getSampleRate, getSampleSize
 
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

AMRSampleEntry

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

Overrides:
load in class AudioSampleEntry
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.

getAmrSpecificBox

public AmrSpecificBox getAmrSpecificBox()


Copyright © 2010. All Rights Reserved.