public class JAWTRenderer extends AbstractRenderer<javax.media.format.VideoFormat> implements javax.media.renderer.VideoRenderer
inputFormatEMPTY_CONTROLS| Constructor and Description |
|---|
JAWTRenderer()
Initializes a new JAWTRenderer instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this PlugIn and releases the resources it has retained
during its execution.
|
Rectangle |
getBounds()
Gets the region in the component of this VideoRenderer where the
video is rendered.
|
Component |
getComponent()
Gets the AWT Component into which this VideoRenderer
draws.
|
long |
getHandle()
Gets the handle to the native counterpart of this JAWTRenderer.
|
Object |
getHandleLock()
Gets the Object which synchronizes the access to the handle to
the native counterpart of this JAWTRenderer.
|
String |
getName()
Gets the human-readable name of this PlugIn.
|
javax.media.Format[] |
getSupportedInputFormats()
Gets the list of input Formats supported by this
Renderer.
|
void |
open()
Opens this PlugIn and acquires the resources that it needs to
operate.
|
int |
process(javax.media.Buffer buffer)
Processes the data provided in a specific Buffer and renders it
to the output device represented by this Renderer.
|
void |
setBounds(Rectangle bounds)
Sets the region in the component of this VideoRenderer where the
video is to be rendered.
|
boolean |
setComponent(Component component)
Sets the AWT Component into which this VideoRenderer is
to draw.
|
javax.media.Format |
setInputFormat(javax.media.Format format)
Sets the Format of the input to be processed by this
Renderer.
|
void |
start()
Starts the rendering process.
|
void |
stop()
Stops the rendering process.
|
reset, useThreadPrioritygetControlsgetControl, getControl, queryInterface, queryInterfacepublic void close()
close in interface javax.media.PlugInpublic Rectangle getBounds()
getBounds in interface javax.media.renderer.VideoRendererpublic Component getComponent()
getComponent in interface javax.media.renderer.VideoRendererpublic long getHandle()
public Object getHandleLock()
public String getName()
getName in interface javax.media.PlugInpublic javax.media.Format[] getSupportedInputFormats()
getSupportedInputFormats in interface javax.media.Rendererpublic void open()
throws javax.media.ResourceUnavailableException
open in interface javax.media.PlugInjavax.media.ResourceUnavailableException - if there is a problem during openingpublic int process(javax.media.Buffer buffer)
process in interface javax.media.Rendererbuffer - a Buffer containing the data to be processed and
renderedpublic void setBounds(Rectangle bounds)
setBounds in interface javax.media.renderer.VideoRendererbounds - the region in the component of this VideoRenderer
where the video is to be rendered; null if the entire component
is to be usedpublic boolean setComponent(Component component)
setComponent in interface javax.media.renderer.VideoRenderercomponent - the AWT Component into which this
VideoRenderer is to drawpublic javax.media.Format setInputFormat(javax.media.Format format)
setInputFormat in interface javax.media.RenderersetInputFormat in class AbstractRenderer<javax.media.format.VideoFormat>format - the Format to be set as the Format of the
input to be processed by this Rendererpublic void start()
start in interface javax.media.Rendererpublic void stop()
stop in interface javax.media.RendererCopyright © 2021 jitsi.org. All rights reserved.