fallbacksrc

Live source with uridecodebin3 or custom source, and fallback image stream

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBin
                    ╰──fallbacksrc

Implemented interfaces

Factory details

Authors: – Sebastian Dröge

Classification:Generic/Source

Rank – none

Plugin – fallbackswitch

Package – gst-plugin-fallbackswitch

Pad Templates

audio

ANY

Presencesometimes

Directionsrc

Object typeGstPad


video

ANY

Presencesometimes

Directionsrc

Object typeGstPad


Signals

update-uri

gchararray
update_uri_callback (GstElement * param_0,
                     gchararray arg0,
                     gpointer udata)
def update_uri_callback (param_0, arg0, udata):
    #python callback for the 'update-uri' signal
function update_uri_callback(param_0: GstElement * param_0, arg0: gchararray arg0, udata: gpointer udata): {
    // javascript callback for the 'update-uri' signal
}

Parameters:

param_0
No description available
arg0
No description available
udata
No description available
Returns (gchararray)
No description available

Flags: Run Last


Action Signals

unblock

g_signal_emit_by_name (param_0, "unblock");
ret = param_0.emit ("unblock")
let ret = param_0.emit ("unblock");

Parameters:

param_0 (GstElement *)
No description available

Flags: Run Last / Action


Properties

buffer-duration

“buffer-duration” gint64

Buffer duration when buffering streams (-1 default value)

Flags : Read / Write

Default value : 18446744073709551615


enable-audio

“enable-audio” gboolean

Enable the audio stream, this will output silence if there's no audio in the configured URI

Flags : Read / Write

Default value : true


enable-video

“enable-video” gboolean

Enable the video stream, this will output black or the fallback video if there's no video in the configured URI

Flags : Read / Write

Default value : true


fallback-audio-caps

“fallback-audio-caps” GstCaps *

Raw audio caps for fallback stream

Flags : Read / Write

Default value :

ANY

fallback-uri

“fallback-uri” gchararray

Fallback URI to use for video in case the main stream doesn't work

Flags : Read / Write

Default value : NULL


fallback-video-caps

“fallback-video-caps” GstCaps *

Raw video caps for fallback stream

Flags : Read / Write

Default value :

ANY

immediate-fallback

“immediate-fallback” gboolean

Forward the fallback streams immediately at startup, when the primary streams are slow to start up and immediate output is required

Flags : Read / Write

Default value : false


manual-unblock

“manual-unblock” gboolean

When enabled, the application must call the unblock signal, except for live streams

Flags : Read / Write

Default value : false


min-latency

“min-latency” guint64

When the main source has a higher latency than the fallback source this allows to configure a minimum latency that would be configured if initially the fallback is enabled

Flags : Read / Write

Default value : 0


restart-on-eos

“restart-on-eos” gboolean

Restart source on EOS

Flags : Read / Write

Default value : false


restart-timeout

“restart-timeout” guint64

Timeout for restarting an active source

Flags : Read / Write

Default value : 5000000000


retry-timeout

“retry-timeout” guint64

Timeout for stopping after repeated failure

Flags : Read / Write

Default value : 60000000000


source

“source” GstElement *

Source to use instead of the URI

Flags : Read / Write


statistics

“statistics” GstStructure *

Various statistics

Flags : Read

Default value :

application/x-fallbacksrc-stats, num-retry=(guint64)0, last-retry-reason=(GstFallbackSourceRetryReason)none, buffering-percent=(int)100;

status

“status” Fallback-source-status *

Current source status

Flags : Read

Default value : stopped (0)


timeout

“timeout” guint64

Timeout for switching to the fallback URI

Flags : Read / Write

Default value : 5000000000


uri

“uri” gchararray

URI to use

Flags : Read / Write

Default value : NULL


Named constants

Fallback-source-status

Members

stopped (0) – Stopped
buffering (1) – Buffering
retrying (2) – Retrying
running (3) – Running

The results of the search are