|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.smaxe.uv.client.video.AbstractVideo
public abstract class AbstractVideo
AbstractVideo - abstract IVideo.
| Constructor Summary | |
|---|---|
AbstractVideo()
Constructor. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractVideo()
| Method Detail |
|---|
public double bufferLength()
IVideo
bufferLength in interface IVideopublic long bytesLoaded()
IVideo
bytesLoaded in interface IVideopublic long bytesTotal()
IVideo
bytesTotal in interface IVideopublic double fps()
IVideo
fps in interface IVideopublic double liveDelay()
IVideo
liveDelay in interface IVideopublic double time()
IVideo
time in interface IVideopublic void clear()
IVideo
clear in interface IVideopublic void clearPlayBuffer()
IVideo
clearPlayBuffer in interface IVideopublic void reset()
IVideo
reset in interface IVideopublic void onAudioData(MediaData data)
IVideoNote: This method should be really quick.
onAudioData in interface IVideodata - audio data framepublic void onVideoData(MediaData data)
IVideoNote: This method should be really quick.
onVideoData in interface IVideodata - video data framepublic void onFlvData(MediaData data)
IVideoNote: This method should be really quick.
onFlvData in interface IVideopublic void onCuePoint(java.lang.Object data)
IVideoNote: This method should be really quick.
onCuePoint in interface IVideodata - cue-point datapublic void onMetaData(java.lang.Object data)
IVideoNote: This method should be really quick.
onMetaData in interface IVideodata - meta-data
public void onSetDataFrame(java.lang.String method,
java.lang.Object data)
IVideoNote: This method should be really quick.
onSetDataFrame in interface IVideomethod - methoddata - meta-data
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||