org.mobicents.media.server.impl.resource.mediaplayer.mpeg
Class SampleDescriptionBox
java.lang.Object
org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box
org.mobicents.media.server.impl.resource.mediaplayer.mpeg.FullBox
org.mobicents.media.server.impl.resource.mediaplayer.mpeg.SampleDescriptionBox
public class SampleDescriptionBox
- extends FullBox
8.5.2.1 Definition
- Box Types: �?stsd’
- Container:
SampleTableBox (�?stbl’)
- Mandatory: Yes
- Quantity: Exactly one
The sample description table gives detailed information about the coding type used, and any initialization
information needed for that coding.
The information stored in the sample description box after the entry-count is both track-type specific as documented
here, and can also have variants within a track type (e.g. different codings may use different specific information
after some common fields, even within a video track). For video tracks, a VisualSampleEntry is used, for audio
tracks, an AudioSampleEntry and for metadata tracks, a MetaDataSampleEntry. Hint tracks use an entry format specific
to their protocol, with an appropriate name.
For hint tracks, the sample description contains appropriate declarative data for the streaming protocol being used,
and the format of the hint track. The definition of the sample description is specific to the protocol.
- Author:
- amit bhayani
| Fields inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box |
bytetoTypeMap |
| 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 |
SampleDescriptionBox
public SampleDescriptionBox(long size)
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 FullBox
- 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.
getSampleEntries
public SampleEntry[] getSampleEntries()
Copyright © 2010. All Rights Reserved.