Top Description Fields Constructors Methods
com.sun.media.jfxmediaimpl.platform.gstreamer

pack-priv final Class GSTMedia

extends NativeMedia
Class Inheritance
Imports
com.sun.media.jfxmedia.Media, .MediaError, com.sun.media.jfxmedia.locator.Locator, com.sun.media.jfxmediaimpl.MediaUtils, .NativeMedia, com.sun.media.jfxmediaimpl.platform.Platform

GStreamer implementation of Media

Field Summary

Modifier and TypeField and Description
private final Object
markerMutex

Synchronization mutex for markers.

protected long
refNativeMedia

Handle to the native media player.

Inherited from com.sun.media.jfxmediaimpl.NativeMedia:
listenerLockmarkerListenersmarkerLockmarkersByNamemarkersByTime

Constructor Summary

AccessConstructor and Description
pack-priv
GSTMedia(Locator locator)

Method Summary

Modifier and TypeMethod and Description
public synchronized void
pack-priv long
public Platform
private native void
gstDispose(long refNativeMedia)

private native int

Returns:

A handle to the native peer of the media.
gstInitNativeMedia
(Locator
Media location as a Locator object.
locator
,
String contentType, long sizeHint, long[] nativeMediaHandle)

Initialize the native peer of this Media.

private void
init()

Inherited from com.sun.media.jfxmediaimpl.NativeMedia:
addMarkeraddTrackgetMarkersremoveAllMarkersremoveMarker

Field Detail

markerMutexback to summary
private final Object markerMutex

Synchronization mutex for markers.

refNativeMediaback to summary
protected long refNativeMedia

Handle to the native media player.

Constructor Detail

GSTMediaback to summary
pack-priv GSTMedia(Locator locator)

Method Detail

disposeback to summary
public synchronized void dispose()

Implements abstract com.sun.media.jfxmediaimpl.NativeMedia.dispose.

Annotations
@Override
getNativeMediaRefback to summary
pack-priv long getNativeMediaRef()
getPlatformback to summary
public Platform getPlatform()

Implements abstract com.sun.media.jfxmediaimpl.NativeMedia.getPlatform.

Annotations
@Override
gstDisposeback to summary
private native void gstDispose(long refNativeMedia)
gstInitNativeMediaback to summary
private native int gstInitNativeMedia(Locator locator, String contentType, long sizeHint, long[] nativeMediaHandle)

Initialize the native peer of this Media.

Parameters
locator:Locator

Media location as a Locator object.

Returns:int

A handle to the native peer of the media.

initback to summary
private void init()