|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface IMediaStream.IListener
IListener - media stream listener.
| Method Summary | |
|---|---|
void |
onAudioData(MediaData data)
Notifies about a new audio frame (audio frame time is time relative to the previous audio frame). |
void |
onEnd(long timestamp)
Notifies about the end of the stream. |
void |
onException(long timestamp,
java.lang.Exception e)
Notifies about the occured exception. |
void |
onNotify(java.lang.Object data)
Notifies about the stream's metadata notification. |
void |
onTimeout(long timestamp,
long timeout)
Notifies about the stream timeout, i.e. audio/video/meta data is not received for timeout milliseconds. |
void |
onVideoData(MediaData data)
Notifies about a new video frame (video frame time is time relative to the previous video frame). |
| Method Detail |
|---|
void onAudioData(MediaData data)
data - audio datavoid onVideoData(MediaData data)
data - video datavoid onNotify(java.lang.Object data)
data - meta data or notificationvoid onEnd(long timestamp)
timestamp - time (in milliseconds since stream start)
void onException(long timestamp,
java.lang.Exception e)
timestamp - time (in milliseconds since stream start)e - thrown exception
void onTimeout(long timestamp,
long timeout)
timeout milliseconds.
timestamp - time (in milliseconds since stream start)timeout - timeout (in milliseconds since last frame is received)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||