|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.red5.io.mp4.MP4Descriptor
public class MP4Descriptor
MP4Descriptor
Field Summary | |
---|---|
protected Vector<MP4Descriptor> |
children
|
protected long |
decSpecificDataOffset
|
protected int |
decSpecificDataSize
|
static int |
MP4DecoderConfigDescriptorTag
|
static int |
MP4DecSpecificInfoDescriptorTag
|
static int |
MP4ES_DescriptorTag
|
protected int |
readed
|
protected int |
size
|
protected int |
type
|
Constructor Summary | |
---|---|
MP4Descriptor(int type,
int size)
|
Method Summary | |
---|---|
void |
createDecoderConfigDescriptor(MP4DataStream bitstream)
Loads the MP4DecoderConfigDescriptor from the input bitstream. |
void |
createDecSpecificInfoDescriptor(MP4DataStream bitstream)
Loads the MP4DecSpecificInfoDescriptor from the input bitstream. |
static MP4Descriptor |
createDescriptor(MP4DataStream bitstream)
|
void |
createES_Descriptor(MP4DataStream bitstream)
Loads the MP4ES_Descriptor from the input bitstream. |
Vector<MP4Descriptor> |
getChildren()
|
long |
getDecSpecificDataOffset()
|
int |
getDecSpecificDataSize()
|
byte[] |
getDSID()
|
int |
getReaded()
Gets the number of data bytes which were read from the stream; |
int |
getType()
Returns the type of this descriptor. |
MP4Descriptor |
lookup(int type,
int number)
Lookups for a child descriptor with the specified type ,
skips the number children with the same type before
finding a result. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MP4ES_DescriptorTag
public static final int MP4DecoderConfigDescriptorTag
public static final int MP4DecSpecificInfoDescriptorTag
protected int type
protected int size
protected int readed
protected Vector<MP4Descriptor> children
protected int decSpecificDataSize
protected long decSpecificDataOffset
Constructor Detail |
---|
public MP4Descriptor(int type, int size)
Method Detail |
---|
public static MP4Descriptor createDescriptor(MP4DataStream bitstream) throws IOException
IOException
public void createES_Descriptor(MP4DataStream bitstream) throws IOException
bitstream
- the input bitstream
IOException
public void createDecoderConfigDescriptor(MP4DataStream bitstream) throws IOException
bitstream
- the input bitstream
IOException
public byte[] getDSID()
public void createDecSpecificInfoDescriptor(MP4DataStream bitstream) throws IOException
bitstream
- the input bitstream
IOException
public long getDecSpecificDataOffset()
public int getDecSpecificDataSize()
public MP4Descriptor lookup(int type, int number)
type
,
skips the number
children with the same type before
finding a result.
type
- the type of the descriptor.number
- the number of child descriptors to skip
public int getType()
public int getReaded()
public Vector<MP4Descriptor> getChildren()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |