Sun Microsystems yesterday released version 2.0 of the Java Media Framework application programming interface (API), which is designed to help software developers incorporate streaming audio, video and other media types into Java applications, Sun officials said.
An API provides an interface through which a software program accesses an operating system, and is an essential layer for ensuring code portability. The Java Media Framework (JMF) API, which was developed jointly with IBM, can be used to write programs such as remote sales training or customer service applications that can run on virtually any operating system using a Java-enabled browser.
The new JMF API will be demonstrated at the upcoming Java Business Conference, scheduled to take place December 7-9 in New York City (http://www.javabusinessconference.com).
The new API aims to extend the Java platform by adding more advanced media processing capabilities, including media capture, compression and transmission, and support for media types and codecs like MP3, Flash, Real-time Transport Protocol and Real-time Streaming Protocol (RTP/RTSP), IBM's HotMedia, and Beatnik's Rich Media Format (RMF), Sun said.
JMF API 2.0 also supports media types like QuickTime, Microsoft's AVI format, and MPEG-1. It also includes an "open media architecture" designed to allow developers to access and manipulate various components of the media playback and capture process, such as effects, tracks, and renders, or to make use of their own, custom plug-in components, Sun said.
JMF 2.0 technology is available as an optional package to the Java 2 platform. More information on the Java Media Framework can be found on Sun's Java Media Web pages at http://java.sun.com/products/java-media.