RB.EncoderFactory¶
Subclasses: | None |
---|
Virtual Methods¶
Inherited: | GObject.Object (7) |
---|
do_prepare_sink (uri, sink) |
|
do_prepare_source (uri, source) |
Properties¶
None
Signals¶
Inherited: | GObject.Object (1) |
---|
Name | Short Description |
---|---|
prepare-sink |
Emitted when creating a sink to write to the specified URI. |
prepare-source |
Emitted when creating a source to read the specified URI. |
Class Details¶
-
class
RB.
EncoderFactory
(**kwargs)¶ Bases: GObject.Object
Abstract: No Structure: RB.EncoderFactoryClass
-
classmethod
get
()¶ Returns: the RB.EncoderFactory
Return type: RB.EncoderFactory
Returns the
RB.EncoderFactory
instance.
-
do_prepare_sink
(uri, sink) virtual¶ Parameters: - uri (
str
) – - sink (
GObject.Object
) –
- uri (
-
do_prepare_source
(uri, source) virtual¶ Parameters: - uri (
str
) – - source (
GObject.Object
) –
- uri (
-
classmethod
Signal Details¶
-
RB.EncoderFactory.signals.
prepare_sink
(encoder_factory, uri, sink)¶ Signal Name: prepare-sink
Flags: Parameters: - encoder_factory (
RB.EncoderFactory
) – The object which received the signal - uri (
str
) – the URI for the sink - sink (
GObject.Object
) – the sink object (aGst.Element
in fact)
Emitted when creating a sink to write to the specified URI. Plugins can use this when just creating a GStreamer element from the URI isn’t enough. Typically this happens when there’s no way to pass device information through the URI format.
- encoder_factory (
-
RB.EncoderFactory.signals.
prepare_source
(encoder_factory, uri, source)¶ Signal Name: prepare-source
Flags: Parameters: - encoder_factory (
RB.EncoderFactory
) – The object which received the signal - uri (
str
) – the URI for the source - source (
GObject.Object
) – the source object (aGst.Element
in fact)
Emitted when creating a source to read the specified URI. Plugins can use this when just creating a GStreamer element from the URI isn’t enough. Typically this happens when there’s no way to pass device information through the URI format.
- encoder_factory (