Methods Summary |
---|
public javax.media.protocol.DataSource | getDataOutput()Gets the output DataSource from this Multiplexer .
The DataSource is returned in the connected state.
The returned DataSource can be a push or pull
DataSource --Push[Pull]DataSource or
Push[Pull]BufferDataSource .
|
public javax.media.Format[] | getSupportedInputFormats()Returns the input formats that this Multiplexer supports. The Format objects
that are returned might be loosely defined. In this case, setInputFormat
should be called with a more specific Format to make sure that the desired
Format is supported by this Multiplexer .
|
public javax.media.protocol.ContentDescriptor[] | getSupportedOutputContentDescriptors(javax.media.Format[] inputs)Lists the output content-descriptors that this Multiplexer supports.
|
public int | process(javax.media.Buffer buffer, int trackID)Processes the input Buffer and multiplexes it with data from other
tracks. The multiplexed output is sent to an output
DataSource .
|
public javax.media.protocol.ContentDescriptor | setContentDescriptor(javax.media.protocol.ContentDescriptor outputContentDescriptor)Sets the output content-type for this Multiplexer .
|
public javax.media.Format | setInputFormat(javax.media.Format format, int trackID)Sets the input Format for the specified track.
|
public int | setNumTracks(int numTracks)Sets the number of input tracks that the Multiplexer can expect
to find in the input stream.
|