Package com.fluendo.plugin
Class Selector
java.lang.Object
com.fluendo.jst.Object
com.fluendo.jst.Element
com.fluendo.plugin.Selector
This element receives data from N sinks, and selects one of them
to send from its source.
-
Field Summary
Fields inherited from class com.fluendo.jst.Element
ASYNC, ELEMENT_FLAG_LAST, FAILURE, FLAG_IS_SINK, NO_PREROLL, NONE, PAUSE, PAUSE_PLAY, PAUSE_STOP, PLAY, PLAY_PAUSE, stateReturnNames, STOP, STOP_PAUSE, SUCCESS
Fields inherited from class com.fluendo.jst.Object
OBJECT_FLAG_LAST
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProperty
(String name) requestSinkPad
(Pad peer) Requests a new sink pad to be created for the given peer.boolean
setProperty
(String name, Object value) The selected sink may be selected via the "selected" property - negative to select nothingMethods inherited from class com.fluendo.jst.Element
abortState, addPad, addPadListener, continueState, enumPads, getBus, getClock, getMime, getPad, getState, getStateName, getStateNext, getStateReturnName, getTransition, getTransitionCurrent, getTransitionNext, lostState, noMorePads, postMessage, query, removePad, removePadListener, sendEvent, setBus, setClock, setState, toString, typeFind
-
Constructor Details
-
Selector
public Selector()
-
-
Method Details
-
requestSinkPad
Requests a new sink pad to be created for the given peer. The caps do not matter, as Selector is a caps agnostic element.- Overrides:
requestSinkPad
in classElement
-
setProperty
The selected sink may be selected via the "selected" property - negative to select nothing- Overrides:
setProperty
in classObject
-
getProperty
- Overrides:
getProperty
in classObject
-
getFactoryName
- Specified by:
getFactoryName
in classElement
-