public abstract class AbstractStreamCopyMux extends AbstractMultiplexer
inputFormats, numTracks, outputContentDescriptorBUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED| Constructor and Description |
|---|
AbstractStreamCopyMux(ContentDescriptor contentDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected StreamCopyPushDataSource |
createInputStreamPushDataSource(ContentDescriptor outputContentDescriptor,
int numTracks,
java.io.InputStream[] inputStreams,
Format[] inputFormats) |
DataSource |
getDataOutput() |
abstract Format[] |
getSupportedInputFormats() |
ContentDescriptor[] |
getSupportedOutputContentDescriptors(Format[] inputs) |
void |
open() |
int |
process(Buffer buffer,
int trackID) |
int |
setNumTracks(int numTracks) |
setContentDescriptor, setInputFormatgetName, resetaddControl, getControl, getControls, removeControlclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetControl, getControlspublic AbstractStreamCopyMux(ContentDescriptor contentDescriptor)
public DataSource getDataOutput()
public abstract Format[] getSupportedInputFormats()
public void close()
close in interface PlugInclose in class AbstractPlugInpublic void open()
throws ResourceUnavailableException
open in interface PlugInopen in class AbstractPlugInResourceUnavailableExceptionpublic ContentDescriptor[] getSupportedOutputContentDescriptors(Format[] inputs)
public int process(Buffer buffer, int trackID)
public int setNumTracks(int numTracks)
setNumTracks in interface MultiplexersetNumTracks in class AbstractMultiplexerprotected StreamCopyPushDataSource createInputStreamPushDataSource(ContentDescriptor outputContentDescriptor, int numTracks, java.io.InputStream[] inputStreams, Format[] inputFormats)