|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
org.red5.io.flv.meta.MetaData<K,V>
public class MetaData<K,V>
MetaData Implementation
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Constructor Summary | |
|---|---|
MetaData()
MetaData constructor |
|
| Method Summary | |
|---|---|
int |
getAudioCodecId()
|
boolean |
getCanSeekToEnd()
Returns a boolean depending on whether the video can seek to end |
double |
getDuration()
Returns the duration. |
double |
getFrameRate()
Returns the framerate. |
int |
getHeight()
Returns the height |
IMetaCue[] |
getMetaCue()
Return array of cue points |
int |
getVideoCodecId()
Returns the video codec id |
int |
getVideoDataRate()
Returns the videodatarate |
int |
getWidth()
Returns the width Video width |
void |
setAudioCodecId(int id)
|
void |
setCanSeekToEnd(boolean b)
Sets whether a video can seek to end |
void |
setDuration(double d)
Sets the duration. |
void |
setFrameRate(double rate)
Sets the framerate. |
void |
setHeight(int h)
Sets the height |
void |
setMetaCue(IMetaCue[] cuePoints)
Sets the Meta Cue Points |
void |
setVideoCodecId(int id)
Sets the video codec id |
void |
setVideoDataRate(int rate)
Sets the videodatarate |
void |
setWidth(int w)
Sets the width |
String |
toString()
|
| Methods inherited from class java.util.HashMap |
|---|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
|---|
equals, hashCode |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public MetaData()
| Method Detail |
|---|
public boolean getCanSeekToEnd()
getCanSeekToEnd in interface IMetaDatatrue if file is seekable to the end, false otherwisepublic void setCanSeekToEnd(boolean b)
setCanSeekToEnd in interface IMetaDatab - true if file is seekable to the end, false otherwisepublic int getVideoCodecId()
getVideoCodecId in interface IMetaDatapublic void setVideoCodecId(int id)
setVideoCodecId in interface IMetaDataid - Video codec idpublic int getAudioCodecId()
getAudioCodecId in interface IMetaDatapublic void setAudioCodecId(int id)
setAudioCodecId in interface IMetaDatapublic double getFrameRate()
getFrameRate in interface IMetaDatapublic void setFrameRate(double rate)
setFrameRate in interface IMetaDatarate - FLV framerate in frames per secondpublic int getVideoDataRate()
getVideoDataRate in interface IMetaDatapublic void setVideoDataRate(int rate)
setVideoDataRate in interface IMetaDatarate - Video data ratepublic int getWidth()
getWidth in interface IMetaDatapublic void setWidth(int w)
setWidth in interface IMetaDataw - Video widthpublic double getDuration()
getDuration in interface IMetaDatapublic void setDuration(double d)
setDuration in interface IMetaDatad - Video duration in secondspublic int getHeight()
getHeight in interface IMetaDatapublic void setHeight(int h)
setHeight in interface IMetaDatah - Video heightpublic void setMetaCue(IMetaCue[] cuePoints)
setMetaCue in interface IMetaDatacuePoints - The cuePoints to set.public IMetaCue[] getMetaCue()
getMetaCue in interface IMetaDatapublic String toString()
toString in class AbstractMap<String,Object>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||