Package com.fluendo.player
Class CortadoPipeline
java.lang.Object
com.fluendo.jst.Object
com.fluendo.jst.Element
com.fluendo.jst.Pipeline
com.fluendo.player.CortadoPipeline
- All Implemented Interfaces:
BusSyncHandler,CapsListener,PadListener
-
Field Summary
FieldsFields 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, SUCCESSFields inherited from class com.fluendo.jst.Object
OBJECT_FLAG_LASTFields inherited from interface com.fluendo.jst.BusSyncHandler
DROP, PASS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbuildOgg()voidcapsChanged(Caps caps) voidenableAudio(boolean b) voidenableKateStream(int idx, String language, String category) Selects the Kate stream to enable, by index (if any), or by language/category.voidenableVideo(boolean b) intintintintReturns the index of the currently enabled Kate stream (negative if none)getUrl()booleanbooleanvoidvoidvoidpadRemoved(Pad pad) voidvoidsetBufferHigh(int size) voidsetBufferLow(int size) voidsetBufferSize(int size) voidvoidsetDocumentBase(URL base) voidsetIgnoreAspect(boolean ignore) voidsetKeepAspect(boolean keep) voidsetPassword(String aPassword) voidvoidMethods inherited from class com.fluendo.jst.Pipeline
add, enumElements, enumSinks, enumSorted, getFactoryName, getState, handleSyncMessage, query, remove, sendEvent, shutDown, useClockMethods inherited from class com.fluendo.jst.Element
abortState, addPad, addPadListener, continueState, enumPads, getBus, getClock, getMime, getPad, getStateName, getStateNext, getStateReturnName, getTransition, getTransitionCurrent, getTransitionNext, lostState, postMessage, removePad, removePadListener, requestSinkPad, setBus, setClock, setState, toString, typeFind
-
Field Details
-
usingJavaX
public boolean usingJavaX
-
-
Constructor Details
-
CortadoPipeline
-
-
Method Details
-
padAdded
- Specified by:
padAddedin interfacePadListener
-
padRemoved
- Specified by:
padRemovedin interfacePadListener
-
noMorePads
public void noMorePads()- Specified by:
noMorePadsin interfacePadListener- Overrides:
noMorePadsin classElement
-
setUrl
-
getUrl
-
setUserId
-
setKeepAspect
public void setKeepAspect(boolean keep) -
setIgnoreAspect
public void setIgnoreAspect(boolean ignore) -
setPassword
-
enableAudio
public void enableAudio(boolean b) -
isAudioEnabled
public boolean isAudioEnabled() -
enableVideo
public void enableVideo(boolean b) -
isVideoEnabled
public boolean isVideoEnabled() -
enableKateStream
Selects the Kate stream to enable, by index (if any), or by language/category. The first Kate stream has index 0, the second has index 1, etc. A negative index and empty language/category strings will enable none. -
getEnabledKateIndex
public int getEnabledKateIndex()Returns the index of the currently enabled Kate stream (negative if none) -
setComponent
-
getComponent
-
setDocumentBase
-
getDocumentBase
-
setBufferSize
public void setBufferSize(int size) -
getBufferSize
public int getBufferSize() -
setBufferLow
public void setBufferLow(int size) -
getBufferLow
public int getBufferLow() -
setBufferHigh
public void setBufferHigh(int size) -
getBufferHigh
public int getBufferHigh() -
resize
-
buildOgg
public boolean buildOgg() -
buildMultipart
public boolean buildMultipart() -
capsChanged
- Specified by:
capsChangedin interfaceCapsListener
-