|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.impl.resource.video.Box
org.mobicents.media.server.impl.resource.video.FullBox
org.mobicents.media.server.impl.resource.video.MediaHeaderBox
public class MediaHeaderBox
The media header declares overall information that is media-independent, and relevant to characteristics of the media in a track. Box Type: mdhd Container: Media Box (mdia) Mandatory: Yes Quantity: Exactly one
| Constructor Summary | |
|---|---|
MediaHeaderBox(long size,
java.lang.String type)
|
|
| 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. |
java.util.Date |
getModificationTime()
Gets the modification time of the media in this track. |
int |
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.video.FullBox |
|---|
getFlags, getVersion, read64 |
| Methods inherited from class org.mobicents.media.server.impl.resource.video.Box |
|---|
getSize, getType, readLen, readText, readType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MediaHeaderBox(long size,
java.lang.String type)
| Method Detail |
|---|
public java.util.Date getCreationTime()
public java.util.Date getModificationTime()
public int getTimeScale()
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||