giostreamsink

giostreamsink — Write to any GIO stream

Properties

GOutputStream * stream Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GstObject
            ╰── GstElement
                ╰── GstBaseSink
                    ╰── GstGioBaseSink
                        ╰── GstGioStreamSink

Description

This plugin writes incoming data to a custom GIO GOutputStream.

It can, for example, be used to write a stream to memory with a GMemoryOuputStream or to write to a file with a GFileOuputStream.

Example code

The following example writes the received data to a GMemoryOutputStream.

1

Synopsis

Element Information

plugin

gio

author

Sebastian Dröge <sebastian.droege@collabora.co.uk>

class

Sink

Element Pads

name

sink

direction

sink

presence

always

details

ANY

Functions

Types and Values

struct GstGioStreamSink

struct GstGioStreamSink;

Opaque data structure.

Property Details

The “stream” property

  “stream”                   GOutputStream *

Stream to write to.

Flags: Read / Write