public abstract class AbstractDemultiplexer extends AbstractPlugIn implements Demultiplexer
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATEDDURATION_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, resetaddControl, getControl, getControls, removeControlclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetControl, getControlspublic Time getDuration()
getDuration in interface DemultiplexergetDuration in interface Durationpublic Time getMediaTime()
getMediaTime in interface Demultiplexerpublic abstract ContentDescriptor[] getSupportedInputContentDescriptors()
getSupportedInputContentDescriptors in interface Demultiplexerpublic abstract Track[] getTracks() throws java.io.IOException, BadHeaderException
getTracks in interface Demultiplexerjava.io.IOExceptionBadHeaderExceptionpublic boolean isPositionable()
isPositionable in interface Demultiplexerpublic boolean isRandomAccess()
isRandomAccess in interface Demultiplexerpublic Time setPosition(Time where, int rounding)
setPosition in interface Demultiplexerpublic void start()
throws java.io.IOException
start in interface Demultiplexerjava.io.IOExceptionpublic void stop()
stop in interface Demultiplexerpublic abstract void setSource(DataSource source) throws java.io.IOException, IncompatibleSourceException
setSource in interface MediaHandlerjava.io.IOExceptionIncompatibleSourceException