# qtisocketsink

Source: [https://docs.qualcomm.com/doc/80-70022-50/topic/qtisocketsink.html](https://docs.qualcomm.com/doc/80-70022-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<br>                            PAUSED state. |
| *max-lateness* | Adjust the maximum number of nanoseconds that a buffer can be late<br>                            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-70022-50/topic/camera.html#socketsrc-and-socketsink-use-case).

## Pad configuration

| Pad Name | Capabilities | Capabilities |
| --- | --- | --- |
| SINK template: 'sink'<br><br><br>                                <ul class="ul" id="qtisocketsink__ul_dlk_vdp_y1c"><br>                                    <li class="li"><em class="ph i">Availability:</em> Always</li><br><br>                                    <li class="li"><em class="ph i">Direction:</em> sink</li><br><br>                                </ul> | ANY | – |

## Element configuration

Table : Element properties for qtisocketsink

| Property | Description |
| --- | --- |
| name | The name of the object.<ul class="ul" id="qtisocketsink__ul_zmh_vxn_myb"><br>                                    <li class="li">flags: readable, writable</li><br><br>                                    <li class="li">String. Default: "fdsocketsink0"</li><br><br>                                </ul> |
| parent | The parent of the object.<ul class="ul" id="qtisocketsink__ul_anh_vxn_myb"><br>                                    <li class="li">flags: readable, writable</li><br><br>                                    <li class="li">Object of type "GstObject"</li><br><br>                                </ul> |
| sync | Sync on the clock.<ul class="ul" id="qtisocketsink__ul_bnh_vxn_myb"><br>                                    <li class="li">flags: readable, writable</li><br><br>                                    <li class="li">Boolean. Default: true</li><br><br>                                </ul> |
| max-lateness | Maximum number of nanoseconds that a buffer can be late before<br>                                it's dropped (-1 unlimited).<ul class="ul" id="qtisocketsink__ul_cnh_vxn_myb"><br>                                    <li class="li">flags: readable, writable</li><br><br>                                    <li class="li">Integer64. Range: ˗1 to 9223372036854775807, default:<br>                                        ˗1</li><br><br>                                </ul> |
| qos | Generate QoS events upstream.<ul class="ul" id="qtisocketsink__ul_dnh_vxn_myb"><br>                                    <li class="li">flags: readable, writable</li><br><br>                                    <li class="li">Boolean. Default: false</li><br><br>                                </ul> |
| async | Go asynchronously to PAUSED.<ul class="ul" id="qtisocketsink__ul_enh_vxn_myb"><br>                                    <li class="li">flags: readable, writable</li><br><br>                                    <li class="li">Boolean. Default: true</li><br><br>                                </ul> |
| ts-offset | Timestamp offset in nanoseconds.<ul class="ul" id="qtisocketsink__ul_fnh_vxn_myb"><br>                                    <li class="li">flags: readable, writable</li><br><br>                                    <li class="li">Integer64. Range: ˗9223372036854775808 to<br>                                        9223372036854775807, default: 0</li><br><br>                                </ul> |
| enable-last-sample | Enable the last-sample property.<ul class="ul" id="qtisocketsink__ul_gnh_vxn_myb"><br>                                    <li class="li">flags: readable, writable</li><br><br>                                    <li class="li">Boolean. Default: true</li><br><br>                                </ul> |
| last-sample | The last sample that was received in the sink.<ul class="ul" id="qtisocketsink__ul_hnh_vxn_myb"><br>                                    <li class="li">flags: readable</li><br><br>                                    <li class="li">Boxed pointer of type "GstSample"</li><br><br>                                </ul> |
| blocksize | Size in bytes to pull per buffer (0 = default).<ul class="ul" id="qtisocketsink__ul_inh_vxn_myb"><br>                                    <li class="li">flags: readable, writable</li><br><br>                                    <li class="li">Unsigned Integer. Range: 0 - 4294967295 Default: 4096</li><br><br>                                </ul> |
| render-delay | More render delay of the sink in nanoseconds.<ul class="ul" id="qtisocketsink__ul_jnh_vxn_myb"><br>                                    <li class="li">flags: readable, writable</li><br><br>                                    <li class="li">Unsigned Integer64. Range: 0 to 18446744073709551615,<br>                                        default: 0</li><br><br>                                </ul> |
| throttle-time | The time to keep between rendered buffers (0 = disabled).<ul class="ul" id="qtisocketsink__ul_knh_vxn_myb"><br>                                    <li class="li">flags: readable, writable</li><br><br>                                    <li class="li">Unsigned Integer64. Range: 0 to 18446744073709551615,<br>                                        default: 0</li><br><br>                                </ul> |
| max-bitrate | The maximum bits per second to render (0 = disabled).<ul class="ul" id="qtisocketsink__ul_lnh_vxn_myb"><br>                                    <li class="li">flags: readable, writable</li><br><br>                                    <li class="li">Unsigned Integer64. Range: 0 to 18446744073709551615,<br>                                        default: 0</li><br><br>                                </ul> |
| socket | Location of the Unix domain socket.<ul class="ul" id="qtisocketsink__ul_mnh_vxn_myb"><br>                                    <li class="li">flags: readable, writable, changeable only in NULL or READY<br>                                        state</li><br><br>                                    <li class="li">String. Default: null</li><br><br>                                </ul> |

**Parent Topic:** [Configure display, camera, encode and decode plugins](https://docs.qualcomm.com/doc/80-70022-50/topic/display-plugins.html)

Last Published: Feb 20, 2026

[Previous Topic
qtivtransform](https://docs.qualcomm.com/bundle/publicresource/80-70022-50/topics/qtivtransform.md) [Next Topic
qtisocketsrc](https://docs.qualcomm.com/bundle/publicresource/80-70022-50/topics/qtisocketsrc.md)