abstractpublic class ABBBasicPlayer implements Player(Code)
BasicPlayer provides basic implementation for the Player methods.
Many of the methods call do to do the actual work that can
be overridden by subclasses.
This one is not among public JSR135 controls,
seems that this is used only for RTSP PLayer.
But its participation in "search-by-name" slows down
all players that use this array for "getControls()".
Checks if user application has all permissions needed to access player
chkClosed
final protected void chkClosed(boolean unrealized)(Code)
Check to see if the Player is closed. If the
unrealized boolean flag is true, check also to
see if the Player is UNREALIZED.
Parameters: unrealized - Description of the Parameter
Subclasses need to implement this to set the media time
of the Player.
Parameters: now - Description of the Parameter Description of the Return Value exception: MediaException - Description of the Exception
Gets the Control that supports the specified
class or interface. The full class
or interface name should be specified.
Null is returned if the Control
is not supported.
Parameters: type - Description of the Parameter Control for the class or interfacename.
public boolean initFromURL(String encodings)(Code)
Initializes Player by Media Encodings obtained from URI and parsed.
To be called by Manager when new player (from URI) is being created.
Parameters: encodings - media encodings in form "key=value", separated by '&'.
Pauses and deallocates all media players.
After this call all players are either in realized
or unrealized state.
Resources are being released during deallocation.
Resumes all media players' activities.
Players that were in STARTED state when pause
was called will resume playing at the media time
they were stopped and deallocated.