|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.MediaHeaderBox
public class MediaHeaderBox
8.4.2.1 Definition
The media header declares overall information that is media-independent, and relevant to characteristics of the media in a track.
| Field Summary |
|---|
| Fields inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box |
|---|
bytetoTypeMap |
| Constructor Summary | |
|---|---|
MediaHeaderBox(long size)
|
|
| Method Summary | |
|---|---|
java.util.Date |
getCreationTime()
Gets the creation time of the media in this track. |
long |
getDuration()
Gets duration of the media in this track. |
int |
getLanguage()
|
java.util.Date |
getModificationTime()
Gets the modification time of the media in this track. |
long |
getTimescale()
Gets the time scale of the media in this track. |
protected int |
load(java.io.DataInputStream fin)
Loads Box from stream. |
| Methods inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.FullBox |
|---|
getFlags, getVersion, read64 |
| 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 |
|---|
public MediaHeaderBox(long size)
| Method Detail |
|---|
public java.util.Date getCreationTime()
public java.util.Date getModificationTime()
public long getDuration()
protected int load(java.io.DataInputStream fin)
throws java.io.IOException
Box
load in class FullBoxfin - the stream to load box from
java.io.IOException - if some I/O error occured.public long getTimescale()
public int getLanguage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||