# qtisocketsink
Source: [https://docs.qualcomm.com/doc/80-70014-50/topic/qtisocketsink.html](https://docs.qualcomm.com/doc/80-70014-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 (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.
Some of the configurations that can be performed using qtisocketsink:
- The *async* property can be set to false for the sockets to transition
asynchronously to PAUSED state.
- For more advance configuration, the maximum number of nanoseconds that a buffer can
be late before it is dropped can be adjusted via the *max-lateness*
property.
- The maximum bits per second to render can be set with the *max-bitrate*
property.
## 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 and socket use case](https://docs.qualcomm.com/doc/80-70014-50/topic/socketsrc-and-socketsink-use-case.html).
## 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
is dropped (-1 unlimited)
- flags: readable, writable
- Integer64. Range: -1 - 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 | Time stamp offset in nanoseconds
- flags: readable, writable
- Integer64. Range: -9223372036854775808 - 9223372036854775807
Default: 0
|
| enable-last-sample | Enable the last-sample property
- flags: readable, writable
- Boolean. Default: true
|
| last-sample | The last sample 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 | Additional render delay of the sink in nanoseconds
- flags: readable, writable
- Unsigned Integer64. Range: 0 - 18446744073709551615 Default:
0
|
| throttle-time | The time to keep between rendered buffers (0 = disabled)
- flags: readable, writable
- Unsigned Integer64. Range: 0 - 18446744073709551615 Default:
0
|
| max-bitrate | The maximum bits per second to render (0 = disabled)
- flags: readable, writable
- Unsigned Integer64. Range: 0 - 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:** [Qualcomm GST plugins](https://docs.qualcomm.com/doc/80-70014-50/topic/qim-sdk-plugins.html)
Last Published: Oct 27, 2025
[Previous Topic
qtioverlay](https://docs.qualcomm.com/bundle/publicresource/80-70014-50/topics/qtioverlay.md) [Next Topic
qtisocketsrc](https://docs.qualcomm.com/bundle/publicresource/80-70014-50/topics/qtisocketsrc.md)