GstMultiHandleSink

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseSink
                    ╰──GstMultiHandleSink

The multisocketsink object structure.


Action Signals

clear

g_signal_emit_by_name (gstmultihandlesink, "clear");
ret = gstmultihandlesink.emit ("clear")
let ret = gstmultihandlesink.emit ("clear");

Remove all sockets from multihandlesink. Since multihandlesink did not open sockets itself, it does not explicitly close the sockets. The application should do so by connecting to the client-socket-removed callback.

Parameters:

gstmultihandlesink (GstElement *)

the multihandlesink element to emit this signal on

Flags: Run Last / Action


Properties

buffers-max

“buffers-max” gint

max number of buffers to queue for a client (-1 = no limit)

Flags : Read / Write

Default value : -1


buffers-min

“buffers-min” gint

min number of buffers to queue (-1 = as few as possible)

Flags : Read / Write

Default value : -1


buffers-queued

“buffers-queued” guint

Number of buffers currently queued

Flags : Read

Default value : 0


buffers-soft-max

“buffers-soft-max” gint

Recover client when going over this limit (-1 = no limit)

Flags : Read / Write

Default value : -1


burst-format

“burst-format” GstFormat *

The format of the burst units (when sync-method is burst[[-with]-keyframe])

Flags : Read / Write

Default value : undefined (0)


burst-value

“burst-value” guint64

The amount of burst expressed in burst-format

Flags : Read / Write

Default value : 0


bytes-min

“bytes-min” gint

min number of bytes to queue (-1 = as little as possible)

Flags : Read / Write

Default value : -1


bytes-served

“bytes-served” guint64

Total number of bytes send to all clients

Flags : Read

Default value : 0


bytes-to-serve

“bytes-to-serve” guint64

Number of bytes received to serve to clients

Flags : Read

Default value : 0


num-handles

“num-handles” guint

The current number of client handles

Flags : Read

Default value : 0


qos-dscp

“qos-dscp” gint

Quality of Service, differentiated services code point (-1 default)

Flags : Read / Write

Default value : -1


recover-policy

“recover-policy” Multi-handle-sink-recover-policy *

How to recover when client reaches the soft max

Flags : Read / Write

Default value : none (0)


resend-streamheader

“resend-streamheader” gboolean

Resend the streamheader if it changes in the caps

Flags : Read / Write

Default value : true


sync-method

“sync-method” GstMultiHandleSinkSyncMethod *

How to sync new clients to the stream

Flags : Read / Write

Default value : latest (0)


time-min

“time-min” gint64

min amount of time to queue (in nanoseconds) (-1 = as little as possible)

Flags : Read / Write

Default value : 18446744073709551615


timeout

“timeout” guint64

Maximum inactivity timeout in nanoseconds for a client (0 = no limit)

Flags : Read / Write

Default value : 0


unit-format

“unit-format” GstFormat *

The unit to measure the max/soft-max/queued properties

Flags : Read / Write

Default value : buffers (4)


units-max

“units-max” gint64

max number of units to queue (-1 = no limit)

Flags : Read / Write

Default value : 18446744073709551615


units-soft-max

“units-soft-max” gint64

Recover client when going over this limit (-1 = no limit)

Flags : Read / Write

Default value : 18446744073709551615


Named constants

Multi-handle-sink-recover-policy

Members
none (0) – Do not try to recover
latest (1) – Resync client to latest buffer
soft-limit (2) – Resync client to soft limit
keyframe (3) – Resync client to most recent keyframe

GstMultiHandleSinkSyncMethod

Members
latest (0) – Serve starting from the latest buffer
next-keyframe (1) – Serve starting from the next keyframe
latest-keyframe (2) – Serve everything since the latest keyframe (burst)
burst (3) – Serve burst-value data to client
burst-keyframe (4) – Serve burst-value data starting on a keyframe
burst-with-keyframe (5) – Serve burst-value data preferably starting on a keyframe

The results of the search are