org.red5.io.flv.meta
K
- key typeV
- value typepublic interface IMetaData<K,V> extends IMeta
Modifier and Type | Method and Description |
---|---|
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()
Gets the 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[] metaCue)
Sets the 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
|
boolean getCanSeekToEnd()
true
if file is seekable to the end, false
otherwisevoid setCanSeekToEnd(boolean b)
b
- true
if file is seekable to the end, false
otherwiseint getVideoCodecId()
void setVideoCodecId(int id)
id
- Video codec idint getAudioCodecId()
void setAudioCodecId(int id)
double getFrameRate()
void setFrameRate(double rate)
rate
- FLV framerate in frames per secondint getVideoDataRate()
void setVideoDataRate(int rate)
rate
- Video data rateint getHeight()
void setHeight(int h)
h
- Video heightint getWidth()
void setWidth(int w)
w
- Video widthdouble getDuration()
void setDuration(double d)
d
- Video duration in secondsvoid setMetaCue(IMetaCue[] metaCue)
metaCue
- Cue pointsIMetaCue[] getMetaCue()
Copyright © 2006-2012 The Red5 Project