|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface GLMediaPlayer.GLMediaEventListener
As the contract of TexSeqEventListener requests,
implementations of GLMediaPlayer.GLMediaEventListener shall also:
GLMediaPlayer commands on another thread, orGLEventListener implementation.
| Field Summary | |
|---|---|
static int |
EVENT_CHANGE_AID
Stream audio id change. |
static int |
EVENT_CHANGE_BPS
Stream bps change. |
static int |
EVENT_CHANGE_CODEC
Stream codec change. |
static int |
EVENT_CHANGE_EOS
End of stream reached. |
static int |
EVENT_CHANGE_ERR
An error occurred, e.g. |
static int |
EVENT_CHANGE_FPS
Stream fps change. |
static int |
EVENT_CHANGE_INIT
State changed to GLMediaPlayer.State.Initialized. |
static int |
EVENT_CHANGE_LENGTH
Stream length change. |
static int |
EVENT_CHANGE_PAUSE
State changed to GLMediaPlayer.State.Paused. |
static int |
EVENT_CHANGE_PLAY
State changed to GLMediaPlayer.State.Playing. |
static int |
EVENT_CHANGE_SIZE
TextureFrame size or vertical flip change. |
static int |
EVENT_CHANGE_UNINIT
State changed to GLMediaPlayer.State.Uninitialized. |
static int |
EVENT_CHANGE_VID
Stream video id change. |
| Method Summary | |
|---|---|
void |
attributesChanged(GLMediaPlayer mp,
int event_mask,
long when)
|
| Methods inherited from interface com.jogamp.opengl.util.texture.TextureSequence.TexSeqEventListener |
|---|
newFrameAvailable |
| Field Detail |
|---|
static final int EVENT_CHANGE_INIT
GLMediaPlayer.State.Initialized. See Lifecycle.
static final int EVENT_CHANGE_UNINIT
GLMediaPlayer.State.Uninitialized. See Lifecycle.
static final int EVENT_CHANGE_PLAY
GLMediaPlayer.State.Playing. See Lifecycle.
static final int EVENT_CHANGE_PAUSE
GLMediaPlayer.State.Paused. See Lifecycle.
static final int EVENT_CHANGE_EOS
static final int EVENT_CHANGE_ERR
GLMediaPlayer.StreamException and Lifecycle.
static final int EVENT_CHANGE_VID
static final int EVENT_CHANGE_AID
static final int EVENT_CHANGE_SIZE
static final int EVENT_CHANGE_FPS
static final int EVENT_CHANGE_BPS
static final int EVENT_CHANGE_LENGTH
static final int EVENT_CHANGE_CODEC
| Method Detail |
|---|
void attributesChanged(GLMediaPlayer mp,
int event_mask,
long when)
mp - the event sourceevent_mask - the changes attributeswhen - system time in msec.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||