Java 9:Building Robust Modular Applications
上QQ阅读APP看书,第一时间看更新

Updating JavaFX/Media to newer version of GStreamer [JEP 257]

JavaFX is used for creating desktop and web applications. JavaFX was created to replace Swing as Java's standard GUI library. The Media class, javafx.scene.media.Media, is used to instantiate an object representing a media resource. JavaFX/Media refers to the following class:

    public final class Media extends java.lang.Object

This class provides referential data to a media resource. The javafx.scene.media package provides developers with the ability to incorporate media into their JavaFX applications. JavaFX/Media utilizes a GStreamer pipeline.

GStreamer is a multimedia processing framework that can be used to build systems that take in media from several different formats and, after processing, export them in selected formats.

The purpose of JEP 257 was to ensure JavaFX/Media was updated to include the latest release of GStreamer for stability, performance, and security assurances.