|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FrameControl
This interface provides single frame move control for a Player presenting video, for example an MPEG video stream. This control SHALL be added to any JMF Player presenting a video stream where trick modes can be applied.
Field Summary | |
---|---|
static boolean |
FORWARD
Indicates a frame move in a forward direction in the stream. |
static boolean |
REVERSE
Indicates a frame move in a reverse direction in the stream. |
Method Summary | |
---|---|
boolean |
move(boolean direction)
Moves one frame in a video stream. |
Methods inherited from interface javax.media.Control |
---|
getControlComponent |
Field Detail |
---|
static final boolean FORWARD
static final boolean REVERSE
Method Detail |
---|
boolean move(boolean direction)
If the parameter is FORWARD then the Player SHALL move forward in the stream to the next suitable frame, assuming there is one following the current location (i.e. there is a suitable frame between the current location and the end of the content). If the stream is an MPEG video stream, the next suitable frame is the next I or P frame, whichever is closest.
If the parameter is REVERSE then the Player SHALL move in reverse to the previous suitable frame, assuming there is one before the current location. If the stream is an MPEG video stream the previous suitable frame is the previous I frame.
direction
- The direction to move.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |