shmsink

shmsink

Properties

guint perms Read / Write
guint shm-size Read / Write
gchar * socket-path Read / Write
gboolean wait-for-connection Read / Write
guint64 buffer-time Read / Write / Construct

Signals

Types and Values

struct GstShmSink

Object Hierarchy

    GObject
    ╰── GstObject
        ╰── GstElement
            ╰── GstBaseSink
                ╰── GstShmSink

Description

Functions

Types and Values

struct GstShmSink

struct GstShmSink;

Property Details

The “perms” property

  “perms”                    guint

Permissions to set on the shm area.

Flags: Read / Write

Allowed values: <= 4095

Default value: 416

The “shm-size” property

  “shm-size”                 guint

Size of the shared memory area.

Flags: Read / Write

Default value: 262144

The “socket-path” property

  “socket-path”              gchar *

The path to the control socket used to control the shared memory transport.

Flags: Read / Write

Default value: NULL

The “wait-for-connection” property

  “wait-for-connection”      gboolean

Block the stream until the shm pipe is connected.

Flags: Read / Write

Default value: TRUE

The “buffer-time” property

  “buffer-time”              guint64

Maximum Size of the shm buffer in nanoseconds (-1 to disable).

Flags: Read / Write / Construct

Default value: 18446744073709551615

Signal Details

The “client-connected” signal

void
user_function (GstShmSink *gstshmsink,
               gint        arg1,
               gpointer    user_data)

Flags: Run Last

The “client-disconnected” signal

void
user_function (GstShmSink *gstshmsink,
               gint        arg1,
               gpointer    user_data)

Flags: Run Last