Package ch.bailu.gtk.gst
Klasse StreamCollection
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.type.PropertyHolder
ch.bailu.gtk.gst.StreamCollection
- Alle implementierten Schnittstellen:
PointerInterface
A collection of #GstStream that are available.
A #GstStreamCollection will be provided by elements that can make those
streams available. Applications can use the collection to show the user
what streams are available by using %gst_stream_collection_get_stream()
Once posted, a #GstStreamCollection is immutable. Updates are made by sending
a new #GstStreamCollection message, which may or may not share some of
the #GstStream objects from the collection it replaces. The receiver can check
the sender of a stream collection message to know which collection is
obsoleted.
Several elements in a pipeline can provide #GstStreamCollection.
Applications can activate streams from a collection by using the
#GST_EVENT_SELECT_STREAMS event on a pipeline, bin or element.
A #GstStreamCollection will be provided by elements that can make those
streams available. Applications can use the collection to show the user
what streams are available by using %gst_stream_collection_get_stream()
Once posted, a #GstStreamCollection is immutable. Updates are made by sending
a new #GstStreamCollection message, which may or may not share some of
the #GstStream objects from the collection it replaces. The receiver can check
the sender of a stream collection message to know which collection is
obsoleted.
Several elements in a pipeline can provide #GstStreamCollection.
Applications can activate streams from a collection by using the
#GST_EVENT_SELECT_STREAMS event on a pipeline, bin or element.
https://gstreamer.freedesktop.org/documentation/gstreamer/gi-index.html
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenVon Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify
-
Feldübersicht
FelderVon Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungStreamCollection
(PointerContainer pointer) StreamCollection
(Str upstream_id) Create a new #GstStreamCollection.StreamCollection
(String upstream_id) Create a new #GstStreamCollection. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Add the given @stream to the @collection.static ClassHandler
static int
static long
static TypeSystem.TypeSize
int
getSize()
Get the number of streams this collection containsgetStream
(int index) Retrieve the #GstStream with index @index from the collection.static long
static TypeSystem.TypeSize
Returns the upstream id of the @collection.Connect to signal "stream-notify".Von Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrProperty
Von Klasse geerbte Methoden ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnref
Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
SIGNAL_ON_STREAM_NOTIFY
- Siehe auch:
-
-
Konstruktordetails
-
StreamCollection
-
StreamCollection
Create a new #GstStreamCollection.- Parameter:
upstream_id
- The stream id of the parent stream
-
StreamCollection
Create a new #GstStreamCollection.- Parameter:
upstream_id
- The stream id of the parent stream
-
-
Methodendetails
-
getClassHandler
-
addStream
Add the given @stream to the @collection.- Parameter:
stream
- the #GstStream to add- Gibt zurück:
- %TRUE if the @stream was properly added, else %FALSE
-
getSize
public int getSize()Get the number of streams this collection contains- Gibt zurück:
- The number of streams that @collection contains
-
getStream
Retrieve the #GstStream with index @index from the collection.
The caller should not modify the returned #GstStream- Parameter:
index
- Index of the stream to retrieve- Gibt zurück:
- A #GstStream
-
getUpstreamId
Returns the upstream id of the @collection.- Gibt zurück:
- The upstream id
-
onStreamNotify
Connect to signal "stream-notify".
SeeStreamCollection.OnStreamNotify.onStreamNotify(ch.bailu.gtk.gst.Stream, ch.bailu.gtk.gobject.ParamSpec)
for signal description.
FieldSIGNAL_ON_STREAM_NOTIFY
contains original signal name and can be used as resource reference.- Parameter:
signal
- callback function (lambda).- Gibt zurück:
SignalHandler
. Can be used to disconnect signal and to release callback function.
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-