Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization
by Alejandro Terrazas, John Ostuni, Michael Barlow
It's All About Control
The various objects provided by the JMF such as Players, Processors, DataSources, DataSinks, and plug-ins have complex and configurable behavior. For instance, it is desirable to allow the frame that a Player starts playing from to be set, or the bit rate for a codec to be specified. The JMF provides a uniform model for controlling the behavior of objects through the Control interface.
Many JMF objects expose Control objects through accessor (get) methods. These can be obtained and used to alter the behavior of the associated objects. Indeed, there is an interface known as Controls that many objects implement as a uniform means of providing Control objects that specify their behavior.
Hence the standard approach in tailoring ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access