org.mobicents.media.server.impl.resource.mediaplayer.mpeg
Class SyncSampleBox
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.SyncSampleBox
public class SyncSampleBox
- extends FullBox
8.6.2.1 Definition
- Box Type: �?stss’
- Container:
SampleTableBox (�?stbl’)
- Mandatory: No
- Quantity: Zero or one
This box provides a compact marking of the random access points within the stream. The table is arranged in strictly
increasing order of sample number.
If the sync sample box is not present, every sample is a random access point.
- Author:
- amit bhayani
| Fields inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box |
bytetoTypeMap |
|
Method Summary |
long[] |
getSampleNumber()
|
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 |
SyncSampleBox
public SyncSampleBox(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.
getSampleNumber
public long[] getSampleNumber()
Copyright © 2010. All Rights Reserved.