public abstract class AbstractDemultiplexer extends AbstractPlugIn implements Demultiplexer
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED
DURATION_UNBOUNDED, DURATION_UNKNOWN
Constructor and Description |
---|
AbstractDemultiplexer() |
Modifier and Type | Method and Description |
---|---|
Time |
getDuration() |
Time |
getMediaTime() |
abstract ContentDescriptor[] |
getSupportedInputContentDescriptors() |
abstract Track[] |
getTracks() |
boolean |
isPositionable() |
boolean |
isRandomAccess() |
Time |
setPosition(Time where,
int rounding) |
abstract void |
setSource(DataSource source) |
void |
start() |
void |
stop() |
close, getName, open, reset
addControl, getControl, getControls, removeControl
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getControl, getControls
public Time getDuration()
getDuration
in interface Demultiplexer
getDuration
in interface Duration
public Time getMediaTime()
getMediaTime
in interface Demultiplexer
public abstract ContentDescriptor[] getSupportedInputContentDescriptors()
getSupportedInputContentDescriptors
in interface Demultiplexer
public abstract Track[] getTracks() throws java.io.IOException, BadHeaderException
getTracks
in interface Demultiplexer
java.io.IOException
BadHeaderException
public boolean isPositionable()
isPositionable
in interface Demultiplexer
public boolean isRandomAccess()
isRandomAccess
in interface Demultiplexer
public Time setPosition(Time where, int rounding)
setPosition
in interface Demultiplexer
public void start() throws java.io.IOException
start
in interface Demultiplexer
java.io.IOException
public void stop()
stop
in interface Demultiplexer
public abstract void setSource(DataSource source) throws java.io.IOException, IncompatibleSourceException
setSource
in interface MediaHandler
java.io.IOException
IncompatibleSourceException