| Top |
| guint | perms | Read / Write |
| guint | shm-size | Read / Write |
| gchar * | socket-path | Read / Write |
| gboolean | wait-for-connection | Read / Write |
| gint64 | buffer-time | Read / Write / Construct |
GObject
╰── GInitiallyUnowned
╰── GstObject
╰── GstElement
╰── GstBaseSink
╰── GstShmSink
Send data over shared memory to the matching source.
1 |
gst-launch-1.0 -v videotestsrc ! shmsink socket-path=/tmp/blah shm-size=1000000 |
“perms” property “perms” guint
Permissions to set on the shm area.
Flags: Read / Write
Allowed values: <= 4095
Default value: 416
“shm-size” property “shm-size” guint
Size of the shared memory area.
Flags: Read / Write
Default value: 67108864
“socket-path” property “socket-path” gchar *
The path to the control socket used to control the shared memory transport. This may be modified during the NULL->READY transition.
Flags: Read / Write
Default value: NULL
“wait-for-connection” property “wait-for-connection” gboolean
Block the stream until the shm pipe is connected.
Flags: Read / Write
Default value: TRUE
“client-connected” signalvoid user_function (GstShmSink *gstshmsink, gint arg1, gpointer user_data)
Flags: Run Last
“client-disconnected” signalvoid user_function (GstShmSink *gstshmsink, gint arg1, gpointer user_data)
Flags: Run Last