# qtisocketsink
Source: [https://docs.qualcomm.com/doc/80-70018-50/topic/qtisocketsink.html](https://docs.qualcomm.com/doc/80-70018-50/topic/qtisocketsink.html)
The qtisocketsink plugin uses UNIX sockets to transfer file descriptor (FD) backed
[GstBuffers](https://gstreamer.freedesktop.org/documentation/gstreamer/gstbuffer.html) to other processes with qtisocketsrc as
the entry point.
The qtisocketsink plugin requires a UNIX domain socket file (which should have the
extension of .sock) to be passed as the *socket* property to transfer the FD.
The buffers passed from the other process to this plugin are tracked with a reference
counter, which is incremented or decremented accordingly when the buffers are sent or
returned through the socket.
The following are some of the configurations that can be performed using
qtisocketsink:
Table : Configuration properties of qtisocketsink
| Property | Configuration |
| :--- | :--- |
| *async* | Set to false for the sockets to transition asynchronously to the
PAUSED state. |
| *max-lateness* | Adjust the maximum number of nanoseconds that a buffer can be late
before it's dropped. |
| *max-bitrate* | Set the maximum bits per second to render. |
## Inheritance chain
[GObject](https://docs.gtk.org/gobject/) → [GstObject](https://gstreamer.freedesktop.org/documentation/gstreamer/gstobject.html?gi-language=c) → [GstElement](https://gstreamer.freedesktop.org/documentation/gstreamer/gstelement.html?gi-language=c) → [GstBaseSink](https://gstreamer.freedesktop.org/documentation/base/gstbasesink.html?gi-language=c) → GstFdSocketSink
The following tables provide information on pad templates and element properties of
qtisocketsink. For use cases, see [Single camera stream with socket](https://docs.qualcomm.com/doc/80-70018-50/topic/camera.html#socketsrc-and-socketsink-use-case).
## Pad configuration
| Pad Name | Capabilities | Capabilities |
| --- | --- | --- |
| SINK template: 'sink'
- Availability: Always
- Direction: sink
| ANY | – |
## Element configuration
Table : Element properties for qtisocketsink
| Property | Description |
| --- | --- |
| name | The name of the object.
- flags: readable, writable
- String. Default: "fdsocketsink0"
|
| parent | The parent of the object.
- flags: readable, writable
- Object of type "GstObject"
|
| sync | Sync on the clock.
- flags: readable, writable
- Boolean. Default: true
|
| max-lateness | Maximum number of nanoseconds that a buffer can be late before
it's dropped (-1 unlimited).
- flags: readable, writable
- Integer64. Range: ˗1 to 9223372036854775807, default:
˗1
|
| qos | Generate QoS events upstream.
- flags: readable, writable
- Boolean. Default: false
|
| async | Go asynchronously to PAUSED.
- flags: readable, writable
- Boolean. Default: true
|
| ts-offset | Timestamp offset in nanoseconds.
- flags: readable, writable
- Integer64. Range: ˗9223372036854775808 to
9223372036854775807, default: 0
|
| enable-last-sample | Enable the last-sample property.
- flags: readable, writable
- Boolean. Default: true
|
| last-sample | The last sample that was received in the sink.
- flags: readable
- Boxed pointer of type "GstSample"
|
| blocksize | Size in bytes to pull per buffer (0 = default).
- flags: readable, writable
- Unsigned Integer. Range: 0 - 4294967295 Default: 4096
|
| render-delay | More render delay of the sink in nanoseconds.
- flags: readable, writable
- Unsigned Integer64. Range: 0 to 18446744073709551615,
default: 0
|
| throttle-time | The time to keep between rendered buffers (0 = disabled).
- flags: readable, writable
- Unsigned Integer64. Range: 0 to 18446744073709551615,
default: 0
|
| max-bitrate | The maximum bits per second to render (0 = disabled).
- flags: readable, writable
- Unsigned Integer64. Range: 0 to 18446744073709551615,
default: 0
|
| socket | Location of the Unix domain socket.
- flags: readable, writable, changeable only in NULL or READY
state
- String. Default: null
|
**Parent Topic:** [Configure display, camera, encode and decode plugins](https://docs.qualcomm.com/doc/80-70018-50/topic/display-plugins.html)
Last Published: Jan 30, 2026
[Previous Topic
qtivtransform](https://docs.qualcomm.com/bundle/publicresource/80-70018-50/topics/qtivtransform.md) [Next Topic
qtisocketsrc](https://docs.qualcomm.com/bundle/publicresource/80-70018-50/topics/qtisocketsrc.md)