Methods Summary |
---|
public javax.media.protocol.ContentDescriptor | getContentDescriptor()Return the output content-type.
if (getState() < Processor.Configured)
throw new NotConfiguredError("getContentDescriptor " + NOT_CONFIGURED_ERROR);
return null;
|
public javax.media.protocol.DataSource | getDataOutput()Return the output DataSource of the Processor. The output DataSource
is the output connection of the Processor through which it
supplies the processed streams.
if (getState() < Realized)
throw new NotRealizedError("getDataOutput cannot be called before the Processor is realized");
return null;
|
public javax.media.protocol.ContentDescriptor[] | getSupportedContentDescriptors()Return all the content-types which this Processor's output supports.
The Processor builds the ContentDescriptor array according
to the input DataSource attached to the Processor and according
to the codecs
and multiplexers installed in the system.
if (getState() < Processor.Configured)
throw new NotConfiguredError("getSupportedContentDescriptors " + NOT_CONFIGURED_ERROR);
return new ContentDescriptor[0];
|
public javax.media.control.TrackControl[] | getTrackControls()Return the tracks in the media. This method can only be called after
the Processor has been configured.
A NotConfiguredError is thrown if
getTrackControls is called and the
Processor is in the Unrealized or
Configuring states.
if (getState() < Processor.Configured)
throw new NotConfiguredError("getTrackControls " + NOT_CONFIGURED_ERROR);
return new TrackControl[0];
|
protected boolean | isConfigurable()A processor is configurable.
return true;
|
public javax.media.protocol.ContentDescriptor | setContentDescriptor(javax.media.protocol.ContentDescriptor ocd)Set the output content-type.
If setContentDescriptor is not called, the
output DataSource's output
will be on individual tracks.
if (getState() < Processor.Configured)
throw new NotConfiguredError("setContentDescriptor " + NOT_CONFIGURED_ERROR);
return ocd;
|