|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap<K,V> java.util.HashMap<String,Object> org.red5.io.flv.meta.MetaData<K,V>
K
- key typeV
- value typepublic 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 IMetaData<Object,Object>
true
if file is seekable to the end, false
otherwisepublic void setCanSeekToEnd(boolean b)
setCanSeekToEnd
in interface IMetaData<Object,Object>
b
- true
if file is seekable to the end, false
otherwisepublic int getVideoCodecId()
getVideoCodecId
in interface IMetaData<Object,Object>
public void setVideoCodecId(int id)
setVideoCodecId
in interface IMetaData<Object,Object>
id
- Video codec idpublic int getAudioCodecId()
getAudioCodecId
in interface IMetaData<Object,Object>
public void setAudioCodecId(int id)
setAudioCodecId
in interface IMetaData<Object,Object>
public double getFrameRate()
getFrameRate
in interface IMetaData<Object,Object>
public void setFrameRate(double rate)
setFrameRate
in interface IMetaData<Object,Object>
rate
- FLV framerate in frames per secondpublic int getVideoDataRate()
getVideoDataRate
in interface IMetaData<Object,Object>
public void setVideoDataRate(int rate)
setVideoDataRate
in interface IMetaData<Object,Object>
rate
- Video data ratepublic int getWidth()
getWidth
in interface IMetaData<Object,Object>
public void setWidth(int w)
setWidth
in interface IMetaData<Object,Object>
w
- Video widthpublic double getDuration()
getDuration
in interface IMetaData<Object,Object>
public void setDuration(double d)
setDuration
in interface IMetaData<Object,Object>
d
- Video duration in secondspublic int getHeight()
getHeight
in interface IMetaData<Object,Object>
public void setHeight(int h)
setHeight
in interface IMetaData<Object,Object>
h
- Video heightpublic void setMetaCue(IMetaCue[] cuePoints)
setMetaCue
in interface IMetaData<Object,Object>
cuePoints
- The cuePoints to set.public IMetaCue[] getMetaCue()
getMetaCue
in interface IMetaData<Object,Object>
public String toString()
toString
in class AbstractMap<String,Object>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |