|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IVideo
IVideo
- video object.
Method Summary | |
---|---|
double |
bufferLength()
Returns the number of seconds of data currently in the buffer. |
long |
bytesLoaded()
Returns the number of bytes of data that have been loaded. |
long |
bytesTotal()
Returns the total size in bytes of the file being loaded. |
void |
clear()
Clears video state. |
void |
clearPlayBuffer()
Clears video play buffer. |
double |
fps()
Returns current fps. |
double |
liveDelay()
Returns the number of seconds of data in the subscribing stream's buffer in live (unbuffered) mode. |
void |
onAudioData(MediaData data)
Notifies about available audio frame. |
void |
onCuePoint(java.lang.Object data)
Notifies about stream's cue point. |
void |
onFlvData(MediaData data)
Notifies about available flv-data. |
void |
onMetaData(java.lang.Object data)
Notifies about stream's metadata. |
void |
onSetDataFrame(java.lang.String method,
java.lang.Object data)
Notifies about "@setDataFrame" frame. |
void |
onVideoData(MediaData data)
Notifies about available video frame. |
void |
reset()
Resets video. |
double |
time()
Returns the position of the playhead, in seconds. |
Method Detail |
---|
double bufferLength()
long bytesLoaded()
long bytesTotal()
double fps()
double liveDelay()
double time()
void clear()
void clearPlayBuffer()
void reset()
void onAudioData(MediaData data)
Note: This method should be really quick.
data
- audio data framevoid onVideoData(MediaData data)
Note: This method should be really quick.
data
- video data framevoid onFlvData(MediaData data)
Note: This method should be really quick.
data
- void onCuePoint(java.lang.Object data)
Note: This method should be really quick.
data
- cue-point datavoid onMetaData(java.lang.Object data)
Note: This method should be really quick.
data
- meta-datavoid onSetDataFrame(java.lang.String method, java.lang.Object data)
Note: This method should be really quick.
method
- methoddata
- meta-data
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |